dojox/gfx/Mover (version 1.10)

Usage

var foo = new Mover(shape,e,host);
dojox/gfx/Mover
Parameter Type Description
shape dojox/gfx.Shape

a shape object to be moved

e Event

a mouse event, which started the move; only clientX and clientY properties are used

host Object
Optional

object which implements the functionality of the move, and defines proper events (onMoveStart and onMoveStop)

See the dojox/gfx/Mover reference documentation for more information.

Method Summary

  • destroy() stops the move, deletes all references, so the object can be garbage-collected

Event Summary

Methods

destroy()
Defined by dojox/gfx/Mover

stops the move, deletes all references, so the object can be garbage-collected

Events

onFirstMove()
Defined by: dojox/gfx/Mover

it is meant to be called only once

onMouseMove(e)
Defined by: dojox/gfx/Mover

event processor for onmousemove

Parameter Type Description
e Event

mouse event

Error in the documentation? Can’t find what you are looking for? Let us know!