|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.EventObject
ch.epfl.craft.maglib.event.UpdateEvent
This kind of event indicates that a change has occured in the state
of this application that requires an update of the MagnetNodes
positions.
| Field Summary | |
static int |
ADDED_OR_REMOVED_MAGNET
A magnet has been added or removed |
static int |
ADDED_OR_REMOVED_VISIBLE_NODES
The number of visible nodes has changed |
static int |
FORCE_FIELD_CHANGED
The force field of a magnet has changed |
static int |
NODE_DRAGGED
A node was dragged in the view |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
UpdateEvent(java.lang.Object source,
int kind)
Instantiates a new UpdateEvent object with a given
kind. |
|
| Method Summary | |
int |
getKind()
Returns the kind of this event. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static int NODE_DRAGGED
public static int ADDED_OR_REMOVED_MAGNET
public static int ADDED_OR_REMOVED_VISIBLE_NODES
public static int FORCE_FIELD_CHANGED
| Constructor Detail |
public UpdateEvent(java.lang.Object source,
int kind)
UpdateEvent object with a given
kind.
source - the source on wich the event occuredkind - the kind of event| Method Detail |
public int getKind()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||