public static enum Event.EventClass extends java.lang.Enum<Event.EventClass>
Enum Constant and Description |
---|
FORMAL_ACCEPT |
FORMAL_QUIT |
GAME_END |
GAME_START |
OFFER_IN_PROGRESS |
SEND_EXPRESSION |
SEND_MESSAGE |
SEND_OFFER |
TIME |
Modifier and Type | Method and Description |
---|---|
static Event.EventClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Event.EventClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event.EventClass SEND_EXPRESSION
public static final Event.EventClass OFFER_IN_PROGRESS
public static final Event.EventClass SEND_OFFER
public static final Event.EventClass SEND_MESSAGE
public static final Event.EventClass FORMAL_ACCEPT
public static final Event.EventClass GAME_START
public static final Event.EventClass GAME_END
public static final Event.EventClass TIME
public static final Event.EventClass FORMAL_QUIT
public static Event.EventClass[] values()
for (Event.EventClass c : Event.EventClass.values()) System.out.println(c);
public static Event.EventClass 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