Class ScriptTreeNode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

    public class ScriptTreeNode
    extends javax.swing.tree.DefaultMutableTreeNode
    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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String filePath  
      private int nodeType  
      • Fields inherited from class javax.swing.tree.DefaultMutableTreeNode

        allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
    • Constructor Summary

      Constructors 
      Constructor Description
      ScriptTreeNode​(java.lang.Object userObject, int nodeType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFilePath()  
      int getNodeType()  
      void setFilePath​(java.lang.String filePath)  
      void setNodeType​(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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • nodeType

        private int nodeType
      • filePath

        private java.lang.String filePath
    • Constructor Detail

      • ScriptTreeNode

        public ScriptTreeNode​(java.lang.Object userObject,
                              int nodeType)
    • Method Detail

      • getNodeType

        public int getNodeType()
      • setNodeType

        public void setNodeType​(int nodeType)
      • getFilePath

        public java.lang.String getFilePath()
      • setFilePath

        public void setFilePath​(java.lang.String filePath)