|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.ascape.model.event.ScapeEvent
public class ScapeEvent
An event describing some change in scape state. todo change to enumeration
Field Summary | |
---|---|
static int |
REPORT_ADDED
The scape requests the listener to take notice that it has been added to the scape. |
static int |
REPORT_DESERIALIZED
The scape has been deserialized. |
static int |
REPORT_INITIALIZED
The scape has been initialized. |
static int |
REPORT_ITERATE
The scape has been updated (iterated.) |
static int |
REPORT_REMOVED
The scape requests the listener to take notice that it has been removed from the scape. |
static int |
REPORT_START
The scape has been initialized, had stats collected, and started. |
static int |
REPORT_STOP
The scape has stopped. |
static int |
REQUEST_CHANGE_ITERATIONS_PER_REDRAW
The scape requests the views to change their iterationsPerRedraw. |
static int |
REQUEST_CLOSE
The scape is closing, and requests scape specific views to finish their business and destroy themselves. |
static int |
REQUEST_QUIT
The entire environment is quitting, and requests all views to finish their business and destroy itself. |
static int |
REQUEST_SETUP
The scape is in a pre-initialization state, and can be modified freely. |
static int |
TICK
A 'tick' event gerated while a scape is paused. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ScapeEvent(java.lang.Object source,
int id)
Constructs a control event, used to control a scape. |
Method Summary | |
---|---|
int |
getID()
Gets the id decribing the control event. |
java.lang.String |
paramString()
Returns a paramter string describing this event. |
java.lang.String |
toString()
Reutrns a descriptive string for this event in the form |
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 REQUEST_SETUP
public static final int REQUEST_CLOSE
public static final int REQUEST_QUIT
public static final int REPORT_INITIALIZED
public static final int REPORT_ADDED
public static final int REPORT_REMOVED
public static final int REQUEST_CHANGE_ITERATIONS_PER_REDRAW
public static final int REPORT_START
public static final int REPORT_STOP
public static final int REPORT_ITERATE
public static final int TICK
public static final int REPORT_DESERIALIZED
Constructor Detail |
---|
public ScapeEvent(java.lang.Object source, int id)
source
- the object firing this alert event.id
- the idMethod Detail |
---|
public int getID()
public java.lang.String paramString()
public java.lang.String toString()
toString
in class java.util.EventObject
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |