public static enum Event.Alert extends Enum<Event.Alert>
| Modifier and Type | Method and Description |
|---|---|
static Event.Alert |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Event.Alert[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event.Alert success
public static final Event.Alert info
public static final Event.Alert warning
public static final Event.Alert error
public static Event.Alert[] values()
for (Event.Alert c : Event.Alert.values()) System.out.println(c);
public static Event.Alert valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016–2017. All rights reserved.