nl.tudelft.goal.ut2004.visualizer.util
Class CollectionEventAdaptor<T>
java.lang.Object
nl.tudelft.goal.ut2004.visualizer.util.CollectionEventAdaptor<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- cz.cuni.amis.utils.collections.CollectionEventListener<T>, EventListener
public abstract class CollectionEventAdaptor<T>
- extends Object
- implements cz.cuni.amis.utils.collections.CollectionEventListener<T>
Adaptor for the CollectionEventListener. Limits the number of methods that need to be implemented.
- Author:
- M.P. Korstanje
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionEventAdaptor
public CollectionEventAdaptor()
postAddEvent
public void postAddEvent(Collection<T> alreadyAdded,
Collection<T> whereWereAdded)
- Specified by:
postAddEvent
in interface cz.cuni.amis.utils.collections.CollectionEventListener<T>
postRemoveEvent
public void postRemoveEvent(Collection<T> alreadyRemoved,
Collection<T> whereWereRemoved)
- Specified by:
postRemoveEvent
in interface cz.cuni.amis.utils.collections.CollectionEventListener<T>
preAddEvent
public void preAddEvent(Collection<T> toBeAdded,
Collection<T> whereToAdd)
- Specified by:
preAddEvent
in interface cz.cuni.amis.utils.collections.CollectionEventListener<T>
preRemoveEvent
public void preRemoveEvent(Collection<T> toBeRemoved,
Collection<T> whereToRemove)
- Specified by:
preRemoveEvent
in interface cz.cuni.amis.utils.collections.CollectionEventListener<T>
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.