public enum EventPriority extends java.lang.Enum<EventPriority> implements IEventListener
Modifier and Type | Method and Description |
---|---|
void |
invoke(Event event) |
static EventPriority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventPriority HIGHEST
public static final EventPriority HIGH
public static final EventPriority NORMAL
public static final EventPriority LOW
public static final EventPriority LOWEST
public static EventPriority[] values()
for (EventPriority c : EventPriority.values()) System.out.println(c);
public static EventPriority 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 nullpublic void invoke(Event event)
invoke
in interface IEventListener