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