|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.eclipse.swt.internal.SWTEventObject
org.eclipse.swt.events.TypedEvent
org.severe.jripples.eig.JRipplesEIGNodeEvent
public class JRipplesEIGNodeEvent
JRipplesEIGNodeEvent class represents lifecycle and content events that happen with a particular JRipplesEIGNode
. That is,
creation, changes in underlying member, mark and probability, and node removal.
JRipplesEIGNode
,
Serialized FormField Summary | |
---|---|
static int |
NODE_ADDED
Event constant for JRipplesEIGNode creation. |
static int |
NODE_MARK_CHANGED
Event constant for JRipplesEIGNode mark changes. |
static int |
NODE_MEMBER_CHANGED
Event constant for JRipplesEIGNode underlying IMember changes. |
static int |
NODE_PROBABILITY_CHANGED
Event constant for JRipplesEIGNode probability changes. |
static int |
NODE_REMOVED
Event constant for JRipplesEIGNode removal. |
Fields inherited from class org.eclipse.swt.events.TypedEvent |
---|
data, display, time, widget |
Constructor Summary | |
---|---|
JRipplesEIGNodeEvent(JRipplesEIGNode node,
int type)
|
Method Summary | |
---|---|
int |
getEventType()
Returns a type of the node event, where type is one of the constants defined in JRipplesEIGNodeEvent . |
JRipplesEIGNode |
getNode()
Returns the node this event occured on. |
Methods inherited from class org.eclipse.swt.events.TypedEvent |
---|
toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NODE_MARK_CHANGED
JRipplesEIGNode
mark changes. Will occur if JRipplesEIGNode.setMark(String)
was called.
public static final int NODE_PROBABILITY_CHANGED
JRipplesEIGNode
probability changes. Will occur if JRipplesEIGNode.setProbability(String)
was called.
public static final int NODE_MEMBER_CHANGED
JRipplesEIGNode
underlying IMember changes. Will occured if JRipplesEIGNode.JRipplesEIGNode(org.eclipse.jdt.core.IMember)
constructor was called.
public static final int NODE_ADDED
JRipplesEIGNode
creation. Will occured if JRipplesEIG.addNode(org.eclipse.jdt.core.IMember)
was called.
public static final int NODE_REMOVED
JRipplesEIGNode
removal. Will occured if JRipplesEIG.removeNode(JRipplesEIGNode)
was called, or if a Node of declaring class of this node was removed.
Constructor Detail |
---|
public JRipplesEIGNodeEvent(JRipplesEIGNode node, int type)
node
- The node this event occured ontype
- Type of the node event, where type is one of the constants defined in JRipplesEIGNodeEvent
Method Detail |
---|
public JRipplesEIGNode getNode()
public int getEventType()
JRipplesEIGNodeEvent
.
JRipplesEIGNodeEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |