Package jmri.jmrix.bachrus
Enum SpeedoConsoleFrame.SpeedMatchSetupState
- java.lang.Object
-
- java.lang.Enum<SpeedoConsoleFrame.SpeedMatchSetupState>
-
- jmri.jmrix.bachrus.SpeedoConsoleFrame.SpeedMatchSetupState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SpeedoConsoleFrame.SpeedMatchSetupState>
- Enclosing class:
- SpeedoConsoleFrame
protected static enum SpeedoConsoleFrame.SpeedMatchSetupState extends java.lang.Enum<SpeedoConsoleFrame.SpeedMatchSetupState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEGIN_SPEED_MATCH
FORWARD_TRIM
IDLE
MOMENTUM_ACCEL_READ
MOMENTUM_ACCEL_WRITE
MOMENTUM_DECEL_READ
MOMENTUM_DECEL_WRITE
REVERSE_TRIM
VHIGH
VSTART
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpeedoConsoleFrame.SpeedMatchSetupState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SpeedoConsoleFrame.SpeedMatchSetupState[]
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.SpeedMatchSetupState IDLE
-
MOMENTUM_ACCEL_READ
public static final SpeedoConsoleFrame.SpeedMatchSetupState MOMENTUM_ACCEL_READ
-
MOMENTUM_DECEL_READ
public static final SpeedoConsoleFrame.SpeedMatchSetupState MOMENTUM_DECEL_READ
-
MOMENTUM_ACCEL_WRITE
public static final SpeedoConsoleFrame.SpeedMatchSetupState MOMENTUM_ACCEL_WRITE
-
MOMENTUM_DECEL_WRITE
public static final SpeedoConsoleFrame.SpeedMatchSetupState MOMENTUM_DECEL_WRITE
-
VSTART
public static final SpeedoConsoleFrame.SpeedMatchSetupState VSTART
-
VHIGH
public static final SpeedoConsoleFrame.SpeedMatchSetupState VHIGH
-
FORWARD_TRIM
public static final SpeedoConsoleFrame.SpeedMatchSetupState FORWARD_TRIM
-
REVERSE_TRIM
public static final SpeedoConsoleFrame.SpeedMatchSetupState REVERSE_TRIM
-
BEGIN_SPEED_MATCH
public static final SpeedoConsoleFrame.SpeedMatchSetupState BEGIN_SPEED_MATCH
-
-
Method Detail
-
values
public static SpeedoConsoleFrame.SpeedMatchSetupState[] 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.SpeedMatchSetupState c : SpeedoConsoleFrame.SpeedMatchSetupState.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.SpeedMatchSetupState 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
-
-