Package gov.nih.mipav.view.dialogs
Class ScriptTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
gov.nih.mipav.view.dialogs.ScriptTreeNode
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
Class used as a DefaultMutableTreeNode, except it stores a default name that can be recalled at any time if the
users deletes the image/voi.
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetFilePath(String filePath) voidsetNodeType(int nodeType) 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
-
Field Details
-
nodeType
private int nodeType -
filePath
-
-
Constructor Details
-
ScriptTreeNode
-
-
Method Details
-
getNodeType
public int getNodeType() -
setNodeType
public void setNodeType(int nodeType) -
getFilePath
-
setFilePath
-