wt.clients.csm.classification
Class ClassificationNodeTreeNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended bywt.clients.widgets.DefaultLiteTreeNode
          extended bywt.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

Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
Field Summary
 
Fields inherited from class wt.clients.widgets.DefaultLiteTreeNode
MAX, name, nameHasChanged, tooltip, tooltipHasChanged
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
ClassificationNodeTreeNode()
          This constructor is an empty node which is used for the root only.
ClassificationNodeTreeNode(AbstractLiteObject userObject, boolean hasDummyChildren)
          This constructor will construct a node which contains an AbstractAttributeDefinizerNodeView as the user object.
ClassificationNodeTreeNode(Object obj)
          This constructor is an empty node which is used for the root only.
 
Method Summary
 String getNodeToolTipText()
           
 String toString()
          toString method.
 
Methods inherited from class wt.clients.widgets.DefaultLiteTreeNode
getDummyChildren, getLiteNodeObject, hasDummyChildren, isExpanded, isExplored, setExpanded, setExplored, setUserObject
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 object
hasDummyChildren - true if a dummy children will be added
Method Detail

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