Class CommandListMutableTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.openstreetmap.josm.gui.dialogs.CommandListMutableTreeNode
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
MutableTreeNode implementation for Command list JTree
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newCommandListMutableTreeNode. -
Method Summary
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
-
Field Details
-
cmd
-
-
Constructor Details
-
CommandListMutableTreeNode
Constructs a newCommandListMutableTreeNode.- Parameters:
cmd- command
-
-
Method Details
-
getCommand
Returns the command.- Returns:
- the command
-
getIndex
Returns the index.- Returns:
- the index
-
toString
- Overrides:
toStringin classDefaultMutableTreeNode
-