Package jmri.jmrix.bachrus.speedmatcher
Enum SpeedMatcher.SpeedMatcherCV
- java.lang.Object
-
- java.lang.Enum<SpeedMatcher.SpeedMatcherCV>
-
- jmri.jmrix.bachrus.speedmatcher.SpeedMatcher.SpeedMatcherCV
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SpeedMatcher.SpeedMatcherCV>
- Enclosing class:
- SpeedMatcher
protected static enum SpeedMatcher.SpeedMatcherCV extends java.lang.Enum<SpeedMatcher.SpeedMatcherCV>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEL
DECEL
FORWARDTRIM
REVERSETRIM
VHIGH
VMID
VSTART
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCV()
Gets the string CV value for the SpeedMatcherCVjava.lang.String
getCVDisplayName()
Gets the string display name of the SpeedMatcherCVjava.lang.String
getName()
Gets the string name of the SpeedMatcherCVstatic SpeedMatcher.SpeedMatcherCV
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SpeedMatcher.SpeedMatcherCV[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VSTART
public static final SpeedMatcher.SpeedMatcherCV VSTART
-
VMID
public static final SpeedMatcher.SpeedMatcherCV VMID
-
VHIGH
public static final SpeedMatcher.SpeedMatcherCV VHIGH
-
ACCEL
public static final SpeedMatcher.SpeedMatcherCV ACCEL
-
DECEL
public static final SpeedMatcher.SpeedMatcherCV DECEL
-
FORWARDTRIM
public static final SpeedMatcher.SpeedMatcherCV FORWARDTRIM
-
REVERSETRIM
public static final SpeedMatcher.SpeedMatcherCV REVERSETRIM
-
-
Method Detail
-
values
public static SpeedMatcher.SpeedMatcherCV[] 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.SpeedMatcherCV c : SpeedMatcher.SpeedMatcherCV.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.SpeedMatcherCV 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
-
getCV
public java.lang.String getCV()
Gets the string CV value for the SpeedMatcherCV- Returns:
- string CV value
-
getName
public java.lang.String getName()
Gets the string name of the SpeedMatcherCV- Returns:
- string name
-
getCVDisplayName
public java.lang.String getCVDisplayName()
Gets the string display name of the SpeedMatcherCV- Returns:
- string display name
-
-