net.sourceforge.frcsimulator.mistware
Class Simulator.Status

java.lang.Object
  extended by net.sourceforge.frcsimulator.mistware.Simulator.Status
Enclosing class:
Simulator

public static class Simulator.Status
extends java.lang.Object

Represents the various states the simulator can be in--initalizing, running, stopped, erring, etc.


Field Summary
static Simulator.Status ERROR
          Exited abnormally after throwing something.
static Simulator.Status INITIALIZING
          Instantiating the MIDlet class.
static Simulator.Status READY
          Ready to run, but not actually doing anything.
static Simulator.Status RUNNING
          Actually running; this means that the MIDlet.startApp() class is active.
static Simulator.Status STOPPED
          Finished running; exited without throwing anything.
 
Method Summary
 boolean isRunning()
           
 boolean isStopped()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

READY

public static final Simulator.Status READY
Ready to run, but not actually doing anything.


INITIALIZING

public static final Simulator.Status INITIALIZING
Instantiating the MIDlet class.


RUNNING

public static final Simulator.Status RUNNING
Actually running; this means that the MIDlet.startApp() class is active.


STOPPED

public static final Simulator.Status STOPPED
Finished running; exited without throwing anything.


ERROR

public static final Simulator.Status ERROR
Exited abnormally after throwing something.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isRunning

public boolean isRunning()
Returns:
True if the simulator is running or initializing.

isStopped

public boolean isStopped()
Returns:
True if the simulator is stopped (normally or because of an error).