public enum ControlLabCommandEnum extends Enum<ControlLabCommandEnum>
| Enum Constant and Description |
|---|
LABEL |
ONOFF |
POWER |
REV |
STARTOFF |
STARTON |
STOPOFF |
STOPON |
| Modifier and Type | Method and Description |
|---|---|
static ControlLabCommandEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlLabCommandEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlLabCommandEnum LABEL
public static final ControlLabCommandEnum ONOFF
public static final ControlLabCommandEnum POWER
public static final ControlLabCommandEnum REV
public static final ControlLabCommandEnum STARTON
public static final ControlLabCommandEnum STARTOFF
public static final ControlLabCommandEnum STOPON
public static final ControlLabCommandEnum STOPOFF
public static ControlLabCommandEnum[] values()
for (ControlLabCommandEnum c : ControlLabCommandEnum.values()) System.out.println(c);
public static ControlLabCommandEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.