public static enum CTimer.Status extends Enum<CTimer.Status>
Enum Constant and Description |
---|
INITIALIZED
Initial status, when the timer has been created.
|
RUNNING
When the timer has been started.
|
STOPPED
When the timer has been stopped.
|
Modifier and Type | Method and Description |
---|---|
static CTimer.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CTimer.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CTimer.Status INITIALIZED
public static final CTimer.Status RUNNING
public static final CTimer.Status STOPPED
public static CTimer.Status[] values()
for (CTimer.Status c : CTimer.Status.values()) System.out.println(c);
public static CTimer.Status 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 null