public static interface TripEvent.ModifyListener
Modifier and Type | Method and Description |
---|---|
void |
onAllElementsRemoved()
Callback for when all TripEvent objects have successfully been removed.
|
void |
onElementAdded(TripEvent event)
Callback for when a TripEvent has successfully been added.
|
void |
onElementModified(TripEvent event)
Callback for when a TripEvent has successfully been modified.
|
void |
onElementRemoved(TripEvent event)
Callback for when a TripEvent has successfully been removed.
|
void |
onModifyError(TripEvent.ModifyResult result)
Callback with an error.
|
void onElementAdded(TripEvent event)
event
- The TripEvent that was added.void onElementModified(TripEvent event)
event
- The TripEvent that was modified.void onElementRemoved(TripEvent event)
event
- The TripEvent that was removed.void onAllElementsRemoved()
void onModifyError(TripEvent.ModifyResult result)
result
- The error for the operation.