Home | Trees | Indices | Help |
|
---|
|
object --+ | interfaces.INotifier --+ | interfaces.IFacade --+ | Facade
A base Multiton IFacade
implementation.
In PureMVC, the Facade
class assumes these
responsibilities:
Initializing the Model
, View
and
Controller
Singletons.
Providing all the methods defined by the IModel, IView, &
IController
interfaces.
Providing the ability to override the specific Model
,
View
and Controller
Singletons created.
Providing a single point of contact to the application for registering
Commands
and notifying Observers
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
|
|||
|
|||
|
|
|||
instanceMap =
Message Constants |
|||
MULTITON_MSG =
|
|
|||
Inherited from |
|
Constructor. This
|
Initialize the Multiton Called automatically by the constructor. Override in your subclass to
do any subclass specific initializations. Be sure to call
|
Facade Multiton Factory method
|
Initialize the Called by the You wish to initialize a different If you don't want to initialize a different Note: This method is <i>rarely<i> overridden; in practice
you are more likely to use a |
Initialize the Called by the You wish to initialize a different You have If you don't want to initialize a different Note: This method is <i>rarely</i> overridden; in practice
you are more likely to use a |
Initialize the Called by the You wish to initialize a different You have If you don't want to initialize a different Note: This method is <i>rarely</i> overridden; in practice
you are more likely to use a |
Register an
|
Remove a previously registered
|
Check if a Command is registered for a given Notification
|
Register an
|
Retrieve an
|
Remove an
|
Check if a Proxy is registered
|
Register a
|
Retrieve an
|
Remove an
|
Check if a Mediator is registered or not
|
Create and send an Keeps us from having to construct new notification instances in our implementation code.
|
Notify This method is left public mostly for backward compatibility, and to allow you to send custom notification classes using the facade. Usually you should just call sendNotification and pass the parameters, never having to construct the notification yourself.
|
Set the Multiton key for this facade instance. Not called directly, but instead from the constructor when getInstance is invoked. It is necessary to be public in order to implement INotifier.
|
Check if a Core is registered or not
|
Remove a Core. Remove the Model, View, Controller and Facade instances for the given key.
|
|
MULTITON_MSG
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Sep 23 18:56:02 2012 | http://epydoc.sourceforge.net |