E
- public interface CollectionEventListener<E> extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
postAddEvent(Collection<E> alreadyAdded,
Collection<E> whereWereAdded)
Called after the elements were added to the collection.
|
void |
postRemoveEvent(Collection<E> alreadyAdded,
Collection<E> whereWereRemoved)
Called after the elements were removed from the collection.
|
void |
preAddEvent(Collection<E> toBeAdded,
Collection<E> whereToAdd)
Called before the elements will be added to the collection.
|
void |
preRemoveEvent(Collection<E> toBeRemoved,
Collection<E> whereToRemove)
Called before the elements will be removed from the collection.
|
void preAddEvent(Collection<E> toBeAdded, Collection<E> whereToAdd)
toBeAdded
- collection of items to be added, in case of one item this contains a collection with one itemwhereToAdd
- void postAddEvent(Collection<E> alreadyAdded, Collection<E> whereWereAdded)
alreadyAdded
- whereWereAdded
- void preRemoveEvent(Collection<E> toBeRemoved, Collection<E> whereToRemove)
toBeRemoved
- whereToRemove
- void postRemoveEvent(Collection<E> alreadyAdded, Collection<E> whereWereRemoved)
alreadyAdded
- whereWereRemoved
- Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.