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