Class MethodDescriptorNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
com.inductiveautomation.factorypmi.designer.eventhandling.MethodDescriptorNode
- All Implemented Interfaces:
ComponentScriptEditor.ComponentScriptNode,Serializable,Cloneable,MutableTreeNode,TreeNode
public class MethodDescriptorNode
extends DefaultMutableTreeNode
implements ComponentScriptEditor.ComponentScriptNode
A wrapper around a MethodDescriptor with a link to the containing EventSetDescriptorNode. May also contain
information about a specific component's registered actions for this method.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintbooleanDeprecated.booleanbooleanisInUse()booleanstatic booleanDelegates to the descriptor's underlyingMethodto test for equality, sinceMethodDescriptordoesn't implement .equals()voidsetBuilderInfo(Map<String, Object> builderInfo) voidsetBuilderMode(int mode) voidsetInvokeLater(boolean invokeLater) voidsetJythonCode(String jythonCode) voidsetScopeStyle(ScriptScopeStyle scopeStyle) toString()voidupdated(ActionAdapter newAdapter) 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, 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
-
Constructor Details
-
MethodDescriptorNode
-
-
Method Details
-
methodsEqual
Delegates to the descriptor's underlyingMethodto test for equality, sinceMethodDescriptordoesn't implement .equals() -
equals
-
getMethodDescriptor
-
getParent
- Specified by:
getParentin interfaceTreeNode- Overrides:
getParentin classDefaultMutableTreeNode
-
getJythonCode
-
setJythonCode
-
getScopeStyle
-
setScopeStyle
-
isInvokeLater
public boolean isInvokeLater() -
setInvokeLater
public void setInvokeLater(boolean invokeLater) -
getBuilderMode
public int getBuilderMode() -
setBuilderMode
public void setBuilderMode(int mode) -
hasScript
Deprecated. -
isChanged
public boolean isChanged()- Specified by:
isChangedin interfaceComponentScriptEditor.ComponentScriptNode
-
isInUse
public boolean isInUse()- Specified by:
isInUsein interfaceComponentScriptEditor.ComponentScriptNode
-
updated
-
getBuilderInfo
-
setBuilderInfo
-
toString
- Overrides:
toStringin classDefaultMutableTreeNode
-