Class Index | File Index

Classes


Class twodee.Object

The base class for other twodee objects.
Defined in: Object.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Constructs a new twodee object.
Method Summary
Method Attributes Method Name and Description
 
connect(signal, func, context)
Connects a slot to a signal.
 
disconnect(signal, func, context)
Disconnects a slot from a signal.
 
sendSignal(signal, varargs)
Sends a signal.
Class Detail
twodee.Object()
Constructs a new twodee object.
Method Detail
connect(signal, func, context)
Connects a slot to a signal.
Parameters:
{string} signal
The signal
{function(...)} func
The slot function
{Object} context
The function context (Optional, defaults to "window")

disconnect(signal, func, context)
Disconnects a slot from a signal.
Parameters:
{string} signal
The signal. If not specified then everything is disconnected
{function(...)} func
The slot function. If not specified then all handlers for specified signal are disconnected
{Object} context
The function context (Optional, defaults to "window")

sendSignal(signal, varargs)
Sends a signal.
Parameters:
{string} signal
The signal to send
{...} varargs
Variable number of optional arguments passed to the slots

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Dec 29 2011 20:19:03 GMT+0100 (CET)