|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface EventHandler
An annotation to mark methods as being event handler methods
Optional Element Summary | |
---|---|
boolean |
ignoreCancelled
Define if the handler ignores a cancelled event. |
EventPriority |
priority
Define the priority of the event. |
public abstract EventPriority priority
First priority to the last priority executed:
public abstract boolean ignoreCancelled
If ignoreCancelled is true and the event is cancelled, the method is not called. Otherwise, the method is always called.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |