Class ExtensionFunctionNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- com.inductiveautomation.factorypmi.designer.eventhandling.ExtensionFunctionNode
-
- All Implemented Interfaces:
ComponentScriptEditor.ComponentScriptNode,java.io.Serializable,java.lang.Cloneable,javax.swing.tree.MutableTreeNode,javax.swing.tree.TreeNode
public class ExtensionFunctionNode extends javax.swing.tree.DefaultMutableTreeNode implements ComponentScriptEditor.ComponentScriptNode
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(java.util.Map<java.lang.String,ExtensionFunction> extensionFunctions)ExtensionFunctionDescriptorgetDescriptor()ExtensionFunctiongetFunction()booleanisChanged()booleanisInUse()voidsetDirty(boolean dirty)voidsetFunction(ExtensionFunction function)java.lang.StringtoString()-
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
-
-
-
-
Method Detail
-
isChanged
public boolean isChanged()
- Specified by:
isChangedin interfaceComponentScriptEditor.ComponentScriptNode
-
setDirty
public void setDirty(boolean dirty)
-
isInUse
public boolean isInUse()
- Specified by:
isInUsein interfaceComponentScriptEditor.ComponentScriptNode
-
getDescriptor
public ExtensionFunctionDescriptor getDescriptor()
-
getFunction
public ExtensionFunction getFunction()
-
setFunction
public void setFunction(ExtensionFunction function)
-
apply
public void apply(java.util.Map<java.lang.String,ExtensionFunction> extensionFunctions)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjavax.swing.tree.DefaultMutableTreeNode
-
-