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