|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StateFlag>
app.spa.StateFlag
public enum StateFlag
An enumeration of flags each representing one aspect of the internal
state of the SiGMLPlayerApplet
's event dispatch thread.
Enum Constant Summary | |
---|---|
CHANGING_AVATAR
|
|
HALTED
|
|
HALTING
|
|
HAS_ALL_FRAMES
|
|
HAS_AVATAR
|
|
IDLE
|
|
LOADING_FRAMES
|
|
PLAYING_SIGML_TEXT
|
|
PLAYING_SIGML_URL
|
|
STOPPING_PLAY
|
Field Summary | |
---|---|
static int |
COUNT
The number of state flags in this enumeration. |
static StateFlag |
FIRST
The initial state flag in this enumeration. |
static StateFlag |
LAST
The final state flag in this enumeration. |
Method Summary | |
---|---|
static void |
listAllTags(Logger logger)
Lists the tags for the state flags in this enumeration, on the given logger. |
char |
onOffChar(boolean on)
Returns an on/off tag character for this state flag, as specified by the argument: the "on" tag is this flag's tag character, the "off" tag is an underscore character. |
static StateFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StateFlag[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final StateFlag IDLE
public static final StateFlag CHANGING_AVATAR
public static final StateFlag LOADING_FRAMES
public static final StateFlag PLAYING_SIGML_URL
public static final StateFlag PLAYING_SIGML_TEXT
public static final StateFlag STOPPING_PLAY
public static final StateFlag HALTING
public static final StateFlag HALTED
public static final StateFlag HAS_AVATAR
public static final StateFlag HAS_ALL_FRAMES
Field Detail |
---|
public static final StateFlag FIRST
public static final StateFlag LAST
public static final int COUNT
Method Detail |
---|
public static final StateFlag[] values()
for(StateFlag c : StateFlag.values()) System.out.println(c);
public static StateFlag 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 namepublic char onOffChar(boolean on)
public static void listAllTags(Logger logger)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |