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