public class CommandListMutableTreeNode extends DefaultMutableTreeNode
Modifier and Type | Field and Description |
---|---|
protected PseudoCommand |
cmd |
protected int |
idx |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
CommandListMutableTreeNode(PseudoCommand cmd,
int idx) |
Modifier and Type | Method and Description |
---|---|
PseudoCommand |
getCommand() |
int |
getIndex() |
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
protected transient PseudoCommand cmd
protected int idx
public CommandListMutableTreeNode(PseudoCommand cmd, int idx)
public PseudoCommand getCommand()
public int getIndex()