public static enum ChatController.ChatState extends java.lang.Enum<ChatController.ChatState>
Enum Constant and Description |
---|
Connected |
Connecting |
Disconnected |
Initialized |
Uninitialized |
Modifier and Type | Method and Description |
---|---|
static ChatController.ChatState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChatController.ChatState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatController.ChatState Uninitialized
public static final ChatController.ChatState Initialized
public static final ChatController.ChatState Connecting
public static final ChatController.ChatState Connected
public static final ChatController.ChatState Disconnected
public static ChatController.ChatState[] values()
for (ChatController.ChatState c : ChatController.ChatState.values()) System.out.println(c);
public static ChatController.ChatState 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