Public Instance Methods : SstCallbackInterface
addCallback: callbackName receiver: receiver selector: selector clientData: clientData
"ACTION
Add a callback to one of the receiver's callback lists.
Generally speaking, the receiver will declare one or more callback
lists; applications adds callbacks to these callback
lists, which will be invoked whenever the predefined call-
back conditions are met.
Callbacks are not necessarily invoked in response to any
event; the mechanism can be used to provide a 'hook' for
application interaction.
This message adds a new callback to the end of the callback
list. A callback will be invoked as many times as it occurs
in the callback list.
callbackName
The name of the callback list to which the
callback is to be appended.
receiver
The object to send the callback message to.
selector
The 3-parameter message selector to send.
clientData
An object to be passed to the receiver of the callback
message as the clientData parameter when the callback is
invoked, or nil.
PARAMETERS
callbackName : <Object>
receiver : <Object>
selector : <Symbol>
clientData : <Object>"
Categories
SST-API Developer
callCallbacks: callbackName callData: callData
"ACTION
Invoke the callbacks in the receiver's specified
callback list.
callbackName
The name of the callback list to be executed.
callData
The object to be passed as the callData parameter
when the callback messages are sent.
PARAMETERS
callbackName : <Object>
callData : <Object>"
Categories
SST-API Developer
removeAllCallbacks: callbackName
"ACTION
Delete all callbacks from the receiver's callback list.
This message removes all the receiver's callback messages
identified by callbackName, regardless of the value
of the clientData associated with each message. This is
in contrast to #removeCallback:..., which removes the specified
callback only if a specified clientData argument also matches.
callbackName
The name of the callback list from which the
callback are to be deleted.
PARAMETERS
callbackName : <Object>"
Categories
SST-API Developer
removeCallback: callbackName receiver: receiver selector: selector clientData: clientData
"ACTION
Delete a callback from one of the receiver's callback lists.
This message removes a callback message identified by
callbackName
The callback is removed only if both the callback object
and clientData match a callback/data pair on the list. No
warning message is generated if a callback to be removed
fails to match a callback or clientData on the list. Use
#removeAllCallbacks:... if you want to remove a particular
callback regardless of the value of its clientData.
callbackName
The name of the callback list from which the
callback is to be deleted.
receiver
The object to match against the callback receiver in
the callback list.
selector
The 3-parameter message selector which is to be used
to match against the callback in the callback list.
clientData
The object to match with the clientData
object in the callback list entry.
PARAMETERS
callbackName : <Object>
receiver : <Object>
selector : <Symbol>
clientData : <Object>"
Categories
SST-API Developer
[FIRST] [PREV] [NEXT] [LAST]