Webnote

Class Mouse

Object
   |
   +--Mouse

class Mouse


A class that tracks the mouse position and handles mouse events.
Defined in webnote.js


Field Summary
 Point curPos
          The current location of the mouse.
 dictionary notePosRel
          When resizing a note, this determines which edges need to be moved and which edges remain fixed.
 
Constructor Summary
Mouse ()
           
 
Method Summary
 void deselect()
           Release selected notes.
 void select(<Note> note, <event> ev)
           Select a note either for dragging or for resizing.
 void update(<int> x, <int> y)
           Update the mouse position and resize/move notes if necessary.

Field Detail

curPos

Point curPos

notePosRel

dictionary notePosRel

Constructor Detail

Mouse

Mouse()

Method Detail

deselect

void deselect()

select

void select(<Note> note, <event> ev)

update

void update(<int> x, <int> y)

Webnote

Documentation generated by JSDoc on Tue May 24 23:13:22 2005