public static enum YDisplay.DISPLAYSTATE extends Enum<YDisplay.DISPLAYSTATE>
| Enum Constant and Description |
|---|
FAILURE |
IDLE |
INVALID |
OFF |
POWERING |
REFRESHING |
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static YDisplay.DISPLAYSTATE |
fromInt(int intval) |
static YDisplay.DISPLAYSTATE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YDisplay.DISPLAYSTATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YDisplay.DISPLAYSTATE FAILURE
public static final YDisplay.DISPLAYSTATE OFF
public static final YDisplay.DISPLAYSTATE POWERING
public static final YDisplay.DISPLAYSTATE IDLE
public static final YDisplay.DISPLAYSTATE REFRESHING
public static final YDisplay.DISPLAYSTATE INVALID
public static YDisplay.DISPLAYSTATE[] values()
for (YDisplay.DISPLAYSTATE c : YDisplay.DISPLAYSTATE.values()) System.out.println(c);
public static YDisplay.DISPLAYSTATE 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 nullpublic static YDisplay.DISPLAYSTATE fromInt(int intval)
Copyright © 2026. All rights reserved.