T - the type of entry being handled by this listener. This must match the type on the set
that generates the events.public class SetAdapter<T extends DSet.Entry> extends Object implements SetListener<T>
NOTE: This adapter will receive all Entry events from a DObject it's listening to, so it should check that the event's name matches the field it's interested in before acting on the event.
| Constructor and Description |
|---|
SetAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
entryAdded(EntryAddedEvent<T> event)
Called when an entry added event has been dispatched on an
object.
|
void |
entryRemoved(EntryRemovedEvent<T> event)
Called when an entry removed event has been dispatched on an
object.
|
void |
entryUpdated(EntryUpdatedEvent<T> event)
Called when an entry updated event has been dispatched on an
object.
|
public void entryAdded(EntryAddedEvent<T> event)
SetListenerentryAdded in interface SetListener<T extends DSet.Entry>event - The event that was dispatched on the object.public void entryUpdated(EntryUpdatedEvent<T> event)
SetListenerentryUpdated in interface SetListener<T extends DSet.Entry>event - The event that was dispatched on the object.public void entryRemoved(EntryRemovedEvent<T> event)
SetListenerentryRemoved in interface SetListener<T extends DSet.Entry>event - The event that was dispatched on the object.Copyright © 2015. All rights reserved.