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:
Serializable,Comparable<TurnoutSection.TurnoutCentralSection.State>,java.lang.constant.Constable
- Enclosing class:
- TurnoutSection.TurnoutCentralSection
static enum TurnoutSection.TurnoutCentralSection.State
extends Enum<TurnoutSection.TurnoutCentralSection.State>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA lock has forbidden move or turnout inconsistent; both indicators OFFCommand has gone to layout, no verification of move has come back yet; both indicators OFF -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SHOWING_NORMAL
-
SHOWING_REVERSED
-
DARK_WAITING_REPLY
Command has gone to layout, no verification of move has come back yet; both indicators OFF -
DARK_INCONSISTENT
A lock has forbidden move or turnout inconsistent; both indicators OFF
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-