public static enum DKW.TurnDirection extends java.lang.Enum<DKW.TurnDirection>
A_ _C \_/ _/ \_ B D
Enum Constant and Description |
---|
AC_BD
Weichenlage Bogenfahrt.
|
AD_BC
Weichenlage Überkreuzfahrt.
|
Modifier and Type | Method and Description |
---|---|
Command |
getCommand()
Diese Methode gibt das Schaltkommando zurück.
|
DirectionCode |
getDirectionCode()
Diese Methode gibt die Weichenlage als
DirectionCode zurück. |
java.lang.String |
toString()
Weichenlage als Text.
|
static DKW.TurnDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DKW.TurnDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DKW.TurnDirection AC_BD
public static final DKW.TurnDirection AD_BC
public static DKW.TurnDirection[] values()
for (DKW.TurnDirection c : DKW.TurnDirection.values()) System.out.println(c);
public static DKW.TurnDirection 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 nullpublic DirectionCode getDirectionCode()
DirectionCode
zurück.DirectionCode
.public Command getCommand()
public java.lang.String toString()
toString
in class java.lang.Enum<DKW.TurnDirection>
Copyright © 2011 all committers of this modelrailway project