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