Home | Trees | Indices | Help |
|
---|
|
object --+ | interfaces.IObserver --+ | Observer
A base IObserver
implementation.
An Observer
is an object that encapsulates information
about an interested object with a method that should be called when a
particular INotification
is broadcast.
In PureMVC, the Observer
class assumes these
responsibilities:
Encapsulate the notification (callback) method of the interested object.
Encapsulate the notification context (this) of the interested object.
Provide methods for setting the notification method and context.
Provide a method for notifying the interested object.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Constructor. The notification method on the interested object should take one
parameter of type
|
Set the notification method. The notification method should take one parameter of type
|
Set the notification context.
|
Get the notification method.
|
Get the notification context.
|
Notify the interested object.
|
Compare an object to the notification context.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Sep 23 18:56:02 2012 | http://epydoc.sourceforge.net |