E
- the element typepublic static class OortList.ElementListener.Adapter<E> extends Object implements OortList.ElementListener<E>
OortList.ElementListener
.OortList.ElementListener.Adapter<E>
Constructor and Description |
---|
Adapter() |
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.
|
public void onAdded(OortObject.Info<List<E>> info, List<E> elements)
OortList.ElementListener
onAdded
in interface OortList.ElementListener<E>
info
- the Info
that was changed by the additionelements
- the elements addedpublic void onRemoved(OortObject.Info<List<E>> info, List<E> elements)
OortList.ElementListener
onRemoved
in interface OortList.ElementListener<E>
info
- the Info
that was changed by the removalelements
- the elements removedCopyright © 2008–2017 The CometD Project. All rights reserved.