Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/gfx/Mover.js

  • Provides:

    • dojox.gfx.Mover
  • dojox.gfx.Mover

    • type
      Function
    • parameters:
      • shape: (typeof dojox.gfx.Shape:)
        a shape object to be moved
      • e: (typeof Event:)
        a mouse event, which started the move;
        only clientX and clientY properties are used
      • host: (typeof Object:)
        object which implements the functionality of the move,
        and defines proper events (onMoveStart and onMoveStop)
    • summary
      an object, which makes a shape follow the mouse,
      used as a default mover, and as a base class for custom movers
  • dojox.gfx.Mover.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • shape: (typeof dojox.gfx.Shape:)
        a shape object to be moved
      • e: (typeof Event:)
        a mouse event, which started the move;
        only clientX and clientY properties are used
      • host: (typeof Object:)
        object which implements the functionality of the move,
        and defines proper events (onMoveStart and onMoveStop)
    • summary
      an object, which makes a shape follow the mouse,
      used as a default mover, and as a base class for custom movers
  • dojox.gfx.Mover.onMouseMove

    • parameters:
      • e: (typeof Event:)
        mouse event
    • summary
      event processor for onmousemove
    • type
      Function
  • dojox.gfx.Mover.lastX

  • dojox.gfx.Mover.lastY

  • dojox.gfx.Mover.onFirstMove

    • summary
      it is meant to be called only once
    • type
      Function
  • dojox.gfx.Mover.destroy

    • summary
      stops the move, deletes all references, so the object can be garbage-collected
    • type
      Function
  • dojox.gfx.Mover.host

    • optional
    • type
      Object:
    • summary
      object which implements the functionality of the move,
      and defines proper events (onMoveStart and onMoveStop)
  • dojox.gfx.Mover.events

    • type
      Array
  • dojox.gfx.Mover.shape

    • type
      dojox.gfx.Shape:
    • summary
      a shape object to be moved
      e: Event: a mouse event, which started the move;
      only clientX and clientY properties are used
  • document

    • alias - document
  • dojox.gfx

    • type
      Object
  • dojox

    • type
      Object