com.taco.data
Class AbstractNotificationStrategy
java.lang.Object
com.taco.data.AbstractNotificationStrategy
- All Implemented Interfaces:
- INotificationStrategy
- Direct Known Subclasses:
- SwingNotificationStrategy
public abstract class AbstractNotificationStrategy
- extends java.lang.Object
- implements INotificationStrategy
An abstract implementation of INotificationStrategy
which
creates a PropertyChangeEvent
based on the multiple argument
form of notifyListeners()
, and calls
notifyListeners()
with the event.
Method Summary |
void |
notifyListeners(java.lang.Object source,
java.lang.Object key,
java.lang.Object oldValue,
java.lang.Object newValue,
java.util.Collection listeners,
IObjectFilter listenerFilter)
Create the property change event with the given arguments, and call
notifyListeners() with the event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNotificationStrategy
public AbstractNotificationStrategy()
notifyListeners
public void notifyListeners(java.lang.Object source,
java.lang.Object key,
java.lang.Object oldValue,
java.lang.Object newValue,
java.util.Collection listeners,
IObjectFilter listenerFilter)
- Create the property change event with the given arguments, and call
notifyListeners()
with the event.
- Specified by:
notifyListeners
in interface INotificationStrategy