ProtectedmediatorMapping of Mediator names to Mediator instances
ProtectedobserverMapping of Notification names to Observer lists
Protected StaticinstanceSingleton instance
Protected StaticSINGLETON_Message Constants
Notify the Observers for a particular Notification.
All previously attached Observers for this Notification's
list are notified and are passed a reference to the Notification in
the order in which they were registered.
The notification containing the data or command details to be sent to observers.
Register a Mediator instance with the View.
Registers the Mediator so that it can be retrieved by name,
and further interrogates the Mediator for its
Notification interests.
If the Mediator returns any Notification
names to be notified about, an Observer is created encapsulating
the Mediator instance's handleNotification method
and registering it as an Observer for all Notifications the
Mediator is interested in.
The mediator instance to be registered.
Register an Observer to be notified
of Notifications with a given name.
The name of the notification to which the observer should be registered.
The observer instance to be registered.
Remove the observer for a given notifyContext from an observer list for a given Notification name.
The name of the notification for which the observer should be removed.
The context of the observer to be removed.
Staticget
A Singleton
Viewimplementation.In PureMVC, the
Viewclass assumes these responsibilities:Mediatorinstances.Mediators.Mediatorswhen they are registered or removed.Notificationin the application.Observersto aNotification's observer list.Notification.Observersof a givenNotificationwhen it broadcast.See
View