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/Moveable.js

  • Provides:

    • dojox.gfx.Moveable
  • Requires:

    • dojox.gfx.Mover in common
  • dojox.gfx.Moveable

    • type
      Function
    • parameters:
      • shape: (typeof dojox.gfx.Shape:)
        a shape object to be moved
      • params: (typeof Object:)
        an optional object with additional parameters;
        following parameters are recognized:
    • summary
      an object, which makes a shape moveable
  • dojox.gfx.Moveable.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • shape: (typeof dojox.gfx.Shape:)
        a shape object to be moved
      • params: (typeof Object:)
        an optional object with additional parameters;
        following parameters are recognized:
    • summary
      an object, which makes a shape moveable
  • dojox.gfx.Moveable.destroy

    • summary
      stops watching for possible move, deletes all references, so the object can be garbage-collected
    • type
      Function
  • dojox.gfx.Moveable.events

    • type
      Array
  • dojox.gfx.Moveable.shape

    • type
      dojox.gfx.Shape:
    • summary
      a shape object to be moved
      params: Object: an optional object with additional parameters;
      following parameters are recognized:
  • dojox.gfx.Moveable.onMouseDown

    • parameters:
      • e: (typeof Event:)
        mouse event
    • summary
      event processor for onmousedown, creates a Mover for the shape
    • type
      Function
  • dojox.gfx.Moveable._lastX

  • dojox.gfx.Moveable._lastY

  • dojox.gfx.Moveable.onMouseMove

    • parameters:
      • e: (typeof Event:)
        mouse event
    • summary
      event processor for onmousemove, used only for delayed drags
    • type
      Function
  • dojox.gfx.Moveable.onMouseUp

    • parameters:
      • e: (typeof Event:)
        mouse event
    • summary
      event processor for onmouseup, used only for delayed delayed drags
    • type
      Function
  • dojox.gfx.Moveable.onMoveStart

    • parameters:
      • mover: (typeof dojox.gfx.Mover)
    • summary
      called before every move operation
    • type
      Function
  • dojox.gfx.Moveable.onMoveStop

    • parameters:
      • mover: (typeof dojox.gfx.Mover)
    • summary
      called after every move operation
    • type
      Function
  • dojox.gfx.Moveable.onFirstMove

    • parameters:
      • mover: (typeof dojox.gfx.Mover)
    • summary
      called during the very first move notification,
      can be used to initialize coordinates, can be overwritten.
    • type
      Function
  • dojox.gfx.Moveable.onMove

    • parameters:
      • mover: (typeof dojox.gfx.Mover)
      • shift: (typeof Object)
    • summary
      called during every move notification,
      should actually move the node, can be overwritten.
    • type
      Function
  • dojox.gfx.Moveable.onMoving

    • parameters:
      • mover: (typeof dojox.gfx.Mover)
      • shift: (typeof Object)
    • summary
      called before every incremental move,
      can be overwritten.
    • type
      Function
  • dojox.gfx.Moveable.onMoved

    • parameters:
      • mover: (typeof dojox.gfx.Mover)
      • shift: (typeof Object)
    • summary
      called after every incremental move,
      can be overwritten.
    • type
      Function
  • dojox.gfx.Moveable.delay

    • type
      Number:
    • summary
      delay move by this number of pixels
  • dojox.gfx.Moveable.mover

    • type
      Object:
    • summary
      a constructor of custom Mover
  • dojox.gfx

    • type
      Object
  • dojox

    • type
      Object