public enum StateFlag extends java.lang.Enum<StateFlag>
SiGMLPlayerApplet
's event dispatch thread.Enum Constant and Description |
---|
CHANGING_AVATAR |
HALTED |
HALTING |
HAS_ALL_FRAMES |
HAS_AVATAR |
HAS_OPEN_SIGML_PIPE |
IDLE |
LOADING_FRAMES |
PLAYING_SIGML_PIPED |
PLAYING_SIGML_TEXT |
PLAYING_SIGML_URL |
STOPPING_PLAY |
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
listAllTags(UseJLogger 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 are declared.
|
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 PLAYING_SIGML_PIPED
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_OPEN_SIGML_PIPE
public static final StateFlag HAS_ALL_FRAMES
public static final StateFlag FIRST
public static final StateFlag LAST
public static final int COUNT
public static 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 namejava.lang.NullPointerException
- if the argument is nullpublic char onOffChar(boolean on)
public static void listAllTags(UseJLogger logger)