public static enum TimerControlEvent.ClockType extends Enum<TimerControlEvent.ClockType>
Enum Constant and Description |
---|
CLOCK_EXTERNAL
For external clocking.
|
CLOCK_INTERNAL
For internal clocking.
|
Modifier and Type | Method and Description |
---|---|
static TimerControlEvent.ClockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimerControlEvent.ClockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimerControlEvent.ClockType CLOCK_EXTERNAL
public static final TimerControlEvent.ClockType CLOCK_INTERNAL
public static TimerControlEvent.ClockType[] values()
for (TimerControlEvent.ClockType c : TimerControlEvent.ClockType.values()) System.out.println(c);
public static TimerControlEvent.ClockType 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