|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<MediaCommand>
com.guiseframework.input.MediaCommand
public enum MediaCommand
Commands for controlling media.
| Enum Constant Summary | |
|---|---|
ADVANCE
The command for advancing in a media stream from the current location. |
|
NEXT
The command for moving to the next media resource in a series. |
|
PAUSE
The command for pausing a media stream, with the capability to continue the media stream later. |
|
PLAY
The command for starting media. |
|
PREVIOUS
The command for moving to the previous media resource in a series. |
|
RECEDE
The command for receding in a media stream from the current location. |
|
RECORD
The command for recording input to media. |
|
STOP
The command for stopping media. |
|
| Method Summary | |
|---|---|
java.net.URI |
getGlyph()
|
java.lang.String |
getLabel()
|
java.lang.String |
toString()
Returns a string representation of the command. |
static MediaCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MediaCommand[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MediaCommand ADVANCE
public static final MediaCommand NEXT
public static final MediaCommand PAUSE
public static final MediaCommand PLAY
public static final MediaCommand PREVIOUS
public static final MediaCommand RECEDE
public static final MediaCommand RECORD
public static final MediaCommand STOP
| Method Detail |
|---|
public static MediaCommand[] values()
for (MediaCommand c : MediaCommand.values()) System.out.println(c);
public static MediaCommand 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 name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getLabel()
public java.net.URI getGlyph()
public java.lang.String toString()
getLabel().
toString in class java.lang.Enum<MediaCommand>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||