Class CustomAttributeTreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- org.opends.guitools.controlpanel.ui.nodes.SchemaElementTreeNode
-
- org.opends.guitools.controlpanel.ui.nodes.CustomAttributeTreeNode
-
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
public class CustomAttributeTreeNode extends SchemaElementTreeNode
Class of the nodes that represent a custom attribute 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 Constructor Description CustomAttributeTreeNode(String name, AttributeType attr)Constructor of the node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeTypegetAttribute()Returns the definition of the attribute represented by this node.-
Methods inherited from class org.opends.guitools.controlpanel.ui.nodes.SchemaElementTreeNode
getName, getSchemaElement, isLeaf, isRoot
-
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
-
CustomAttributeTreeNode
public CustomAttributeTreeNode(String name, AttributeType attr)
Constructor of the node.- Parameters:
name- the name of the node.attr- the attribute definition.
-
-
Method Detail
-
getAttribute
public AttributeType getAttribute()
Returns the definition of the attribute represented by this node.- Returns:
- the definition of the attribute represented by this node.
-
-