Enum Constant and Description |
---|
CONNECT_FAILED
Display a failed connection attempt.
|
CONNECTED
Display the main playing screen.
|
CONNECTING
Display the screen while a server connection is established.
|
METASERVER
Display the server selection screen.
|
START
Display the start screen.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final GuiState START
public static final GuiState METASERVER
public static final GuiState CONNECTING
public static final GuiState CONNECTED
public static final GuiState CONNECT_FAILED
public static GuiState[] values()
for (GuiState c : GuiState.values()) System.out.println(c);
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 namejava.lang.NullPointerException
- if the argument is null