|
|
|||||||||
| 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.ControlEvent
public class ControlEvent
Events which control the execution state of a model or collection of scapes.
| Field Summary | |
|---|---|
static int |
REPORT_LISTENER_UPDATED
A listener of the target has been updated. |
static int |
REQUEST_CLOSE
The target is requested to open another model. |
static int |
REQUEST_OPEN
The target is requested to open another model, saving itself first. |
static int |
REQUEST_OPEN_SAVED
The target is requested to open a saved run, saving itself first. |
static int |
REQUEST_PAUSE
The target is requested to pause. |
static int |
REQUEST_QUIT
The target is requested to exit. |
static int |
REQUEST_RESTART
The target is requested to restart; that is, stop and start from initial state. |
static int |
REQUEST_RESUME
The target is requested to resume. |
static int |
REQUEST_SAVE
The target is requested to save itself. |
static int |
REQUEST_START
The target is requested to start. |
static int |
REQUEST_STEP
The target is requested to step one iteration. |
static int |
REQUEST_STOP
The target is requested to stop. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ControlEvent(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()
Returns a string describing this event. |
| 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 REPORT_LISTENER_UPDATED
public static final int REQUEST_START
public static final int REQUEST_STOP
public static final int REQUEST_STEP
public static final int REQUEST_RESTART
public static final int REQUEST_PAUSE
public static final int REQUEST_RESUME
public static final int REQUEST_QUIT
public static final int REQUEST_SAVE
public static final int REQUEST_CLOSE
public static final int REQUEST_OPEN
public static final int REQUEST_OPEN_SAVED
| Constructor Detail |
|---|
public ControlEvent(java.lang.Object source,
int id)
source - the object firing this alert event.id - the id| Method 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 | |||||||||