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:
Serializable,Comparable<SpeedMatcher.SpeedTableStep>,java.lang.constant.Constable
- Enclosing class:
- SpeedMatcher
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetCV()Gets the string CV of the SpeedTableStepabstract SpeedMatcher.SpeedTableStepgetNext()Gets the next SpeedTableStepabstract SpeedMatcher.SpeedTableStepGets the previous SpeedTableStepintGets the speed step as an intstatic SpeedMatcher.SpeedTableStepReturns 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 Details
-
STEP1
-
STEP2
-
STEP3
-
STEP4
-
STEP5
-
STEP6
-
STEP7
-
STEP8
-
STEP9
-
STEP10
-
STEP11
-
STEP12
-
STEP13
-
STEP14
-
STEP15
-
STEP16
-
STEP17
-
STEP18
-
STEP19
-
STEP20
-
STEP21
-
STEP22
-
STEP23
-
STEP24
-
STEP25
-
STEP26
-
STEP27
-
STEP28
-
-
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
-
getSpeedStep
Gets the speed step as an int- Returns:
- int speed step
-
getCV
Gets the string CV of the SpeedTableStep- Returns:
- string CV
-
getNext
Gets the next SpeedTableStep- Returns:
- next SpeedTableStep
-
getPrevious
Gets the previous SpeedTableStep- Returns:
- previous SpeedTableStep
-