Package jmri.jmrit.ctc.ctcserialdata
Enum CodeButtonHandlerData.LOCK_IMPLEMENTATION
- java.lang.Object
-
- java.lang.Enum<CodeButtonHandlerData.LOCK_IMPLEMENTATION>
-
- jmri.jmrit.ctc.ctcserialdata.CodeButtonHandlerData.LOCK_IMPLEMENTATION
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CodeButtonHandlerData.LOCK_IMPLEMENTATION>
- Enclosing class:
- CodeButtonHandlerData
public static enum CodeButtonHandlerData.LOCK_IMPLEMENTATION extends java.lang.Enum<CodeButtonHandlerData.LOCK_IMPLEMENTATION>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getInt()
static CodeButtonHandlerData.LOCK_IMPLEMENTATION
getLockImplementation(int radioGroupValue)
static CodeButtonHandlerData.LOCK_IMPLEMENTATION
getLockImplementation(javax.swing.ButtonGroup buttonGroup)
static CodeButtonHandlerData.LOCK_IMPLEMENTATION
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CodeButtonHandlerData.LOCK_IMPLEMENTATION[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GREGS
public static final CodeButtonHandlerData.LOCK_IMPLEMENTATION GREGS
-
OTHER
public static final CodeButtonHandlerData.LOCK_IMPLEMENTATION OTHER
-
-
Method Detail
-
values
public static CodeButtonHandlerData.LOCK_IMPLEMENTATION[] 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 (CodeButtonHandlerData.LOCK_IMPLEMENTATION c : CodeButtonHandlerData.LOCK_IMPLEMENTATION.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CodeButtonHandlerData.LOCK_IMPLEMENTATION 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
-
getInt
public int getInt()
-
getLockImplementation
public static CodeButtonHandlerData.LOCK_IMPLEMENTATION getLockImplementation(int radioGroupValue)
-
getLockImplementation
public static CodeButtonHandlerData.LOCK_IMPLEMENTATION getLockImplementation(javax.swing.ButtonGroup buttonGroup)
-
-