|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.tree.DefaultMutableTreeNode | +--javatools.swing.tree.ExpansionRecordingTreeNode
It is a tree node containing information about its expansion.
Field Summary |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
ExpansionRecordingTreeNode()
Creates new ExpansionRecordingTreeNode |
|
ExpansionRecordingTreeNode(java.lang.Object userObject)
Creates a new ExpansionRecordingTreeNode. |
|
ExpansionRecordingTreeNode(java.lang.Object userObject,
boolean allowsChildren)
Creates a new ExpansionRecordingTreeNode. |
Method Summary | |
boolean |
isExpanded()
Returns the expanded flag. |
void |
setExpanded(boolean value)
Sets the expanded flag. |
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 |
Constructor Detail |
public ExpansionRecordingTreeNode()
public ExpansionRecordingTreeNode(java.lang.Object userObject)
userObject
- The object to use.public ExpansionRecordingTreeNode(java.lang.Object userObject, boolean allowsChildren)
userObject
- The object to use.allowsChildren
- true
: allows children;
false
: does not allow children.Method Detail |
public void setExpanded(boolean value)
value
- The value.public boolean isExpanded()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |