public abstract class AbstractCancellable extends java.lang.Object implements Cancellable
Cancellable
that has all
of Cancellable
's methods implemented.Constructor and Description |
---|
AbstractCancellable() |
Modifier and Type | Method and Description |
---|---|
boolean |
isCancelled()
Returns whether the event has been cancelled.
|
void |
setCancelled(boolean cancelled)
Set whether the event has been cancelled.
|
public boolean isCancelled()
Cancellable
isCancelled
in interface Cancellable
public void setCancelled(boolean cancelled)
Cancellable
setCancelled
in interface Cancellable
cancelled
- true if cancelled