|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - the type of entry being handled by this listener. This must match the type on the set
that generates the events.public interface SetListener<T extends DSet.Entry>
Implemented by entities which wish to hear about changes that occur to set attributes of a particular distributed object.
NOTE: This listener 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.
DObject.addListener(com.threerings.presents.dobj.ChangeListener)| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void entryAdded(EntryAddedEvent<T> event)
event - The event that was dispatched on the object.void entryUpdated(EntryUpdatedEvent<T> event)
event - The event that was dispatched on the object.void entryRemoved(EntryRemovedEvent<T> event)
event - The event that was dispatched on the object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||