public class MethodDescriptorNode extends javax.swing.tree.DefaultMutableTreeNode implements ComponentScriptEditor.ComponentScriptNode
| Constructor and Description |
|---|
MethodDescriptorNode(java.beans.MethodDescriptor method,
ActionAdapter adapter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.Map<java.lang.String,java.lang.Object> |
getBuilderInfo() |
int |
getBuilderMode() |
java.lang.String |
getJythonCode() |
java.beans.MethodDescriptor |
getMethodDescriptor() |
EventSetDescriptorNode |
getParent() |
ScriptScopeStyle |
getScopeStyle() |
boolean |
hasScript()
Deprecated.
|
boolean |
isChanged() |
boolean |
isInUse() |
boolean |
isInvokeLater() |
static boolean |
methodsEqual(java.beans.MethodDescriptor m1,
java.beans.MethodDescriptor m2)
Delegates to the descriptor's underlying
Method to test for equality, since MethodDescriptor
doesn't implement .equals() |
void |
setBuilderInfo(java.util.Map<java.lang.String,java.lang.Object> builderInfo) |
void |
setBuilderMode(int mode) |
void |
setInvokeLater(boolean invokeLater) |
void |
setJythonCode(java.lang.String jythonCode) |
void |
setScopeStyle(ScriptScopeStyle scopeStyle) |
java.lang.String |
toString() |
void |
updated(ActionAdapter newAdapter) |
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, setUserObjectpublic MethodDescriptorNode(java.beans.MethodDescriptor method,
ActionAdapter adapter)
public static boolean methodsEqual(java.beans.MethodDescriptor m1,
java.beans.MethodDescriptor m2)
Method to test for equality, since MethodDescriptor
doesn't implement .equals()public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.beans.MethodDescriptor getMethodDescriptor()
public EventSetDescriptorNode getParent()
getParent in interface javax.swing.tree.TreeNodegetParent in class javax.swing.tree.DefaultMutableTreeNodepublic java.lang.String getJythonCode()
public void setJythonCode(java.lang.String jythonCode)
public ScriptScopeStyle getScopeStyle()
public void setScopeStyle(ScriptScopeStyle scopeStyle)
public boolean isInvokeLater()
public void setInvokeLater(boolean invokeLater)
public int getBuilderMode()
public void setBuilderMode(int mode)
@Deprecated public boolean hasScript()
public boolean isChanged()
isChanged in interface ComponentScriptEditor.ComponentScriptNodepublic boolean isInUse()
isInUse in interface ComponentScriptEditor.ComponentScriptNodepublic void updated(ActionAdapter newAdapter)
public java.util.Map<java.lang.String,java.lang.Object> getBuilderInfo()
public void setBuilderInfo(java.util.Map<java.lang.String,java.lang.Object> builderInfo)
public java.lang.String toString()
toString in class javax.swing.tree.DefaultMutableTreeNode