Class SchemaElementTreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- org.opends.guitools.controlpanel.ui.nodes.SchemaElementTreeNode
-
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
- Direct Known Subclasses:
AttributeSyntaxTreeNode,ConfigurationAttributeTreeNode,ConfigurationObjectClassTreeNode,CustomAttributeTreeNode,CustomObjectClassTreeNode,MatchingRuleTreeNode,StandardAttributeTreeNode,StandardObjectClassTreeNode
public abstract class SchemaElementTreeNode extends DefaultMutableTreeNode
Abstract class with some common methods for all the nodes in the 'Manage Schema' 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 protectedSchemaElementTreeNode(String name, Object schemaElement)Constructor of the node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns the name of the node.ObjectgetSchemaElement()Returns the schema element associated with the node.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
-
getName
public String getName()
Returns the name of the node.- Returns:
- the name of the node.
-
getSchemaElement
public Object getSchemaElement()
Returns the schema element associated with the node.- Returns:
- the schema element associated with the node.
-
isRoot
public boolean isRoot()
- Overrides:
isRootin classDefaultMutableTreeNode
-
isLeaf
public boolean isLeaf()
- Specified by:
isLeafin interfaceTreeNode- Overrides:
isLeafin classDefaultMutableTreeNode
-
-