|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.adventnet.nms.startclient.AbstractBaseNmsPanel
com.adventnet.nms.startclient.NmsCustomPanel
public abstract class NmsCustomPanel
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
javax.swing.JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
javax.swing.JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
int |
alignment
|
protected java.util.Vector |
allPropertyVector
|
javax.swing.JApplet |
applet
|
protected java.lang.String |
argumentForMainPanel
|
protected java.util.Properties |
attributeList
|
protected com.adventnet.nms.startclient.PageLengthCombo |
c
|
protected CustomClient |
cclient
|
protected java.util.Vector |
choiceElementsVector
|
protected boolean |
choiceRequired
|
protected java.lang.String |
columnsToRenderer
|
static long |
dateDiff
|
protected java.lang.String |
direction
|
protected java.lang.String |
displayType
|
protected java.util.Hashtable |
displayTypeVsColumns
|
NmsMenuItem |
doubleClickMenuItem
|
protected java.lang.String |
endSpecification
|
protected java.util.Hashtable |
endSpecificationHash
|
protected java.util.Properties |
filterProp
|
protected java.util.Hashtable |
filterprophash
|
protected javax.swing.JButton |
firstbutton
|
protected javax.swing.ImageIcon[] |
imageIcons
|
static java.lang.String |
jan1_98
|
protected java.lang.String |
keyForIncrements
|
protected javax.swing.JButton |
lastbutton
|
protected javax.swing.JLabel |
List_label
|
protected java.util.Hashtable |
menu_ht
|
protected javax.swing.JMenuBar |
menuBar
|
protected java.util.Vector |
menusVector
|
protected javax.swing.JCheckBox |
minButton
|
protected javax.swing.JLabel |
minusLabel
|
protected javax.swing.JButton |
nextbutton
|
protected boolean |
nextprevButtonRequired
|
protected javax.swing.JPanel |
p
|
protected java.lang.String |
panelkey
|
java.util.Hashtable |
panelVsOperatorKey
|
java.util.Hashtable |
panelVsSearchKey
|
java.lang.String |
parentNameInTreeView
|
protected java.lang.String |
popupmenu
|
protected java.lang.String |
preferredDirection
|
protected int |
preferredViewLength
|
protected javax.swing.JButton |
previousbutton
|
int |
prevValues1
|
int |
prevValues2
|
protected java.util.Hashtable |
proplisthash
|
protected javax.swing.JLabel |
rangeLabel
|
javax.swing.JPanel |
rangePanel
|
protected javax.swing.JTextField |
rangeTextField1
|
protected javax.swing.JTextField |
rangeTextField2
|
protected java.util.Vector |
removedCvs
|
protected boolean |
reorderColumns
|
protected java.lang.String |
retValueOfHandleEvent
|
protected Search |
search
|
protected java.util.Vector |
SearchElements
|
static java.util.Hashtable |
searchHistory
|
static java.util.Vector |
searchHistoryVector
|
protected java.util.Hashtable |
selectedRowsHash
|
protected javax.swing.JButton |
showallbutton
|
protected java.util.Properties |
shownProperties
|
protected java.util.Hashtable |
sortColumnHash
|
protected java.lang.String |
sortOrderColumn
|
protected java.lang.String |
sortOrderDir
|
protected boolean |
started
|
protected javax.swing.JButton |
stopButton
|
protected boolean |
stopButtonRequired
|
protected boolean |
temporaryFilterOn
|
protected javax.swing.JTextField |
tf
|
protected javax.swing.JPanel |
topPanel
|
protected javax.swing.JLabel |
totallabel
|
protected int |
totalLength
|
protected java.util.Hashtable |
totalLengthHash
|
protected java.util.Vector |
treelist
|
static java.util.Hashtable |
typeVsName
|
int |
viewLength
|
protected java.util.Hashtable |
viewLengthHash
|
| Fields inherited from class com.adventnet.nms.startclient.AbstractBaseNmsPanel |
|---|
tree_popup_menus, treePopupMenuName |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
NmsCustomPanel()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
The default implementation of the ActionListener method. |
java.lang.String |
addNewFilter(java.util.Properties p,
java.lang.String nameoffilter)
|
java.lang.String |
addNewFilter(java.util.Properties p,
java.lang.String nameoffilter,
java.lang.String parentleaf)
|
java.lang.String |
addNewFilter(java.util.Properties prop,
java.lang.String nameOfFilter,
java.lang.String parentleaf,
boolean sync)
This method adds or modifies a Custom View with the name nameOfFilter. |
java.lang.String |
addNewFilter(java.util.Properties prop,
java.lang.String nameOfFilter,
java.lang.String parentleaf,
boolean sync,
boolean isTabView)
|
java.lang.String |
addNewTempFilter(java.util.Properties prop,
java.lang.String filterName,
java.lang.String parentNodeId,
boolean addToTree)
|
abstract void |
addObjects(java.util.Vector obvector)
|
protected void |
addShowAllButton()
|
void |
addTempToTree(java.lang.String filterID,
java.lang.String parent,
java.util.Properties attributeList,
java.util.Properties criteriaProps,
boolean addToTree)
|
void |
addToRemovedCvs(java.lang.String viewId)
|
void |
addToTreeView(java.lang.String disp)
|
void |
addToTreeView(java.lang.String disp,
java.lang.String parent)
|
void |
addToTreeView(java.util.Vector v)
|
protected void |
addToViewIdList()
|
protected static void |
adjustDate()
|
void |
adjustTheEdges(java.lang.String edge)
|
void |
busyCursor()
change to busy cursor |
abstract void |
changeColumnsOfTable(java.lang.String displayType,
java.lang.String tableColumns)
|
void |
changeTheTreeView(java.lang.String disp)
|
boolean |
checkMenuFile(java.lang.String menuName)
|
static long |
correctTimeInLong(long li)
This method can be called to give the correct date in long if the browser date and the server dates do not match This should be called before the browser tries to convert evt.time to string format and shows it on screen |
void |
correctTotalNumbers(NmsTableModelEvent tableModelEvent)
|
abstract void |
createMenuBar()
|
abstract void |
customizeThePanel()
|
void |
destroy()
destroy the panel |
protected void |
doRefresh()
|
abstract void |
doTheUpdate(NmsTableModelEvent event)
|
void |
focusGained(java.awt.event.FocusEvent e)
|
void |
focusLost(java.awt.event.FocusEvent e)
|
int |
getAlignment(java.lang.String align)
This method returns the alignment on which the ListView instance to be aligned. |
protected void |
getAndSetSortColumn()
This method sets the column on which a list panel has to be sorted and stores the information as a record of (column#,order) in sortColumnHash HashTable. |
java.util.Properties |
getCustomViewPropertiesSync(java.lang.String viewName)
This method returns the properties of the Custom View with the name viewName. |
java.lang.String |
getDisplayName(java.lang.String str)
|
java.lang.String |
getDisplayType()
|
java.lang.String |
getEndSpecification()
|
java.util.Properties |
getFilterProp()
|
java.util.Properties |
getFilterProp(java.lang.String fname)
|
javax.swing.JFrame |
getFrame(java.awt.Component comp)
|
javax.swing.JMenuBar |
getPanelMenuBar()
Get the MenuBar for this panel |
java.util.Hashtable |
getPanelVsOperatorKey()
|
java.util.Hashtable |
getPanelVsSearchKey()
|
java.util.Properties |
getParameters(java.lang.String doc)
|
static java.util.Vector |
getSearchHistory(java.lang.String searchString)
|
abstract java.lang.String |
getTableColumnWidths()
|
int |
getTotalLength()
|
int |
getViewLength()
|
XMLNode |
getXMLNode(java.lang.String nodeID)
|
XMLNode |
getXMLNode(XMLNode parent,
java.lang.String match)
|
void |
handleAllTypeOfSorting(java.lang.String[] sortInfo)
|
abstract void |
handleCallForFilter(java.lang.String command)
This method has to be implemented by the extending class to handle user specified customizable Data forms for Add and Modifying Custom Views. |
boolean |
hidePropsUI()
|
void |
init(javax.swing.JApplet a)
Abstract declaration of the corresponding method defined in the NmsPanel interface. |
void |
init(java.util.Properties prop)
This method is used to pass the common properties defined for the Panel in the Tree.xml or NmsPanels.conf configuration file to this instance. |
boolean |
isInitialized()
isInitialized implemented here to tell mainpanel whether the panels have been initialized |
java.lang.String |
isMultipleCustomView()
|
boolean |
isTopPanelNeeded()
|
void |
itemStateChanged(java.awt.event.ItemEvent e)
|
java.lang.String |
key()
Returns a name for the Panel |
void |
keyPressed(java.awt.event.KeyEvent ke)
|
void |
keyReleased(java.awt.event.KeyEvent ke)
|
void |
keyTyped(java.awt.event.KeyEvent ke)
|
void |
mouseClicked(java.awt.event.MouseEvent me)
|
void |
mouseEntered(java.awt.event.MouseEvent me)
|
void |
mouseExited(java.awt.event.MouseEvent me)
|
void |
mousePressed(java.awt.event.MouseEvent me)
|
void |
mouseReleased(java.awt.event.MouseEvent me)
|
void |
normalCursor()
change to normal cursor |
java.lang.String |
parseVal(java.util.Properties p,
java.lang.String val)
|
void |
putFilterProp()
|
void |
putFilterProp(java.util.Properties p,
java.lang.String fname)
|
boolean |
removeFilter(java.lang.String viewName,
boolean sync)
This method removes the Custom View with the name viewName. |
void |
removeFilterView(java.lang.String dType)
|
protected void |
removeShowAllButton()
|
boolean |
removeTabViewFilters(java.lang.String viewName,
boolean sync)
|
boolean |
renameTreeNode(java.lang.String nodeID,
java.lang.String newTreeName)
rename the node in the tree . |
static long |
reverseCorrectTimeInLong(long li)
This method can be called to give the correct date in long if the browser date and the server dates do not match This should be called before the browser tries to write into evt.time for sending to server . |
void |
run()
|
boolean |
saveFilter(java.lang.String viewName,
boolean sync)
This method saves the Custom View with the name viewName. |
boolean |
saveFilterState(java.lang.String viewName,
boolean sync)
This method saves the Custom View State with the name viewName. |
void |
selectNextButton(boolean flag)
|
void |
selectPreviousButton(boolean flag)
|
abstract void |
selectRowsOfTable(int[] rows)
|
void |
setCurrentNodeProperties(java.util.Hashtable nodeProperties)
This method will be invoked to pass the attributes of the current tree node selected, to which this panel instance is associated. |
void |
setIncrements()
|
void |
setPanelMenuBar(javax.swing.JMenuBar mb)
Get the MenuBar for this panel |
void |
setPanelVsOperatorKey(java.lang.String panelName,
java.util.Hashtable ht)
|
void |
setPanelVsSearchKey(java.lang.String panelName,
java.util.Vector keys)
|
void |
setProperties(java.util.Properties prop)
To set the (argumnets) for the panel before doing a change to that panel |
void |
setReorderColumns(boolean state)
|
static void |
setSearchHistory(java.util.Properties prop)
|
abstract int |
setSortColumn(int serverSortColumn,
boolean serverSortOrder,
int clientSortColumn,
boolean clientSortOrder,
java.lang.String columnName)
This method sets the column on which the ListView instance has to be sorted. |
void |
setTheParameters(java.lang.String dtype,
int totalno,
int vlength,
int startIndex,
java.lang.String sortedColumn,
boolean sortedOrder)
|
void |
setTheResultsOfFreezeUpdates(boolean flag)
|
void |
setTopPanelNeeded(boolean needed)
|
void |
setValidSortColumns(java.util.Vector validColumns)
|
void |
sortOnServerSide(java.lang.String sortedColumn,
boolean sortedOrder)
|
void |
sortOnServerSide(java.lang.String sortedColumn,
boolean sortedOrder,
java.util.Properties rowProps)
|
void |
start()
Stub Implementation of the corresponding method in NmsPanel interface. |
void |
stop()
stop the panel operations |
| Methods inherited from class com.adventnet.nms.startclient.AbstractBaseNmsPanel |
|---|
addNmsPanelEventListener, destroy, fireNmsPanelEvent, getCurrentNodeProperties, getObjectMenus, getPanelCommonProperties, getTreePopupMenu, removeNmsPanelEventListener |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
|---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String panelkey
protected java.lang.String argumentForMainPanel
public java.lang.String parentNameInTreeView
protected boolean nextprevButtonRequired
protected boolean choiceRequired
protected boolean stopButtonRequired
protected java.lang.String preferredDirection
protected int preferredViewLength
protected java.lang.String retValueOfHandleEvent
public javax.swing.JApplet applet
protected CustomClient cclient
protected javax.swing.JMenuBar menuBar
protected java.util.Properties shownProperties
protected javax.swing.JPanel p
protected javax.swing.JPanel topPanel
protected javax.swing.JTextField tf
public javax.swing.JPanel rangePanel
protected javax.swing.JButton nextbutton
protected javax.swing.JButton previousbutton
protected javax.swing.JButton showallbutton
protected javax.swing.JButton firstbutton
protected javax.swing.JButton lastbutton
protected javax.swing.JButton stopButton
protected javax.swing.JLabel totallabel
protected javax.swing.JLabel rangeLabel
protected javax.swing.JLabel minusLabel
protected javax.swing.JLabel List_label
protected javax.swing.ImageIcon[] imageIcons
protected javax.swing.JTextField rangeTextField1
protected javax.swing.JTextField rangeTextField2
protected com.adventnet.nms.startclient.PageLengthCombo c
protected java.util.Vector choiceElementsVector
public int viewLength
protected int totalLength
protected java.lang.String direction
protected java.util.Vector allPropertyVector
protected java.util.Properties filterProp
protected java.util.Hashtable proplisthash
protected java.util.Vector treelist
protected java.util.Hashtable filterprophash
protected java.util.Hashtable sortColumnHash
protected java.util.Hashtable selectedRowsHash
protected java.util.Hashtable displayTypeVsColumns
protected java.lang.String endSpecification
protected java.util.Hashtable endSpecificationHash
protected java.util.Hashtable viewLengthHash
protected java.util.Hashtable totalLengthHash
protected java.lang.String displayType
protected boolean started
protected boolean temporaryFilterOn
public static java.lang.String jan1_98
public static long dateDiff
protected java.util.Vector menusVector
protected java.lang.String keyForIncrements
public static java.util.Hashtable typeVsName
protected java.util.Vector SearchElements
protected java.util.Properties attributeList
public int prevValues1
public int prevValues2
protected Search search
public NmsMenuItem doubleClickMenuItem
protected java.lang.String columnsToRenderer
protected java.lang.String sortOrderColumn
protected java.lang.String sortOrderDir
public static java.util.Hashtable searchHistory
public static java.util.Vector searchHistoryVector
public java.util.Hashtable panelVsSearchKey
public java.util.Hashtable panelVsOperatorKey
protected boolean reorderColumns
protected java.lang.String popupmenu
public int alignment
protected javax.swing.JCheckBox minButton
protected java.util.Hashtable menu_ht
protected java.util.Vector removedCvs
| Constructor Detail |
|---|
public NmsCustomPanel()
| Method Detail |
|---|
public void setReorderColumns(boolean state)
public void setTopPanelNeeded(boolean needed)
public boolean isTopPanelNeeded()
public void init(javax.swing.JApplet a)
AbstractBaseNmsPanel
init in interface NmsPanelinit in class AbstractBaseNmsPanelNmsMainAppletpublic static java.util.Vector getSearchHistory(java.lang.String searchString)
public static void setSearchHistory(java.util.Properties prop)
public void init(java.util.Properties prop)
AbstractBaseNmsPanelThe common attributes will taken as the one defined in the NmsPanels.conf if the panel class has an entry in it. If there is entry only in Tree.xml then the attributes associated with the corresponding tree node will be taken as the common set. If the panel entry is defined in both the files, the setting present in NmsPanels.conf will taken as the common properties set.
This method will be invoked just after instantiation of this class after the invocation of the method init(Applet) defined in the NmsPanel interface. This method will be invoked only for the classes that extend AbstractBaseNmPanel.
init in class AbstractBaseNmsPanelprop - This argument will contain the common properties of the panel associated with either the Tree.xml or
NmsPanels.conf configuration files.AbstractBaseNmsPanel.getPanelCommonProperties()public boolean isInitialized()
isInitialized in class AbstractBaseNmsPanelprotected static void adjustDate()
public static long correctTimeInLong(long li)
public static long reverseCorrectTimeInLong(long li)
public abstract void customizeThePanel()
public abstract void createMenuBar()
public abstract void addObjects(java.util.Vector obvector)
public abstract void doTheUpdate(NmsTableModelEvent event)
public abstract void handleCallForFilter(java.lang.String command)
public abstract java.lang.String getTableColumnWidths()
public void start()
AbstractBaseNmsPanel
start in interface NmsPanelstart in class AbstractBaseNmsPanelNmsPanel.stop()public void stop()
stop in interface NmsPanelstop in class AbstractBaseNmsPanelNmsPanel.start()public void destroy()
public java.lang.String key()
key in interface NmsPanelkey in class AbstractBaseNmsPanelpublic void setProperties(java.util.Properties prop)
setProperties in interface NmsPanelsetProperties in class AbstractBaseNmsPanelprop - The Properties object that contains the associated properties of the panel to be passed when the panel
gains the focus.protected void removeShowAllButton()
protected void addShowAllButton()
public void setPanelMenuBar(javax.swing.JMenuBar mb)
setPanelMenuBar in interface NmsPanelsetPanelMenuBar in class AbstractBaseNmsPanelmb - The Menubar that is constructed from the attribute setting MENU-FILE-NAME will be passed as parameter. The
menu bar will contain no menus if the MENU-FILE-NAME is not specified.AbstractBaseNmsPanel.getPanelMenuBar()public javax.swing.JMenuBar getPanelMenuBar()
getPanelMenuBar in interface NmsPanelgetPanelMenuBar in class AbstractBaseNmsPanelAbstractBaseNmsPanel.setPanelMenuBar(javax.swing.JMenuBar)public void selectNextButton(boolean flag)
public void selectPreviousButton(boolean flag)
public void sortOnServerSide(java.lang.String sortedColumn,
boolean sortedOrder)
public void sortOnServerSide(java.lang.String sortedColumn,
boolean sortedOrder,
java.util.Properties rowProps)
public void adjustTheEdges(java.lang.String edge)
public void correctTotalNumbers(NmsTableModelEvent tableModelEvent)
public void changeTheTreeView(java.lang.String disp)
public void addToTreeView(java.util.Vector v)
public void addToTreeView(java.lang.String disp)
public void addToTreeView(java.lang.String disp,
java.lang.String parent)
public void removeFilterView(java.lang.String dType)
public void addToRemovedCvs(java.lang.String viewId)
public void putFilterProp()
public void putFilterProp(java.util.Properties p,
java.lang.String fname)
public java.util.Properties getFilterProp()
public java.util.Properties getFilterProp(java.lang.String fname)
public void setValidSortColumns(java.util.Vector validColumns)
public void setTheResultsOfFreezeUpdates(boolean flag)
public void setTheParameters(java.lang.String dtype,
int totalno,
int vlength,
int startIndex,
java.lang.String sortedColumn,
boolean sortedOrder)
public void run()
run in interface java.lang.Runnablepublic void busyCursor()
public void normalCursor()
public javax.swing.JFrame getFrame(java.awt.Component comp)
public java.lang.String addNewFilter(java.util.Properties p,
java.lang.String nameoffilter)
public java.lang.String addNewFilter(java.util.Properties p,
java.lang.String nameoffilter,
java.lang.String parentleaf)
public java.lang.String addNewFilter(java.util.Properties prop,
java.lang.String nameOfFilter,
java.lang.String parentleaf,
boolean sync)
The call will be synchronous if sync parameter is set to true else asynchronous.
prop - The properties object with which the new Custom View
has to be created or modified.nameOfFilter - The name of the Custom View which has to be
added or modified.parentleaf - The parent Custom View under which the new Custom
View has to be created or under which the Custom View to be modified
exists.sync - boolean variable to indicate whether the call
should be synchronous or not. A value of true will
make the call synchronous else asynchronous.
public java.lang.String addNewFilter(java.util.Properties prop,
java.lang.String nameOfFilter,
java.lang.String parentleaf,
boolean sync,
boolean isTabView)
public java.lang.String addNewTempFilter(java.util.Properties prop,
java.lang.String filterName,
java.lang.String parentNodeId,
boolean addToTree)
public void addTempToTree(java.lang.String filterID,
java.lang.String parent,
java.util.Properties attributeList,
java.util.Properties criteriaProps,
boolean addToTree)
public XMLNode getXMLNode(XMLNode parent,
java.lang.String match)
public XMLNode getXMLNode(java.lang.String nodeID)
public final boolean removeFilter(java.lang.String viewName,
boolean sync)
viewName - The name of the Custom View to be removedsync - boolean variable to indicate whether the call
should be synchronous or not.
public final boolean removeTabViewFilters(java.lang.String viewName,
boolean sync)
public final boolean saveFilter(java.lang.String viewName,
boolean sync)
viewName - The name of the Custom View to be savedsync - boolean variable to indicate whether the call
should be synchronous or not.
public boolean saveFilterState(java.lang.String viewName,
boolean sync)
viewName - The name of the Custom View to be saved
public final java.util.Properties getCustomViewPropertiesSync(java.lang.String viewName)
viewName - The name of the Custom View whose properties
are needed
public void keyPressed(java.awt.event.KeyEvent ke)
keyPressed in interface java.awt.event.KeyListenerpublic void keyReleased(java.awt.event.KeyEvent ke)
keyReleased in interface java.awt.event.KeyListenerpublic void keyTyped(java.awt.event.KeyEvent ke)
keyTyped in interface java.awt.event.KeyListenerpublic void mousePressed(java.awt.event.MouseEvent me)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent me)
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseClicked(java.awt.event.MouseEvent me)
mouseClicked in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent me)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent me)
mouseExited in interface java.awt.event.MouseListenerpublic void focusGained(java.awt.event.FocusEvent e)
focusGained in interface java.awt.event.FocusListenerpublic void focusLost(java.awt.event.FocusEvent e)
focusLost in interface java.awt.event.FocusListenerpublic void actionPerformed(java.awt.event.ActionEvent e)
AbstractBaseNmsPanel* 'Back' and 'Forward' navigation tool bar actions. * 'Close' and 'Close All' internal frame actions. * 'Detach' of internal frames. * 'Cascade' and 'Tile' actions of internal frames. * 'Show Tool bar' action.
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class AbstractBaseNmsPanelprotected void doRefresh()
public void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged in interface java.awt.event.ItemListenerpublic java.lang.String getDisplayType()
public int getViewLength()
public java.lang.String getEndSpecification()
public int getTotalLength()
public abstract void changeColumnsOfTable(java.lang.String displayType,
java.lang.String tableColumns)
public void setIncrements()
protected void getAndSetSortColumn()
public abstract int setSortColumn(int serverSortColumn,
boolean serverSortOrder,
int clientSortColumn,
boolean clientSortOrder,
java.lang.String columnName)
public abstract void selectRowsOfTable(int[] rows)
public java.lang.String getDisplayName(java.lang.String str)
public boolean renameTreeNode(java.lang.String nodeID,
java.lang.String newTreeName)
renameTreeNode in class AbstractBaseNmsPanelnodeID - the ID of the tree nodenewTreeName - the new "TREE-NAME" to the tree node.//No Internationalisation
public java.lang.String parseVal(java.util.Properties p,
java.lang.String val)
public java.util.Properties getParameters(java.lang.String doc)
public boolean checkMenuFile(java.lang.String menuName)
public void handleAllTypeOfSorting(java.lang.String[] sortInfo)
public boolean hidePropsUI()
public void setCurrentNodeProperties(java.util.Hashtable nodeProperties)
AbstractBaseNmsPanelThis method can be of much use if the same panel instance is associated with more than one tree node (similar to custom views). In this scenario this method could be used to receive the currently selected tree node properties and use them for any behaviourial changes in the panel. For example, in the case of custom views the same panel instance is associated for each of the custom view created of the same type, namely Events, Alarms etc.,. In this case, the current node properties set by this method is used to modify the properties of the panel shown according the custom view selected currently.
Any implementation class can access the current node properties using the method getCurrentNodeProperties() present in this class. It should also be noted that this method will be invoked only for the panels that are associated with a client tree node.
setCurrentNodeProperties in class AbstractBaseNmsPanelnodeProperties - The attributes of the current tree node selected, to which this panel instance is associated, will be
passed in the Hashtable.AbstractBaseNmsPanel.getCurrentNodeProperties()public java.lang.String isMultipleCustomView()
protected void addToViewIdList()
public void setPanelVsSearchKey(java.lang.String panelName,
java.util.Vector keys)
public java.util.Hashtable getPanelVsSearchKey()
public void setPanelVsOperatorKey(java.lang.String panelName,
java.util.Hashtable ht)
public java.util.Hashtable getPanelVsOperatorKey()
public int getAlignment(java.lang.String align)
|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||