Class EventSetDescriptorNode
- java.lang.Object
- 
- javax.swing.tree.DefaultMutableTreeNode
- 
- com.inductiveautomation.factorypmi.designer.eventhandling.EventSetDescriptorNode
 
 
- 
- All Implemented Interfaces:
- ComponentScriptEditor.ComponentScriptNode,- java.io.Serializable,- java.lang.Cloneable,- java.lang.Comparable<EventSetDescriptorNode>,- java.lang.Iterable<MethodDescriptorNode>,- javax.swing.tree.MutableTreeNode,- javax.swing.tree.TreeNode
 
 public class EventSetDescriptorNode extends javax.swing.tree.DefaultMutableTreeNode implements java.lang.Comparable<EventSetDescriptorNode>, ComponentScriptEditor.ComponentScriptNode, java.lang.Iterable<MethodDescriptorNode> This is a wrapper around the beansEventSetDescriptorthat also holds all of the relevant methods as children.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description EventSetDescriptorNode(java.beans.EventSetDescriptor eventSet, javax.swing.JComponent bean)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(EventSetDescriptorNode o)booleanequals(java.lang.Object o)static booleaneventSetsEqual(java.beans.EventSetDescriptor set1, java.beans.EventSetDescriptor set2)Uses the eventset name and listener type to evaluate equality, sinceEventSetDescriptordoesn't implement .equals()static ActionAdaptergetActionAdapter(java.awt.Component bean, java.beans.EventSetDescriptor eventSet, java.beans.MethodDescriptor method)java.beans.EventSetDescriptorgetEventSet()MethodDescriptorNodegetFirstRegisteredMethod()static booleanisActionRegisteredForEvent(javax.swing.JComponent bean, java.beans.EventSetDescriptor eventSet, java.beans.MethodDescriptor method)booleanisChanged()booleanisInUse()java.util.Iterator<MethodDescriptorNode>iterator()java.lang.StringtoString()- 
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, 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- 
eventSetsEqualpublic static boolean eventSetsEqual(java.beans.EventSetDescriptor set1, java.beans.EventSetDescriptor set2)Uses the eventset name and listener type to evaluate equality, sinceEventSetDescriptordoesn't implement .equals()
 - 
getActionAdapterpublic static ActionAdapter getActionAdapter(java.awt.Component bean, java.beans.EventSetDescriptor eventSet, java.beans.MethodDescriptor method) 
 - 
isActionRegisteredForEventpublic static boolean isActionRegisteredForEvent(javax.swing.JComponent bean, java.beans.EventSetDescriptor eventSet, java.beans.MethodDescriptor method)
 - 
iteratorpublic java.util.Iterator<MethodDescriptorNode> iterator() - Specified by:
- iteratorin interface- java.lang.Iterable<MethodDescriptorNode>
 
 - 
getEventSetpublic java.beans.EventSetDescriptor getEventSet() 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
isInUsepublic boolean isInUse() - Specified by:
- isInUsein interface- ComponentScriptEditor.ComponentScriptNode
 
 - 
isChangedpublic boolean isChanged() - Specified by:
- isChangedin interface- ComponentScriptEditor.ComponentScriptNode
 
 - 
getFirstRegisteredMethodpublic MethodDescriptorNode getFirstRegisteredMethod() 
 - 
compareTopublic int compareTo(EventSetDescriptorNode o) - Specified by:
- compareToin interface- java.lang.Comparable<EventSetDescriptorNode>
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- javax.swing.tree.DefaultMutableTreeNode
 
 
- 
 
-