mvc
Class CompositeNotifier

java.lang.Object
  extended by mvc.CallbackExecutor
      extended by mvc.CompositeNotifier
All Implemented Interfaces:
CallbackRegistry

public class CompositeNotifier
extends CallbackExecutor

A CompositeNotifier is a notifier that manages notifications for a composite model. It provides methods for adding and removing submodels of a composite model. Callbacks registered with the composite notifier are notified when the value changes for any submodel. They are not automatically notified when submodels are added or removed. Clients can send an executeCallbacks() message to the composite notifier when submodel changes have reached a stable state.


Constructor Summary
CompositeNotifier()
          new CompositeNotifier() returns a new CompositeNotifier.
 
Method Summary
 void addSubmodel(NamedModel<?> m)
          DOCME.
 void removeSubmodel(NamedModel<?> m)
          DOCME.
 
Methods inherited from class mvc.CallbackExecutor
addCallback, executeCallbacks, removeCallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeNotifier

public CompositeNotifier()
new CompositeNotifier() returns a new CompositeNotifier.

Method Detail

addSubmodel

public void addSubmodel(NamedModel<?> m)
DOCME.

Parameters:
m -

removeSubmodel

public void removeSubmodel(NamedModel<?> m)
DOCME.

Parameters:
m -