public enum DisplayCommand extends java.lang.Enum<DisplayCommand> implements BaseEnum, Command
Enum Constant and Description |
---|
BACKLIGHT_CONTROL_REQ |
BACKLIGHT_CONTROL_RES |
KEY_STREAM_DATA |
KEY_TEST_REQ |
KEY_TEST_RES |
REF |
SET_DISPLAY_REQ |
SET_DISPLAY_RES |
Modifier and Type | Method and Description |
---|---|
static DisplayCommand |
getEnum(byte[] data) |
byte[] |
getID() |
DisplayCommand |
getRefEnum(byte[] data) |
java.lang.String |
toString() |
static DisplayCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisplayCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayCommand REF
public static final DisplayCommand SET_DISPLAY_REQ
public static final DisplayCommand SET_DISPLAY_RES
public static final DisplayCommand BACKLIGHT_CONTROL_REQ
public static final DisplayCommand BACKLIGHT_CONTROL_RES
public static final DisplayCommand KEY_TEST_REQ
public static final DisplayCommand KEY_TEST_RES
public static final DisplayCommand KEY_STREAM_DATA
public static DisplayCommand[] values()
for (DisplayCommand c : DisplayCommand.values()) System.out.println(c);
public static DisplayCommand valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static DisplayCommand getEnum(byte[] data)
public DisplayCommand getRefEnum(byte[] data)
getRefEnum
in interface BaseEnum
public byte[] getID()
public java.lang.String toString()
toString
in class java.lang.Enum<DisplayCommand>