Home | Trees | Indices | Help |
|
---|
|
object --+ | interfaces.IFacade --+ | Facade
A base Singleton 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 |
|
|||
|
|||
|
|
|||
instance = None
|
|||
controller = None
|
|||
model = None
|
|||
view = None
|
|
This
|
|
Initialize the Singleton Called automatically by the constructor. Override in your subclass to
do any subclass specific initializations. Be sure to call
|
Initialize the Called by the You wish to initialize a different If you don't want to initialize a different Note: This method is rarely 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 rarely 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 rarely 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.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Sep 22 01:31:51 2009 | http://epydoc.sourceforge.net |