com.myjavaworld.gui
Class IDTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by com.myjavaworld.gui.IDTreeNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode

public class IDTreeNode
extends DefaultMutableTreeNode

Author:
Sai Pullabhotla, psai [at] jMethods [dot] com To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments
See Also:
Serialized Form

Field Summary
protected  int id
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
IDTreeNode()
           
IDTreeNode(int id, Object userObject)
           
IDTreeNode(int id, Object userObject, boolean allowsChildren)
           
 
Method Summary
 int getID()
           
 void setID(int id)
           
 
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, setUserObject, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected int id
Constructor Detail

IDTreeNode

public IDTreeNode()

IDTreeNode

public IDTreeNode(int id,
                  Object userObject)

IDTreeNode

public IDTreeNode(int id,
                  Object userObject,
                  boolean allowsChildren)
Method Detail

setID

public void setID(int id)

getID

public int getID()


Copyright © 2000-2012 jMethods, Inc.. All Rights Reserved.