|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.atvoice.message.SimState
public class SimState
This class contains the vlaues that can be used for the State of the Simulation See the source SimState.java
| Field Summary | |
|---|---|
static SimState |
ABORT_REPLAY
|
static SimState |
BEGIN_EXERCISE
|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID. |
static SimState |
END_EXERCISE
|
static SimState |
FREEZE_EXERCISE
|
static SimState |
FREEZE_REPLAY
|
private java.lang.String |
name
|
static SimState |
REPLAY_EXERCISE
|
static SimState |
REPLAY_EXERCISE_2
|
static SimState |
RESUME_EXERCISE
|
static SimState |
RESUME_REPLAY
|
private byte |
simState
|
static SimState |
UNKNOWN_STATE
|
private static java.util.Hashtable<java.lang.Integer,SimState> |
values
|
| Constructor Summary | |
|---|---|
private |
SimState(java.lang.String name,
byte simState)
Constructor |
| Method Summary | |
|---|---|
byte |
getState()
Returns the number used to represent the state of the simulation |
static SimState |
getStateByNumber(byte simState)
Returns the sim state for the given number |
java.lang.String |
toString()
Returns a string representation of this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CVS_VERSION_ID
private java.lang.String name
private byte simState
private static final java.util.Hashtable<java.lang.Integer,SimState> values
public static final SimState BEGIN_EXERCISE
public static final SimState END_EXERCISE
public static final SimState FREEZE_EXERCISE
public static final SimState RESUME_EXERCISE
public static final SimState REPLAY_EXERCISE
public static final SimState FREEZE_REPLAY
public static final SimState RESUME_REPLAY
public static final SimState REPLAY_EXERCISE_2
public static final SimState ABORT_REPLAY
public static final SimState UNKNOWN_STATE
| Constructor Detail |
|---|
private SimState(java.lang.String name,
byte simState)
name - - the name of the sim statesimState - - number used to represent sim state| Method Detail |
|---|
public static SimState getStateByNumber(byte simState)
simState - - the sim state to look for
public java.lang.String toString()
toString in class java.lang.Objectpublic byte getState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||