Interface CancellableEvent
- All Superinterfaces:
Event
Interface for a cancellable event.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if the event is canceled.voidsetCancelled(boolean value) Sets the canceled status of the event.
-
Method Details
-
isCancelled
boolean isCancelled()Checks if the event is canceled.- Returns:
- a boolean indicating whether the event is canceled
-
setCancelled
void setCancelled(boolean value) Sets the canceled status of the event.- Parameters:
value- the new canceled status of the event
-