E
- the element typepublic static interface OortList.ElementListener<E> extends EventListener
Modifier and Type | Interface and Description |
---|---|
static class |
OortList.ElementListener.Adapter<E>
Empty implementation of
OortList.ElementListener . |
Modifier and Type | Method and Description |
---|---|
void |
onAdded(OortObject.Info<List<E>> info,
List<E> elements)
Callback method invoked when elements are added to the entity list.
|
void |
onRemoved(OortObject.Info<List<E>> info,
List<E> elements)
Callback method invoked when elements are removed from the entity list.
|
void onAdded(OortObject.Info<List<E>> info, List<E> elements)
info
- the Info
that was changed by the additionelements
- the elements addedvoid onRemoved(OortObject.Info<List<E>> info, List<E> elements)
info
- the Info
that was changed by the removalelements
- the elements removedCopyright © 2008–2016 The CometD Project. All rights reserved.