|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.EventObject
beowulf.event.GraphSelectionEvent
This class is the event that is generated whenever a JNode is
selected. The interested listener should be registered to the
JGraph.
| Field Summary | |
static int |
NODE_DESELECTED
Indicates a node was deselected. |
static int |
NODE_SELECTED
Indicates a node was selected. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
GraphSelectionEvent(Object source,
int newEventType,
Object newValue)
The only constructor for this event. |
|
| Method Summary | |
int |
getEventType()
Returns the type of event. |
Object |
getValue()
Returns the node whose status changed. |
String |
toString()
|
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int NODE_SELECTED
public static final int NODE_DESELECTED
| Constructor Detail |
public GraphSelectionEvent(Object source,
int newEventType,
Object newValue)
source - The JGraph which fired the event.newEventType - The type of event - node selected or node deselected.newValue - The node whose value changed.| Method Detail |
public Object getValue()
public int getEventType()
public String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||