public class GeneralMonitoringTreeNode extends DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
GeneralMonitoringTreeNode(String displayName,
Object identifier,
boolean isRoot)
Constructor of the node.
|
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Returns the name of the node.
|
Object |
getIdentifier()
Returns the identifier that is unique among all the nodes.
|
boolean |
isLeaf() |
boolean |
isRoot() |
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
public GeneralMonitoringTreeNode(String displayName, Object identifier, boolean isRoot)
displayName
- the name of the node.identifier
- the identifier that is unique among all the nodes.isRoot
- whether the node is the root or not.public String getDisplayName()
public Object getIdentifier()
public boolean isRoot()
isRoot
in class DefaultMutableTreeNode
public boolean isLeaf()
isLeaf
in interface TreeNode
isLeaf
in class DefaultMutableTreeNode
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.