public static enum Signal.SignalCommand extends java.lang.Enum<Signal.SignalCommand>
SignalCode
Enum Constant and Description |
---|
OFF
Signal aussschalten.
|
S0
Signal Halt!
|
S1
Signal Fahrt!
|
S2
Signal Langsamfahrt!
|
TEST
Signal im Testmodus.
|
Modifier and Type | Method and Description |
---|---|
static Signal.SignalCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Signal.SignalCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Signal.SignalCommand OFF
public static final Signal.SignalCommand S0
public static final Signal.SignalCommand S1
public static final Signal.SignalCommand S2
public static final Signal.SignalCommand TEST
public static Signal.SignalCommand[] values()
for (Signal.SignalCommand c : Signal.SignalCommand.values()) System.out.println(c);
public static Signal.SignalCommand 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 namejava.lang.NullPointerException
- if the argument is nullCopyright © 2011 all committers of this modelrailway project