public abstract class JourneyMapEvent
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
long |
timestamp
System millis when event was created.
|
| Modifier | Constructor and Description |
|---|---|
protected |
JourneyMapEvent(boolean cancellable) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the event only if the Type is cancellable.
|
boolean |
isCancellable()
Whether the event is cancellable.
|
boolean |
isCancelled()
Whether the event has been cancelled.
|
public boolean isCancelled()
public void cancel()
public boolean isCancellable()