public class NodeWithTreeReference extends DefaultMutableTreeNode
Aí, então, ao invés de extender DefaultMutableTreeNode,
os nós extendem esta classe.
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject| Constructor and Description |
|---|
NodeWithTreeReference(SCSTree myTree) |
NodeWithTreeReference(SCSTree myTree,
Object userObject) |
NodeWithTreeReference(SCSTree myTree,
Object userObject,
boolean allowsChildren) |
| Modifier and Type | Method and Description |
|---|---|
SCSTree |
getMyTree() |
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, toStringCopyright © 2014 Tecgraf/PUC-Rio. All Rights Reserved.