java.lang.Object java.lang.Enum<GuiState> com.realtime.crossfire.jxclient.guistate.GuiState
public enum GuiState
Possible gui states.
Enum Constant Summary | |
---|---|
CONNECT_FAILED
|
|
CONNECTED
|
|
CONNECTING
|
|
METASERVER
|
|
START
|
Method Summary | |
---|---|
static GuiState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GuiState[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final GuiState CONNECT_FAILED
public static final GuiState CONNECTED
public static final GuiState CONNECTING
public static final GuiState METASERVER
public static final GuiState START
Method Detail |
---|
public static GuiState 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 static GuiState[] values()
for (GuiState c : GuiState.values()) System.out.println(c);