Class EventSetDescriptorNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
com.inductiveautomation.factorypmi.designer.eventhandling.EventSetDescriptorNode
- All Implemented Interfaces:
- ComponentScriptEditor.ComponentScriptNode,- Serializable,- Cloneable,- Comparable<EventSetDescriptorNode>,- Iterable<MethodDescriptorNode>,- MutableTreeNode,- TreeNode
public class EventSetDescriptorNode
extends DefaultMutableTreeNode
implements Comparable<EventSetDescriptorNode>, ComponentScriptEditor.ComponentScriptNode, Iterable<MethodDescriptorNode>
This is a wrapper around the beans 
EventSetDescriptor that also holds all of the relevant methods as
 children.- See Also:
- 
Field SummaryFields inherited from class javax.swing.tree.DefaultMutableTreeNodeallowsChildren, children, EMPTY_ENUMERATION, parent, userObject
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintbooleanstatic booleaneventSetsEqual(EventSetDescriptor set1, EventSetDescriptor set2) Uses the eventset name and listener type to evaluate equality, sinceEventSetDescriptordoesn't implement .equals()static ActionAdaptergetActionAdapter(Component bean, EventSetDescriptor eventSet, MethodDescriptor method) static booleanisActionRegisteredForEvent(JComponent bean, EventSetDescriptor eventSet, MethodDescriptor method) booleanbooleanisInUse()iterator()toString()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, setUserObjectMethods inherited from class java.lang.Objectfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
EventSetDescriptorNode
 
- 
- 
Method Details- 
eventSetsEqualUses the eventset name and listener type to evaluate equality, sinceEventSetDescriptordoesn't implement .equals()
- 
getActionAdapterpublic static ActionAdapter getActionAdapter(Component bean, EventSetDescriptor eventSet, MethodDescriptor method) 
- 
isActionRegisteredForEventpublic static boolean isActionRegisteredForEvent(JComponent bean, EventSetDescriptor eventSet, MethodDescriptor method) 
- 
iterator- Specified by:
- iteratorin interface- Iterable<MethodDescriptorNode>
 
- 
getEventSet
- 
equals
- 
isInUsepublic boolean isInUse()- Specified by:
- isInUsein interface- ComponentScriptEditor.ComponentScriptNode
 
- 
isChangedpublic boolean isChanged()- Specified by:
- isChangedin interface- ComponentScriptEditor.ComponentScriptNode
 
- 
getFirstRegisteredMethod
- 
compareTo- Specified by:
- compareToin interface- Comparable<EventSetDescriptorNode>
 
- 
toString- Overrides:
- toStringin class- DefaultMutableTreeNode
 
 
-