Package jmri.jmrix.bachrus
Enum SpeedoConsoleFrame.SpeedMatchState
- java.lang.Object
-
- java.lang.Enum<SpeedoConsoleFrame.SpeedMatchState>
-
- jmri.jmrix.bachrus.SpeedoConsoleFrame.SpeedMatchState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SpeedoConsoleFrame.SpeedMatchState>
- Enclosing class:
- SpeedoConsoleFrame
protected static enum SpeedoConsoleFrame.SpeedMatchState extends java.lang.Enum<SpeedoConsoleFrame.SpeedMatchState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORWARD_SPEED_MATCH_STEP_1
FORWARD_SPEED_MATCH_STEP_28
FORWARD_WARM_UP
IDLE
RESTORE_MOMENTUM
REVERSE_SPEED_MATCH_TRIM
REVERSE_WARM_UP
SETUP
WAIT_FOR_THROTTLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpeedoConsoleFrame.SpeedMatchState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SpeedoConsoleFrame.SpeedMatchState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDLE
public static final SpeedoConsoleFrame.SpeedMatchState IDLE
-
WAIT_FOR_THROTTLE
public static final SpeedoConsoleFrame.SpeedMatchState WAIT_FOR_THROTTLE
-
SETUP
public static final SpeedoConsoleFrame.SpeedMatchState SETUP
-
FORWARD_WARM_UP
public static final SpeedoConsoleFrame.SpeedMatchState FORWARD_WARM_UP
-
REVERSE_WARM_UP
public static final SpeedoConsoleFrame.SpeedMatchState REVERSE_WARM_UP
-
FORWARD_SPEED_MATCH_STEP_1
public static final SpeedoConsoleFrame.SpeedMatchState FORWARD_SPEED_MATCH_STEP_1
-
FORWARD_SPEED_MATCH_STEP_28
public static final SpeedoConsoleFrame.SpeedMatchState FORWARD_SPEED_MATCH_STEP_28
-
REVERSE_SPEED_MATCH_TRIM
public static final SpeedoConsoleFrame.SpeedMatchState REVERSE_SPEED_MATCH_TRIM
-
RESTORE_MOMENTUM
public static final SpeedoConsoleFrame.SpeedMatchState RESTORE_MOMENTUM
-
-
Method Detail
-
values
public static SpeedoConsoleFrame.SpeedMatchState[] 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 (SpeedoConsoleFrame.SpeedMatchState c : SpeedoConsoleFrame.SpeedMatchState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpeedoConsoleFrame.SpeedMatchState 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
-
-