|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
rle.vm.VmNode
public class VmNode
The base class for all nodes configurable in the variant manager.
| Field Summary | |
|---|---|
static java.lang.String |
SEPARATOR
|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
VmNode()
|
|
| Method Summary | |
|---|---|
java.util.List<VmNode> |
childList()
|
VmNode |
findNode(java.lang.String path)
Finds the child node corresponding to the path argument, relative to this node. |
java.lang.String |
getId()
Returns the identifier for this node that is unique only among nodes that share the same parent. |
java.lang.String |
pathId()
Provides a unique identifier for this node based upon its id and its location in the tree. |
void |
setId(java.lang.String id)
|
java.lang.String |
toString()
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SEPARATOR
| Constructor Detail |
|---|
public VmNode()
| Method Detail |
|---|
public VmNode findNode(java.lang.String path)
In addition to simple paths, the following special cases are supported:
${parent} - the parent of a node
${self} - the node itself
path -
public void setId(java.lang.String id)
public java.lang.String getId()
public java.lang.String pathId()
public java.lang.String toString()
toString in class javax.swing.tree.DefaultMutableTreeNodepublic java.util.List<VmNode> childList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||