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/mdnd/adapter/DndToDojo.js

  • Provides:

    • dojox.mdnd.adapter.DndToDojo
  • Requires:

    • dojox.mdnd.PureSource in common
    • dojox.mdnd.LazyManager in common
  • dojox.mdnd.adapter.DndToDojo

    • type
      Function
    • summary
      Allow communication between an item of dojox D&D area to a target dojo.
  • dojox.mdnd.adapter.DndToDojo._dojoList

    • type
      Array
    • summary
      Array containing object references the dojo Target list
  • dojox.mdnd.adapter.DndToDojo._currentDojoArea

    • type
      DOMNode
    • summary
      Representing the current dojo area
  • dojox.mdnd.adapter.DndToDojo._dojoxManager

    • type
      dojox.mdnd.AreaManager
    • summary
      The reference to the dojox AreaManager
  • dojox.mdnd.adapter.DndToDojo._dragStartHandler

    • type
      Object
    • summary
      Handle to keep start subscribe
  • dojox.mdnd.adapter.DndToDojo._dropHandler

    • type
      Object
    • summary
      Handle to keep drop subscribe
  • dojox.mdnd.adapter.DndToDojo._moveHandler

    • type
      Object
    • summary
      Handle to keep move subscribe
  • dojox.mdnd.adapter.DndToDojo._moveUpHandler

    • type
      Object
    • summary
      Handle to kee move up subscribe
  • dojox.mdnd.adapter.DndToDojo._draggedNode

    • type
      DOMNode
    • summary
      The current dragged node
  • dojox.mdnd.adapter.DndToDojo.constructor

    • constructor - constructor
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo._getIndexDojoArea

    • parameters:
      • area: (typeof node)
        DOMNode A node corresponding to the target dojo.
    • summary
      Check if a dojo area is registered.
    • return_summary
      The index of area if it's registered else -1.
    • tags:
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo._dojoList.length

  • dojox.mdnd.adapter.DndToDojo._initCoordinates

    • parameters:
      • area: (typeof DOMNode)
        A registered DOM node.
    • returns
      Object
    • summary
      Initialize the coordinates of the target dojo.
    • return_summary
      An object which contains coordinates : *{x:0,y:,x1:0,y1:0}*
    • tags:
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo.register

    • parameters:
      • area: (typeof DOMNode)
        The DOM node which has to be registered.
      • type: (typeof String)
        A String to identify the node.
        dojoTarger:
        True if the dojo D&D have to be enable when mouse is hover the registered target dojo.
      • dojoTarget: (typeof Boolean)
    • summary
      Register a target dojo.
      The target is represented by an object containing :
      - the dojo area node
      - the type reference to identify a group node
      - the coords of the area to enable refresh position
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo._lazyManager

    • type
      Object
  • dojox.mdnd.adapter.DndToDojo.unregisterByNode

    • parameters:
      • area: (typeof DOMNode)
        The DOM node of target dojo.
    • summary
      Unregister a target dojo.
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo.unregisterByType

    • parameters:
      • type: (typeof String)
        A String to identify dojo targets.
    • summary
      Unregister several targets dojo having the same type passing in parameter.
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo.unregister

    • summary
      Unregister all targets dojo.
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo.refresh

    • summary
      Refresh the coordinates of all registered dojo target.
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo.refreshByType

    • parameters:
      • type: (typeof String)
        A String to identify dojo targets.
    • summary
      Refresh the coordinates of registered dojo target with a specific type.
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo._getHoverDojoArea

    • parameters:
      • coords: (typeof Object)
        Coordinates of the mouse.
    • summary
      Check if the coordinates of the mouse is in a dojo target.
    • tags:
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo._oldDojoArea

  • dojox.mdnd.adapter.DndToDojo.onMouseMove

    • parameters:
      • e: (typeof DOMEvent)
        Event object.
    • summary
      Call when the mouse moving after an onStartDrag of AreaManger.
      Check if the coordinates of the mouse is in a dojo target.
    • tags: callback
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo.isAccepted

    • parameters:
      • draggedNode: (typeof DOMNode)
      • target: (typeof Object)
    • summary
      Return true if the dragged node is accepted.
      This method has to be overwritten according to registered target.
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo.onDragEnter

    • parameters:
      • e: (typeof DOMEvent)
        The current Javascript Event.
    • summary
      Call when the mouse enters in a registered dojo target.
    • tags: callback
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo._dojoxManager._dragItem.item.node

  • dojox.mdnd.adapter.DndToDojo.cancelHandler

    • type
      Object
  • dojox.mdnd.adapter.DndToDojo.dropHandler

    • type
      Object
  • dojox.mdnd.adapter.DndToDojo.accept

    • type
      Object
  • dojox.mdnd.adapter.DndToDojo._dojoxManager._dropIndicator.node.style.display

    • type
      String
  • dojox.mdnd.adapter.DndToDojo.onDragExit

    • parameters:
      • e: (typeof DOMEvent)
        current javscript event
    • summary
      Call when the mouse exit of a registered dojo target.
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo._dojoxManager._dragItem.item

  • dojox.mdnd.adapter.DndToDojo._dojoxManager._dragItem.item.node.style

  • dojox.mdnd.adapter.DndToDojo._dojoxManager._dragItem.item.node.style.position

    • type
      String
  • dojox.mdnd.adapter.DndToDojo._dojoxManager._dragItem.item.node.style.left

    • type
      String
  • dojox.mdnd.adapter.DndToDojo._dojoxManager._dragItem.item.node.style.top

    • type
      String
  • dojox.mdnd.adapter.DndToDojo._dojoxManager._dragItem.item.node.style.display

    • type
      String
  • dojox.mdnd.adapter.DndToDojo.onDrop

    • parameters:
      • e: (typeof DOMEvent)
        Event object.
    • summary
      Called when an onmouseup event is loaded on a registered target dojo.
    • type
      Function
  • dojox.mdnd.adapter.DndToDojo._draggedNode.style

  • dojox.mdnd.adapter.DndToDojo._draggedNode.style.position

    • type
      String
  • dojox.mdnd.adapter.DndToDojo._draggedNode.style.left

    • type
      String
  • dojox.mdnd.adapter.DndToDojo._draggedNode.style.top

    • type
      String
  • dojox.mdnd.adapter.DndToDojo._draggedNode.style.width

    • type
      String
  • dojox.mdnd.adapter._dndToDojo

    • type
      Object
  • dojox.mdnd.adapter.dndToDojo

    • returns
      Object
    • summary
      returns the current areaManager, creates one if it is not created yet
    • type
      Function
  • dojox.mdnd.adapter

    • type
      Object
  • dojox.mdnd

    • type
      Object
  • dojox

    • type
      Object