|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
com.imagero.gui.swing.tree.node.DMTreeNode
com.imagero.gui.swing.tree.node.HTreeNode
HTreeNode delegates most work to Handler.
| Field Summary | |
static StringComparator |
stringComparator
|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
HTreeNode(java.lang.Object userObject)
|
|
| Method Summary | |
boolean |
getAllowsChildren()
Returns true if this node is allowed to have children. |
Handler |
getHandler()
|
boolean |
isLeaf()
Returns true if this node has no children. |
boolean |
isPopulated()
|
void |
populate(boolean refreshNodes)
|
void |
repopulate(boolean refreshNodes)
|
void |
setHandler(Handler handler)
|
void |
setPopulated(boolean populated)
|
void |
sort()
|
java.lang.String |
toString()
Returns the result of sending toString() to this node's
user object, or null if this node has no user object. |
| Methods inherited from class com.imagero.gui.swing.tree.node.DMTreeNode |
add, add, childIndex, createNode, sort |
| Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, 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, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final StringComparator stringComparator
| Constructor Detail |
public HTreeNode(java.lang.Object userObject)
| Method Detail |
public boolean getAllowsChildren()
javax.swing.tree.DefaultMutableTreeNode
public Handler getHandler()
public boolean isLeaf()
javax.swing.tree.DefaultMutableTreeNodegetAllowsChildren
DefaultMutableTreeNode.getAllowsChildren()public boolean isPopulated()
public void populate(boolean refreshNodes)
throws java.io.IOException
java.io.IOException
public void repopulate(boolean refreshNodes)
throws java.io.IOException
java.io.IOExceptionpublic void setHandler(Handler handler)
public void setPopulated(boolean populated)
public void sort()
public java.lang.String toString()
javax.swing.tree.DefaultMutableTreeNodetoString() to this node's
user object, or null if this node has no user object.
DefaultMutableTreeNode.getUserObject()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||