WT Toolkit 0.3.3

Class wtInput

Object
   |
   +--wtObject
         |
         +--wtInput

class wtInput
extends wtObject


A global mouse event signal emitter. This is a singleton class and is auto-initialized by WT Toolkit, so there's no need for a web developer to call the constructor.

The main use for this class is connecting its signals to your event handlers. Another use is for querying the current mouse cursor position relative to the browser display area. Available signal include:


Defined in wt_mouse.js


Field Summary
 Number x
          The mouse cursor's current x-coordinate.
 Number y
          The mouse cursor's current y-coordinate.
 
Constructor Summary
wtInput()
            Constructs a global mouse event signal emitter.
   
Methods inherited from class wtObject
startProxy, endProxy, toString, connect, disconnect, emit, setSlot, removeSlot, setSignal, removeSignal, get, set, addDependency, clearLapsedListeners
 

Field Detail

x

Number x

y

Number y

Constructor Detail

wtInput

wtInput()

WT Toolkit 0.3.3

Documentation generated by JSDoc on Sun May 13 11:26:24 2007