Class CustomFunctionNode

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected CustomFunction function  
      • Fields inherited from class javax.swing.tree.DefaultMutableTreeNode

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static CustomFunctionNode getDummyNode()  
      CustomFunction getFunction()  
      boolean isChanged()  
      boolean isDummy()  
      boolean isInUse()  
      boolean isValid()  
      void setDirty​(boolean dirty)  
      void setFunction​(CustomFunction function)  
      java.lang.String toString()  
      • 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
      • Methods inherited from class java.lang.Object

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

      • CustomFunctionNode

        protected CustomFunctionNode()
      • CustomFunctionNode

        public CustomFunctionNode​(ComponentScriptEditor editor,
                                  java.lang.String script)
    • Method Detail

      • setDirty

        public void setDirty​(boolean dirty)
      • isValid

        public boolean isValid()
      • isDummy

        public boolean isDummy()
        Returns:
        True if this node is the dummy always present in the tree, used to add new custom functions.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class javax.swing.tree.DefaultMutableTreeNode
      • getDummyNode

        public static CustomFunctionNode getDummyNode()
        Returns:
        The dummy node used to create new custom functions