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 SummaryFields inherited from class javax.swing.tree.DefaultMutableTreeNodeallowsChildren, children, EMPTY_ENUMERATION, parent, userObject
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.DefaultMutableTreeNodeadd, 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- 
methodsEqualDelegates to the descriptor's underlyingMethodto test for equality, sinceMethodDescriptordoesn't implement .equals()
- 
equals
- 
getMethodDescriptor
- 
getParent- Specified by:
- getParentin interface- TreeNode
- Overrides:
- getParentin class- DefaultMutableTreeNode
 
- 
getJythonCode
- 
setJythonCode
- 
getScopeStyle
- 
setScopeStyle
- 
isInvokeLaterpublic boolean isInvokeLater()
- 
setInvokeLaterpublic void setInvokeLater(boolean invokeLater) 
- 
getBuilderModepublic int getBuilderMode()
- 
setBuilderModepublic void setBuilderMode(int mode) 
- 
hasScriptDeprecated.
- 
isChangedpublic boolean isChanged()- Specified by:
- isChangedin interface- ComponentScriptEditor.ComponentScriptNode
 
- 
isInUsepublic boolean isInUse()- Specified by:
- isInUsein interface- ComponentScriptEditor.ComponentScriptNode
 
- 
updated
- 
getBuilderInfo
- 
setBuilderInfo
- 
toString- Overrides:
- toStringin class- DefaultMutableTreeNode
 
 
-