public abstract static class Cancellable.Impl extends java.lang.Object implements Cancellable
This implementation is not always possible to use if EventBus requires events
to implement an abstract class.
Cancellable.Impl| Modifier and Type | Field and Description |
|---|---|
protected boolean |
cancelled |
| Constructor and Description |
|---|
Impl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelled()
Tests if the event has been cancelled.
|
void |
cancelled(boolean cancelled)
Sets the cancelled state of the event.
|
public boolean cancelled()
Cancellablecancelled in interface Cancellabletrue if the event has been cancelled, false otherwisepublic void cancelled(boolean cancelled)
Cancellablecancelled in interface Cancellablecancelled - true if the event should be cancelled, false otherwise