com.taco.data
Interface INotificationStrategy

All Known Implementing Classes:
AbstractNotificationStrategy, SwingNotificationStrategy, WrappedObservableMap.WrappedNotificationStrategy

public interface INotificationStrategy

An interface that specifies how to notify listeners. This is used for IObservableMap.


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)
          Notify all listeners of a change of the value mapped to the argument key.
 void notifyListeners(java.beans.PropertyChangeEvent event, java.util.Collection listeners, IObjectFilter listenerFilter)
          Notify all listeners of the argument event.
 

Method Detail

notifyListeners

void notifyListeners(java.lang.Object source,
                     java.lang.Object key,
                     java.lang.Object oldValue,
                     java.lang.Object newValue,
                     java.util.Collection listeners,
                     IObjectFilter listenerFilter)
Notify all listeners of a change of the value mapped to the argument key. This method should create the event and then call notifyListeners() with the event.


notifyListeners

void notifyListeners(java.beans.PropertyChangeEvent event,
                     java.util.Collection listeners,
                     IObjectFilter listenerFilter)
Notify all listeners of the argument event.