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