Class MethodDescriptorNode
- java.lang.Object
- 
- javax.swing.tree.DefaultMutableTreeNode
- 
- com.inductiveautomation.factorypmi.designer.eventhandling.MethodDescriptorNode
 
 
- 
- All Implemented Interfaces:
- ComponentScriptEditor.ComponentScriptNode,- java.io.Serializable,- java.lang.Cloneable,- javax.swing.tree.MutableTreeNode,- javax.swing.tree.TreeNode
 
 public class MethodDescriptorNode extends javax.swing.tree.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:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MethodDescriptorNode(java.beans.MethodDescriptor method, ActionAdapter adapter)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.Map<java.lang.String,java.lang.Object>getBuilderInfo()intgetBuilderMode()java.lang.StringgetJythonCode()java.beans.MethodDescriptorgetMethodDescriptor()EventSetDescriptorNodegetParent()ScriptScopeStylegetScopeStyle()booleanhasScript()Deprecated.booleanisChanged()booleanisInUse()booleanisInvokeLater()static booleanmethodsEqual(java.beans.MethodDescriptor m1, java.beans.MethodDescriptor m2)Delegates to the descriptor's underlyingMethodto test for equality, sinceMethodDescriptordoesn't implement .equals()voidsetBuilderInfo(java.util.Map<java.lang.String,java.lang.Object> builderInfo)voidsetBuilderMode(int mode)voidsetInvokeLater(boolean invokeLater)voidsetJythonCode(java.lang.String jythonCode)voidsetScopeStyle(ScriptScopeStyle scopeStyle)java.lang.StringtoString()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 Detail- 
MethodDescriptorNodepublic MethodDescriptorNode(java.beans.MethodDescriptor method, ActionAdapter adapter)
 
- 
 - 
Method Detail- 
methodsEqualpublic static boolean methodsEqual(java.beans.MethodDescriptor m1, java.beans.MethodDescriptor m2)Delegates to the descriptor's underlyingMethodto test for equality, sinceMethodDescriptordoesn't implement .equals()
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
getMethodDescriptorpublic java.beans.MethodDescriptor getMethodDescriptor() 
 - 
getParentpublic EventSetDescriptorNode getParent() - Specified by:
- getParentin interface- javax.swing.tree.TreeNode
- Overrides:
- getParentin class- javax.swing.tree.DefaultMutableTreeNode
 
 - 
getJythonCodepublic java.lang.String getJythonCode() 
 - 
setJythonCodepublic void setJythonCode(java.lang.String jythonCode) 
 - 
getScopeStylepublic ScriptScopeStyle getScopeStyle() 
 - 
setScopeStylepublic void setScopeStyle(ScriptScopeStyle scopeStyle) 
 - 
isInvokeLaterpublic boolean isInvokeLater() 
 - 
setInvokeLaterpublic void setInvokeLater(boolean invokeLater) 
 - 
getBuilderModepublic int getBuilderMode() 
 - 
setBuilderModepublic void setBuilderMode(int mode) 
 - 
hasScript@Deprecated public boolean hasScript() Deprecated.
 - 
isChangedpublic boolean isChanged() - Specified by:
- isChangedin interface- ComponentScriptEditor.ComponentScriptNode
 
 - 
isInUsepublic boolean isInUse() - Specified by:
- isInUsein interface- ComponentScriptEditor.ComponentScriptNode
 
 - 
updatedpublic void updated(ActionAdapter newAdapter) 
 - 
getBuilderInfopublic java.util.Map<java.lang.String,java.lang.Object> getBuilderInfo() 
 - 
setBuilderInfopublic void setBuilderInfo(java.util.Map<java.lang.String,java.lang.Object> builderInfo) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- javax.swing.tree.DefaultMutableTreeNode
 
 
- 
 
-