public interface Cancellable
An event which may be cancelled.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Marks the event as cancelled.booleanIf the event should be cancelled or not.
-
Method Details
-
isCancelled
boolean isCancelled()If the event should be cancelled or not.- Returns:
- true if the event should be cancelled
-
cancel
void cancel()Marks the event as cancelled.
-