|
AdventNet Web NMS 4 DMS API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.adventnet.nms.rta.fw.client.ProbePanel
This will acts as the RTA UI's Probe List Holder class. This is responsible for notifying the RTA UI implementation about the changes/modification done on the Probe panel, i.e if any attribute is added/deleted/modified using the buttons provided in this component, the same will be notified to the ProbePanelActions lisetener. Also this will notify the RTA Data model component about the selection/deselection/updation of the nodes in the tree.
| Field Summary | |
javax.swing.JButton |
addButton
|
javax.swing.JButton |
copyButton
|
javax.swing.JButton |
cutButton
|
boolean |
enableCutCopyPaste
|
javax.swing.JPopupMenu |
folderPopup
|
javax.swing.JPopupMenu |
leafPopup
|
javax.swing.JButton |
pasteButton
|
javax.swing.JMenuItem |
pMenu
|
| Constructor Summary | |
ProbePanel()
|
|
ProbePanel(java.applet.Applet applet)
|
|
| Method Summary | |
void |
addProbePanelListener(ProbePanelListener moduleUI)
This method will be used to (Right hand side) register moduleUI which implemented the ProbePanelListenere interface with the ProbePanel for getting the notification about the selection/deselection/modification. |
boolean |
applyToServer()
This method is called on the actionPerformed event of the button Apply on the Right hand side moduleUI. |
void |
destroy()
This is the ParameterChangeListener interface method implementation. |
void |
dispose()
This method is called by Right hand side moduleUI in the implementation of dispose method of ApplyToServerInterface |
void |
enableControllPanel(boolean enable)
This method is to enable/disable some of the UI components based on the selection/operation. |
void |
fireProbeSelectionChanged()
This will be called whenever the change of probe selection happens. |
java.lang.String |
getParameter(java.lang.String input)
This will be created by the Bean Builder, as this is the builder project. |
void |
init()
This will be created by the Bean Builder, as this is the builder project. |
void |
initialize()
This method is used to intialize the ProbePanel |
void |
initVariables()
This will be created by the Bean Builder, as this is the builder project. |
boolean |
isNeedsToBeApplied()
This method is used by (Right hand side) moduleUI in the imeplentation of method isModified of ApplyToServerInterface |
void |
parameterChanged(com.adventnet.apiutils.ParameterObject paramObj)
This is the ParameterChangeListener interface method implementation. |
void |
registerForActions(ProbePanelActions notify)
This method will be used by (Right hand side) moduleUI to set the adpater for receiveing notifications of actions in the ProbePanel |
void |
removeControlPanel()
This method is to disable the UI component, which has the probes list in it. |
void |
setConstraints(int x,
int y,
int width,
int height,
double wtX,
double wtY,
int anchor,
int fill,
java.awt.Insets inset,
int padX,
int padY)
This will be created by the Bean Builder, as this is the builder project. |
void |
setControllPanelDisplay(int type)
This method is to enable/disable some of the UI components based on the selection/operation. |
void |
setDefaultSelection()
This method is to set the default selection in the probelist tree. |
void |
setEnableCutCopyPasteMenu(boolean enable)
|
void |
setModuleResourceBundle(com.adventnet.nms.rta.fw.client.BuilderResourceBundle moduleResourceBundle)
This method will be used to set the Resourcebundle of the custom module, so that the 'values' of the i18 keys can be obtained from that bundle. |
void |
setParameterObject(com.adventnet.apiutils.ParameterObject paramObj)
This is the ParameterChangeListener interface method implementation. |
void |
setProbeDataModel(AbstractRTADataModel moduleData)
This method will be used to set the DataModel impelemted for (Right hand side) moduleUI |
void |
setProperties(java.util.Properties props)
This will be created by the Bean Builder, as this is the builder project. |
void |
setTitle(java.lang.String title)
This method is used to set the title displayed in the ProbePanel Component |
void |
setUpConnections()
This will be created by the Bean Builder, as this is the builder project. |
void |
setUpGUI(java.awt.Container container)
This will be created by the Bean Builder, as this is the builder project. |
void |
setUpProperties()
This will be created by the Bean Builder, as this is the builder project. |
void |
setVisibleCustomizeView(boolean flag)
This is to anable/disable the 'CustomizeView' button. |
int |
showConfirmation(java.lang.String title,
java.lang.String message,
java.lang.String details,
int optionType)
This is to show the confirmation dialog. |
void |
showDialog(RTAException exp)
This is to show the status/error dialog. |
void |
showDialog(java.lang.String title,
java.lang.String message,
java.lang.String[] values,
java.lang.String details,
int optionType)
This is to show the status/error dialog. |
void |
showDialog(java.lang.String title,
java.lang.String message,
java.lang.String details,
int optionType)
This is to show the status/error dialog. |
void |
showStatus(java.lang.String message)
This will be created by the Bean Builder, as this is the builder project. |
void |
showStatus(java.lang.String message,
java.lang.Exception ex)
This will be created by the Bean Builder, as this is the builder project. |
void |
start()
This will be created by the Bean Builder, as this is the builder project. |
void |
stop()
This will be created by the Bean Builder, as this is the builder project. |
void |
updateCustomViewIcon()
This method is to update the icon associated with the probe name in the probepanel tree, this is applicable only for the MultiObjectModel. |
| Field Detail |
public javax.swing.JButton addButton
public javax.swing.JButton cutButton
public javax.swing.JButton copyButton
public javax.swing.JButton pasteButton
public javax.swing.JPopupMenu leafPopup
public javax.swing.JPopupMenu folderPopup
public javax.swing.JMenuItem pMenu
public boolean enableCutCopyPaste
| Constructor Detail |
public ProbePanel()
public ProbePanel(java.applet.Applet applet)
| Method Detail |
public void stop()
public void setEnableCutCopyPasteMenu(boolean enable)
public void start()
public void init()
public java.lang.String getParameter(java.lang.String input)
public void setUpProperties()
public void initVariables()
public void setUpGUI(java.awt.Container container)
public void setUpConnections()
public void showStatus(java.lang.String message)
public void showStatus(java.lang.String message,
java.lang.Exception ex)
public void setProperties(java.util.Properties props)
public void parameterChanged(com.adventnet.apiutils.ParameterObject paramObj)
public void destroy()
public void setParameterObject(com.adventnet.apiutils.ParameterObject paramObj)
public void setConstraints(int x,
int y,
int width,
int height,
double wtX,
double wtY,
int anchor,
int fill,
java.awt.Insets inset,
int padX,
int padY)
public void addProbePanelListener(ProbePanelListener moduleUI)
moduleUI - the DataPanel UI componentpublic void setProbeDataModel(AbstractRTADataModel moduleData)
dataModel - data model used in the RTA UI implementation, the data model value should either be the instance of \"DefaultSingleObjectModel\" or \"DefultMultiObjectModel\" class.public void registerForActions(ProbePanelActions notify)
notify - ProbePanelActions instance, using which the pre/post probe modification notification can be notified.public void initialize()
public boolean isNeedsToBeApplied()
public boolean applyToServer()
public void fireProbeSelectionChanged()
public void showDialog(java.lang.String title,
java.lang.String message,
java.lang.String[] values,
java.lang.String details,
int optionType)
public void showDialog(java.lang.String title,
java.lang.String message,
java.lang.String details,
int optionType)
public void showDialog(RTAException exp)
public int showConfirmation(java.lang.String title,
java.lang.String message,
java.lang.String details,
int optionType)
public void enableControllPanel(boolean enable)
public void removeControlPanel()
public void setDefaultSelection()
public void setModuleResourceBundle(com.adventnet.nms.rta.fw.client.BuilderResourceBundle moduleResourceBundle)
moduleResourceBundle - Resource bundle of the custom modulepublic void setControllPanelDisplay(int type)
public void updateCustomViewIcon()
public void setVisibleCustomizeView(boolean flag)
public void dispose()
public void setTitle(java.lang.String title)
title - title string of the Probe Panel.
|
AdventNet Web NMS 4 DMS API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||