|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JSimSimulationMode>
cz.zcu.fav.kiv.jsim.JSimSimulationMode
public enum JSimSimulationMode
The simulation mode defines some properties and capabilities of a simulation. Currently there are three modes available:
Enum Constant Summary | |
---|---|
GUI_BATCH
Output goes to a GUI window. |
|
GUI_INTERACTIVE
Output goes to a GUI window. |
|
TEXT
Output goes to console only. |
Field Summary | |
---|---|
private java.lang.String |
humanReadableDescription
A human-readable description of the simulation mode. |
Method Summary | |
---|---|
java.lang.String |
toString()
Returns a human-readable description of the simulation mode. |
static JSimSimulationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JSimSimulationMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JSimSimulationMode TEXT
public static final JSimSimulationMode GUI_BATCH
public static final JSimSimulationMode GUI_INTERACTIVE
Field Detail |
---|
private final java.lang.String humanReadableDescription
Method Detail |
---|
public static final JSimSimulationMode[] values()
for(JSimSimulationMode c : JSimSimulationMode.values()) System.out.println(c);
public static JSimSimulationMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic java.lang.String toString()
toString
in class java.lang.Enum<JSimSimulationMode>
Enum.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |