wt.clients.csm.classification
Class ClassificationNodeTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
wt.clients.widgets.DefaultLiteTreeNode
wt.clients.csm.classification.ClassificationNodeTreeNode
- All Implemented Interfaces:
- Cloneable, MutableTreeNode, Serializable, TreeNode
- public class ClassificationNodeTreeNode
- extends DefaultLiteTreeNode
------------------------------------------------------------
This class extends the DefaultMutableTreeNode which will contains
the AbstractNodeNodeView object and display it in the tree browser.
It contains two flag: explored means whether this node
has been explored or not; expanded means whether this node has set to
be expanded or not.
- See Also:
- Serialized Form
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, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent |
ClassificationNodeTreeNode
public ClassificationNodeTreeNode()
- This constructor is an empty node which is used for the root only.
ClassificationNodeTreeNode
public ClassificationNodeTreeNode(Object obj)
- This constructor is an empty node which is used for the root only.
ClassificationNodeTreeNode
public ClassificationNodeTreeNode(AbstractLiteObject userObject,
boolean hasDummyChildren)
- This constructor will construct a node which contains an
AbstractAttributeDefinizerNodeView as the user object.
- Parameters:
userObject
- AbstractAttributeDefinizerNodeView user objecthasDummyChildren
- true if a dummy children will be added
toString
public String toString()
- toString method.
- Specified by:
toString
in class DefaultLiteTreeNode
- Returns:
- String representing the user object
getNodeToolTipText
public String getNodeToolTipText()
- Specified by:
getNodeToolTipText
in class DefaultLiteTreeNode