com.taco.data
Class AbstractNotificationStrategy

java.lang.Object
  extended by 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.


Constructor Summary
AbstractNotificationStrategy()
           
 
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
 
Methods inherited from interface com.taco.data.INotificationStrategy
notifyListeners
 

Constructor Detail

AbstractNotificationStrategy

public AbstractNotificationStrategy()
Method Detail

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