Class AbstractIndexTreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- org.opends.guitools.controlpanel.ui.nodes.AbstractIndexTreeNode
-
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
- Direct Known Subclasses:
IndexTreeNode,VLVIndexTreeNode
public abstract class AbstractIndexTreeNode extends DefaultMutableTreeNode
Abstract class with some common methods for all the nodes in the 'Manage Index' tree.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractIndexTreeNode(String name)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns the name.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
-
-
-
-
Constructor Detail
-
AbstractIndexTreeNode
protected AbstractIndexTreeNode(String name)
Constructor.- Parameters:
name- the name of the node.
-
-
Method Detail
-
getName
public String getName()
Returns the name.- Returns:
- the name
-
isRoot
public boolean isRoot()
- Overrides:
isRootin classDefaultMutableTreeNode
-
isLeaf
public boolean isLeaf()
- Specified by:
isLeafin interfaceTreeNode- Overrides:
isLeafin classDefaultMutableTreeNode
-
-