Package jmri.jmrit.ussctc
Enum TurnoutSection.TurnoutCentralSection.State
- java.lang.Object
-
- java.lang.Enum<TurnoutSection.TurnoutCentralSection.State>
-
- jmri.jmrit.ussctc.TurnoutSection.TurnoutCentralSection.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TurnoutSection.TurnoutCentralSection.State>
- Enclosing class:
- TurnoutSection.TurnoutCentralSection
static enum TurnoutSection.TurnoutCentralSection.State extends java.lang.Enum<TurnoutSection.TurnoutCentralSection.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DARK_INCONSISTENT
A lock has forbidden move or turnout inconsistent; both indicators OFFDARK_WAITING_REPLY
Command has gone to layout, no verification of move has come back yet; both indicators OFFSHOWING_NORMAL
SHOWING_REVERSED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TurnoutSection.TurnoutCentralSection.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TurnoutSection.TurnoutCentralSection.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHOWING_NORMAL
public static final TurnoutSection.TurnoutCentralSection.State SHOWING_NORMAL
-
SHOWING_REVERSED
public static final TurnoutSection.TurnoutCentralSection.State SHOWING_REVERSED
-
DARK_WAITING_REPLY
public static final TurnoutSection.TurnoutCentralSection.State DARK_WAITING_REPLY
Command has gone to layout, no verification of move has come back yet; both indicators OFF
-
DARK_INCONSISTENT
public static final TurnoutSection.TurnoutCentralSection.State DARK_INCONSISTENT
A lock has forbidden move or turnout inconsistent; both indicators OFF
-
-
Method Detail
-
values
public static TurnoutSection.TurnoutCentralSection.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TurnoutSection.TurnoutCentralSection.State c : TurnoutSection.TurnoutCentralSection.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TurnoutSection.TurnoutCentralSection.State valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-