Protected
mediatorMapping of Mediator names to Mediator instances
Protected
observerMapping of Notification names to Observer lists
Protected
Static
instanceSingleton instance
Protected
Static
SINGLETON_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.
Static
get
A Singleton
View
implementation.In PureMVC, the
View
class assumes these responsibilities:Mediator
instances.Mediators
.Mediators
when they are registered or removed.Notification
in the application.Observers
to aNotification
's observer list.Notification
.Observers
of a givenNotification
when it broadcast.See
View