public enum TimeoutSleep extends java.lang.Enum<TimeoutSleep>
TimeoutSleep enumeration defines the possible value for 2nd display sleep timeout.| Enum Constant and Description |
|---|
NEVER_SLEEP |
SLEEP_1_MIN |
SLEEP_10_MIN |
SLEEP_15_MIN |
SLEEP_15_SEC |
SLEEP_2_MIN |
SLEEP_20_MIN |
SLEEP_3_MIN |
SLEEP_30_MIN |
SLEEP_30_SEC |
SLEEP_4_MIN |
SLEEP_5_MIN |
| Modifier and Type | Method and Description |
|---|---|
static TimeoutSleep |
fromInt(int n)
Retrieves the corresponding TimeoutSleep value, from a valid integer.
|
int |
toInt()
Converts a TimeoutSleep to its integer corresponding value.
|
static TimeoutSleep |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimeoutSleep[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeoutSleep SLEEP_15_SEC
public static final TimeoutSleep SLEEP_30_SEC
public static final TimeoutSleep SLEEP_1_MIN
public static final TimeoutSleep SLEEP_2_MIN
public static final TimeoutSleep SLEEP_3_MIN
public static final TimeoutSleep SLEEP_4_MIN
public static final TimeoutSleep SLEEP_5_MIN
public static final TimeoutSleep SLEEP_10_MIN
public static final TimeoutSleep SLEEP_15_MIN
public static final TimeoutSleep SLEEP_20_MIN
public static final TimeoutSleep SLEEP_30_MIN
public static final TimeoutSleep NEVER_SLEEP
public static TimeoutSleep[] values()
for (TimeoutSleep c : TimeoutSleep.values()) System.out.println(c);
public static TimeoutSleep 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 int toInt()
public static TimeoutSleep fromInt(int n)
n - int