public class CustomFunctionNode extends javax.swing.tree.DefaultMutableTreeNode implements ComponentScriptEditor.ComponentScriptNode
Modifier and Type | Field and Description |
---|---|
protected CustomFunction |
function |
Modifier | Constructor and Description |
---|---|
protected |
CustomFunctionNode() |
|
CustomFunctionNode(ComponentScriptEditor editor,
java.lang.String script) |
Modifier and Type | Method and 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() |
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
protected CustomFunction function
protected CustomFunctionNode()
public CustomFunctionNode(ComponentScriptEditor editor, java.lang.String script)
public boolean isInUse()
isInUse
in interface ComponentScriptEditor.ComponentScriptNode
public boolean isChanged()
isChanged
in interface ComponentScriptEditor.ComponentScriptNode
public CustomFunction getFunction()
public void setFunction(CustomFunction function)
public void setDirty(boolean dirty)
public boolean isValid()
public boolean isDummy()
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
public static CustomFunctionNode getDummyNode()