public static enum VideoDisplay.Mode extends Enum<VideoDisplay.Mode>
Enum Constant and Description |
---|
CLOSED
The video is closed
|
PAUSE
The video is paused
|
PLAY
The video is playing
|
SEEK
The video is seeking
|
STOP
The video is stopped
|
Modifier and Type | Method and Description |
---|---|
static VideoDisplay.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VideoDisplay.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoDisplay.Mode PLAY
public static final VideoDisplay.Mode PAUSE
public static final VideoDisplay.Mode STOP
public static final VideoDisplay.Mode SEEK
public static final VideoDisplay.Mode CLOSED
public static VideoDisplay.Mode[] values()
for (VideoDisplay.Mode c : VideoDisplay.Mode.values()) System.out.println(c);
public static VideoDisplay.Mode 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