|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.gui.SimTimeEvents.PauseEvent
An instance of this class can be inserted into the sim
it will pause the sim until unpause() is called.
| Field Summary | |
boolean |
ispaused
|
| Constructor Summary | |
SimTimeEvents.PauseEvent()
|
|
| Method Summary | |
void |
fire()
The fire() method is called when the event to which it is tied happens with in the
simulator. |
void |
pause()
|
void |
unpause()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public boolean ispaused
| Constructor Detail |
public SimTimeEvents.PauseEvent()
| Method Detail |
public void fire()
Simulator.Eventfire() method is called when the event to which it is tied happens with in the
simulator.
fire in interface Simulator.Eventpublic void unpause()
public void pause()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||