public interface Cancellable
Modifier and Type | Method and Description |
---|---|
boolean |
isCancelled()
Gets if the
Event has been cancelled. |
void |
setCancelled(boolean cancel)
Sets the cancelled state of the
Event . |
boolean isCancelled()
Event
has been cancelled.void setCancelled(boolean cancel)
Event
.
This will also cancel any callbacks on the event if cancel
is true
. However, no callbacks will be un-cancelled if
cancel
is false
.
cancel
- The new cancelled state