org.openstreetmap.josm.gui.dialogs
Class CommandListMutableTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.openstreetmap.josm.gui.dialogs.CommandListMutableTreeNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class CommandListMutableTreeNode
extends javax.swing.tree.DefaultMutableTreeNode

MutableTreeNode implementation for Command list JTree

See Also:
Serialized Form

Field Summary
protected  PseudoCommand cmd
           
protected  int idx
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
CommandListMutableTreeNode(PseudoCommand cmd, int idx)
           
 
Method Summary
 PseudoCommand getCommand()
           
 int getIndex()
           
 
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
 

Field Detail

cmd

protected PseudoCommand cmd

idx

protected int idx
Constructor Detail

CommandListMutableTreeNode

public CommandListMutableTreeNode(PseudoCommand cmd,
                                  int idx)
Method Detail

getCommand

public PseudoCommand getCommand()

getIndex

public int getIndex()


JOSM