org.openorb.board.shared.board
Class TreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.openorb.board.shared.board.TreeNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class TreeNode
extends javax.swing.tree.DefaultMutableTreeNode
implements java.lang.Cloneable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
TreeNode(int nodeType, java.lang.Object nodeValue)
          Constructor
 
Method Summary
 int getNodeType()
          Get the type of this node
 java.lang.Object getNodeValue()
          Get the value of this node
 void setNodeType(int nodeType)
          Set the type of this node
 void setNodeValue(java.lang.Object value)
          Set the value of this node
 
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, 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, setUserObject, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeNode

public TreeNode(int nodeType,
                java.lang.Object nodeValue)
Constructor

Method Detail

getNodeType

public int getNodeType()
Get the type of this node


setNodeType

public void setNodeType(int nodeType)
Set the type of this node


getNodeValue

public java.lang.Object getNodeValue()
Get the value of this node


setNodeValue

public void setNodeValue(java.lang.Object value)
Set the value of this node