action
Returns the name of the message that is sent to the target when a matching notification is found.
handleNotification(aNotification)
Checks to see if aNotification matches the listener criteria and if so, sends it to the target. Implementation:
if((name == nil or name == n name) and(sender == nil or sender == n sender),
target perform(action, n)
)
name
Returns the message name that the listener wants to receive messages for.
sender
Returns the sender that the listener wants to receive messages from.
setAction(messageName)
Sets the name of the message that is sent to the target when a matching notification is found. Returns self.
setName(aSeq)
Sets the message name that the listener wants to receive messages for. Returns self.
setSender(anObject)
Sets the sender that the listener wants to receive messages from. Returns self.
setTarget(anObject)
Sets the target that the receiver sends matching messages to. Returns self.
start
Removes the receiver to the NotificationCenter set of listeners. Returns self.
target
Returns the target that the receiver sends matching messages to.
|