|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- public interface CollectionEventListener<E>
Listener on collection change events.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |