Enum CbusBootloaderPane.BootState
- java.lang.Object
-
- java.lang.Enum<CbusBootloaderPane.BootState>
-
- jmri.jmrix.can.cbus.swing.bootloader.CbusBootloaderPane.BootState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CbusBootloaderPane.BootState>
- Enclosing class:
- CbusBootloaderPane
protected static enum CbusBootloaderPane.BootState extends java.lang.Enum<CbusBootloaderPane.BootState>
Bootloader state machine states
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECK_BOOT_MODE
CHECK_SENT
ENABLES_SENT
GET_PARAMS
IDLE
INIT_SENT
NOP_SENT
PROG_DATA
PROG_PAUSE
START_BOOT
WAIT_BOOT_DEVID
WAIT_BOOT_ID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CbusBootloaderPane.BootState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CbusBootloaderPane.BootState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDLE
public static final CbusBootloaderPane.BootState IDLE
-
GET_PARAMS
public static final CbusBootloaderPane.BootState GET_PARAMS
-
START_BOOT
public static final CbusBootloaderPane.BootState START_BOOT
-
CHECK_BOOT_MODE
public static final CbusBootloaderPane.BootState CHECK_BOOT_MODE
-
WAIT_BOOT_DEVID
public static final CbusBootloaderPane.BootState WAIT_BOOT_DEVID
-
WAIT_BOOT_ID
public static final CbusBootloaderPane.BootState WAIT_BOOT_ID
-
ENABLES_SENT
public static final CbusBootloaderPane.BootState ENABLES_SENT
-
INIT_SENT
public static final CbusBootloaderPane.BootState INIT_SENT
-
PROG_DATA
public static final CbusBootloaderPane.BootState PROG_DATA
-
PROG_PAUSE
public static final CbusBootloaderPane.BootState PROG_PAUSE
-
CHECK_SENT
public static final CbusBootloaderPane.BootState CHECK_SENT
-
NOP_SENT
public static final CbusBootloaderPane.BootState NOP_SENT
-
-
Method Detail
-
values
public static CbusBootloaderPane.BootState[] 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 (CbusBootloaderPane.BootState c : CbusBootloaderPane.BootState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CbusBootloaderPane.BootState 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
-
-