public enum UpdateMode extends Enum<UpdateMode>
| Enum Constant and Description |
|---|
CLEAR |
COUNTDOWN
Starts the media clock timer counting downward, in increments of 1 second
|
COUNTUP
Starts the media clock timer counting upward, in increments of 1 second
|
PAUSE
Pauses the media clock timer
|
RESUME
Resumes the media clock timer.
|
| Modifier and Type | Method and Description |
|---|---|
static UpdateMode |
valueForString(String value)
Returns an UpdateMode value (COUNTUP, COUNTDOWN, PAUSE or RESUME)
|
static UpdateMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateMode COUNTUP
public static final UpdateMode COUNTDOWN
public static final UpdateMode PAUSE
public static final UpdateMode RESUME
public static final UpdateMode CLEAR
public static UpdateMode[] values()
for (UpdateMode c : UpdateMode.values()) System.out.println(c);
public static UpdateMode 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 UpdateMode valueForString(String value)
value - a String