public static enum DisplayUtilities.SleepTime extends java.lang.Enum<DisplayUtilities.SleepTime>
Enum Constant and Description |
---|
SLEEP_TIME_1_MIN |
SLEEP_TIME_10_MIN |
SLEEP_TIME_15_SEC |
SLEEP_TIME_2_MIN |
SLEEP_TIME_30_MIN |
SLEEP_TIME_30_SEC |
SLEEP_TIME_5_MIN |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static DisplayUtilities.SleepTime |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisplayUtilities.SleepTime[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayUtilities.SleepTime SLEEP_TIME_15_SEC
public static final DisplayUtilities.SleepTime SLEEP_TIME_30_SEC
public static final DisplayUtilities.SleepTime SLEEP_TIME_1_MIN
public static final DisplayUtilities.SleepTime SLEEP_TIME_2_MIN
public static final DisplayUtilities.SleepTime SLEEP_TIME_5_MIN
public static final DisplayUtilities.SleepTime SLEEP_TIME_10_MIN
public static final DisplayUtilities.SleepTime SLEEP_TIME_30_MIN
public static DisplayUtilities.SleepTime[] values()
for (DisplayUtilities.SleepTime c : DisplayUtilities.SleepTime.values()) System.out.println(c);
public static DisplayUtilities.SleepTime 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 getValue()