Package jmri.jmrix.bachrus.speedmatcher
Enum SpeedMatcher.SpeedTableStep
- java.lang.Object
-
- java.lang.Enum<SpeedMatcher.SpeedTableStep>
-
- jmri.jmrix.bachrus.speedmatcher.SpeedMatcher.SpeedTableStep
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SpeedMatcher.SpeedTableStep>
- Enclosing class:
- SpeedMatcher
public static enum SpeedMatcher.SpeedTableStep extends java.lang.Enum<SpeedMatcher.SpeedTableStep>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCV()
Gets the string CV of the SpeedTableStepabstract SpeedMatcher.SpeedTableStep
getNext()
Gets the next SpeedTableStepabstract SpeedMatcher.SpeedTableStep
getPrevious()
Gets the previous SpeedTableStepint
getSpeedStep()
Gets the speed step as an intstatic SpeedMatcher.SpeedTableStep
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SpeedMatcher.SpeedTableStep[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STEP1
public static final SpeedMatcher.SpeedTableStep STEP1
-
STEP2
public static final SpeedMatcher.SpeedTableStep STEP2
-
STEP3
public static final SpeedMatcher.SpeedTableStep STEP3
-
STEP4
public static final SpeedMatcher.SpeedTableStep STEP4
-
STEP5
public static final SpeedMatcher.SpeedTableStep STEP5
-
STEP6
public static final SpeedMatcher.SpeedTableStep STEP6
-
STEP7
public static final SpeedMatcher.SpeedTableStep STEP7
-
STEP8
public static final SpeedMatcher.SpeedTableStep STEP8
-
STEP9
public static final SpeedMatcher.SpeedTableStep STEP9
-
STEP10
public static final SpeedMatcher.SpeedTableStep STEP10
-
STEP11
public static final SpeedMatcher.SpeedTableStep STEP11
-
STEP12
public static final SpeedMatcher.SpeedTableStep STEP12
-
STEP13
public static final SpeedMatcher.SpeedTableStep STEP13
-
STEP14
public static final SpeedMatcher.SpeedTableStep STEP14
-
STEP15
public static final SpeedMatcher.SpeedTableStep STEP15
-
STEP16
public static final SpeedMatcher.SpeedTableStep STEP16
-
STEP17
public static final SpeedMatcher.SpeedTableStep STEP17
-
STEP18
public static final SpeedMatcher.SpeedTableStep STEP18
-
STEP19
public static final SpeedMatcher.SpeedTableStep STEP19
-
STEP20
public static final SpeedMatcher.SpeedTableStep STEP20
-
STEP21
public static final SpeedMatcher.SpeedTableStep STEP21
-
STEP22
public static final SpeedMatcher.SpeedTableStep STEP22
-
STEP23
public static final SpeedMatcher.SpeedTableStep STEP23
-
STEP24
public static final SpeedMatcher.SpeedTableStep STEP24
-
STEP25
public static final SpeedMatcher.SpeedTableStep STEP25
-
STEP26
public static final SpeedMatcher.SpeedTableStep STEP26
-
STEP27
public static final SpeedMatcher.SpeedTableStep STEP27
-
STEP28
public static final SpeedMatcher.SpeedTableStep STEP28
-
-
Method Detail
-
values
public static SpeedMatcher.SpeedTableStep[] 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 (SpeedMatcher.SpeedTableStep c : SpeedMatcher.SpeedTableStep.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpeedMatcher.SpeedTableStep 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
-
getSpeedStep
public int getSpeedStep()
Gets the speed step as an int- Returns:
- int speed step
-
getCV
public java.lang.String getCV()
Gets the string CV of the SpeedTableStep- Returns:
- string CV
-
getNext
public abstract SpeedMatcher.SpeedTableStep getNext()
Gets the next SpeedTableStep- Returns:
- next SpeedTableStep
-
getPrevious
public abstract SpeedMatcher.SpeedTableStep getPrevious()
Gets the previous SpeedTableStep- Returns:
- previous SpeedTableStep
-
-