Home | Trees | Index | Help |
|
---|
Package NotificationFramework :: Module Notification :: Class Notification |
|
Notification objects are generally encountered when supplied by the
NotificationCenter
to its listener's callback method.
A Notification
object is designed as an immutable object.
You should not need to directly instanciate Notification
objects: rather,
use NotificationCenter
methods to add or remove observers and to post
notifications.
Method Summary | |
---|---|
This is the Notification initializer -- you should not directly instanciate a Notification object: rather, use NotificationCenter methods to add
observers or to post notifications | |
Two notifications are equal if and only if their names and objects are equal | |
Returns the hash code for the receiver | |
Boolean negation of __eq__ | |
Raises TypeError since this is an immutable object | |
Returns a user-presentable string representing the object | |
Returns the receiver's field 'name' | |
Returns the receiver's field 'object' | |
Returns the receiver's field 'info' |
Method Details |
---|
__init__(self,
name,
object=None,
userInfo=None)
This is the Notification initializer -- you should not directly instanciate
a |
__eq__(self,
aNotification)
Two notifications are equal if and only if their names and objects are
equal |
__hash__(self)
Returns the hash code for the receiver |
__ne__(self, aNotification)Boolean negation of __eq__ |
__setattr__(self, name, value)Raises TypeError since this is an immutable object |
__str__(self)
Returns a user-presentable string representing the object |
name(self)Returns the receiver's field 'name' |
object(self)Returns the receiver's field 'object' |
userInfo(self)Returns the receiver's field 'info' |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Mar 4 13:36:33 2006 | http://epydoc.sf.net |