Protected
Readonly
_namethe mediator name
Protected
Optional
_viewThe view component
Protected
facadeReturn the Singleton Facade instance
Static
NAMEThe default name for the mediator.
the mediator name
The name of the mediator.
Get the Mediator
's view component.
Additionally, an implicit getter will usually be defined in the subclass that casts the view object to a type, like this:
The view component.
Set the Mediator
's view component.
The new view component.
Handle Notification
s.
Typically, this will be handled in a switch statement,
with one 'case' entry per Notification
the Mediator
is interested in.
The notification to handle.
Create and send an Notification
.
Keeps us from having to construct new Notification instances in our implementation code.
The name of the notification to be sent.
Optional
body: anyOptional data to be included with the notification.
Optional
type: stringOptional type of the notification.
A base
Mediator
implementation.See
View
Mediator