Class GeneralMonitoringTreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- org.opends.guitools.controlpanel.ui.nodes.GeneralMonitoringTreeNode
-
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
public class GeneralMonitoringTreeNode extends DefaultMutableTreeNode
Abstract class with some common methods for all the nodes in the 'General Information' tree.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
-
Constructor Summary
Constructors Constructor Description GeneralMonitoringTreeNode(String displayName, Object identifier, boolean isRoot)Constructor of the node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()Returns the name of the node.ObjectgetIdentifier()Returns the identifier that is unique among all the nodes.booleanisLeaf()booleanisRoot()-
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Returns the name of the node.- Returns:
- the name of the node.
-
getIdentifier
public Object getIdentifier()
Returns the identifier that is unique among all the nodes.- Returns:
- the identifier that is unique among all the nodes.
-
isRoot
public boolean isRoot()
- Overrides:
isRootin classDefaultMutableTreeNode
-
isLeaf
public boolean isLeaf()
- Specified by:
isLeafin interfaceTreeNode- Overrides:
isLeafin classDefaultMutableTreeNode
-
-