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

dojo/dnd/Manager.js

  • Provides:

    • dojo.dnd.Manager
  • Requires:

    • dojo.dnd.common in common
    • dojo.dnd.autoscroll in common
    • dojo.dnd.Avatar in common
  • dojo.dnd.Manager

    • type
      Function
    • summary
      the manager of DnD operations (usually a singleton)
  • dojo.dnd.Manager.constructor

    • constructor - constructor
    • type
      Function
  • dojo.dnd.Manager.OFFSET_X

    • type
      Number
  • dojo.dnd.Manager.OFFSET_Y

    • type
      Number
  • dojo.dnd.Manager.overSource

    • parameters:
      • source: (typeof Object)
        the reporter
    • summary
      called when a source detected a mouse-over condition
    • type
      Function
  • dojo.dnd.Manager.target

    • type
      Object
  • dojo.dnd.Manager.canDropFlag

    • type
      bool
  • dojo.dnd.Manager.outSource

    • parameters:
      • source: (typeof Object)
        the reporter
    • summary
      called when a source detected a mouse-out condition
    • type
      Function
  • dojo.dnd.Manager.startDrag

    • parameters:
      • source: (typeof Object)
        the source which provides items
      • nodes: (typeof Array)
        the list of transferred items
      • copy: (typeof Boolean)
        copy items, if true, move items otherwise
    • summary
      called to initiate the DnD operation
    • type
      Function
  • dojo.dnd.Manager.source

    • type
      Object
  • dojo.dnd.Manager.nodes

    • type
      Array
  • dojo.dnd.Manager.copy

    • type
      Object
  • dojo.dnd.Manager.avatar

    • type
      Object
  • dojo.dnd.Manager.events

    • type
      Array
  • dojo.dnd.Manager.startDrag.source

    • type
      Object
    • summary
      the source which provides items
  • dojo.dnd.Manager.startDrag.nodes

    • type
      Array
    • summary
      the list of transferred items
  • dojo.dnd.Manager.startDrag.copy

    • type
      Boolean
    • summary
      copy items, if true, move items otherwise
  • dojo.dnd.Manager.canDrop

    • parameters:
      • flag
    • summary
      called to notify if the current target can accept items
    • type
      Function
  • dojo.dnd.Manager.stopDrag

    • summary
      stop the DnD in progress
    • type
      Function
  • dojo.dnd.Manager.makeAvatar

    • summary
      makes the avatar; it is separate to be overwritten dynamically, if needed
    • type
      Function
  • dojo.dnd.Manager.updateAvatar

    • summary
      updates the avatar; it is separate to be overwritten dynamically, if needed
    • type
      Function
  • dojo.dnd.Manager.onMouseMove

    • parameters:
      • e: (typeof Event)
        mouse event
    • summary
      event processor for onmousemove
    • type
      Function
  • dojo.dnd.Manager.avatar.node.style

  • dojo.dnd.Manager.avatar.node.style.left

    • type
      String
  • dojo.dnd.Manager.avatar.node.style.top

    • type
      String
  • dojo.dnd.Manager.onMouseUp

    • parameters:
      • e: (typeof Event)
        mouse event
    • summary
      event processor for onmouseup
    • type
      Function
  • dojo.dnd.Manager.onKeyDown

    • parameters:
      • e: (typeof Event)
        keyboard event
    • summary
      event processor for onkeydown:
      watching for CTRL for copy/move status, watching for ESCAPE to cancel the drag
    • type
      Function
  • dojo.dnd.Manager.onKeyUp

    • parameters:
      • e: (typeof Event)
        keyboard event
    • summary
      event processor for onkeyup, watching for CTRL for copy/move status
    • type
      Function
  • dojo.dnd.Manager._setCopyStatus

    • parameters:
      • copy: (typeof Boolean)
        the copy status
    • summary
      changes the copy status
    • type
      Function
  • dojo.dnd.Manager._setCopyStatus.copy

    • type
      Boolean
    • summary
      the copy status
  • dojo.dnd._manager

    • type
      Object
  • dojo.dnd.manager

    • returns
      Object
    • summary
      Returns the current DnD manager.  Creates one if it is not created yet.
    • type
      Function
  • dojo.dnd

    • type
      Object
  • dojo

    • type
      Object