|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmauda.ExerciseMode
public class ExerciseMode
Holds the different modes for exercises and maps them to strings and vice versa.
| Field Summary | |
|---|---|
static int |
FAULT
FaultMode |
static int |
NORMAL
NormalMode |
static int |
UNKNOWN
UnknownMode |
| Constructor Summary | |
|---|---|
ExerciseMode()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getGUIString(int mode)
Gets for a mode-ID the corresponding mode-string. |
static int |
getID(java.lang.String mode)
Gets for a mode-string the corresponding mode-ID |
static java.lang.String |
getString(int mode)
Gets for a mode-ID the corresponding mode-string, which is used for saving-purposes. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NORMAL
public static final int FAULT
public static final int UNKNOWN
| Constructor Detail |
|---|
public ExerciseMode()
| Method Detail |
|---|
public static int getID(java.lang.String mode)
mode - Mode as string
public static java.lang.String getString(int mode)
mode - mode-ID
public static java.lang.String getGUIString(int mode)
getString is, that this string
is used in GUIS, e.g. menus or buttons.
mode - mode-ID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||