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

  • Provides:

    • dojox.mdnd.PureSource
  • Requires:

    • dojo.dnd.Selector in common
    • dojo.dnd.Manager in common
  • dojox.mdnd.PureSource

    • type
      Function
    • chains:
      • dojo.dnd.Selector: (prototype)
      • dojo.dnd.Selector: (call)
    • parameters:
      • node: (typeof DOMNode|String)
        Node or node's id to build the source on.
      • params: (typeof dojo.dnd.__SourceArgs)
        Any property of this class may be configured via the params
        object which is mixed-in to the 'dojo.dnd.Source' instance.
    • summary
      A Source Object, which can be used only as a DnD source.
      A Source can contained several dnd items.
      A dnd item is not a source.
  • dojox.mdnd.PureSource.horizontal

    • type
      bool
  • dojox.mdnd.PureSource.copyOnly

    • type
      Object
  • dojox.mdnd.PureSource.skipForm

    • type
      bool
  • dojox.mdnd.PureSource.withHandles

    • type
      bool
  • dojox.mdnd.PureSource.isSource

    • type
      Object
  • dojox.mdnd.PureSource.targetState

    • type
      String
  • dojox.mdnd.PureSource.generateText

    • type
      Object
  • dojox.mdnd.PureSource.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • node: (typeof DOMNode|String)
        Node or node's id to build the source on.
      • params: (typeof dojo.dnd.__SourceArgs)
        Any property of this class may be configured via the params
        object which is mixed-in to the 'dojo.dnd.Source' instance.
    • summary
      Initialize a new PureSource.
  • dojox.mdnd.PureSource.onDndCancel

    • summary
      Topic event processor for /dnd/cancel, called to cancel the Dnd
      operation.
    • tags: callback
    • type
      Function
  • dojox.mdnd.PureSource.isDragging

    • type
      bool
  • dojox.mdnd.PureSource.mouseDown

    • type
      bool
  • dojox.mdnd.PureSource.copyState

    • parameters:
      • keyPressed: (typeof Boolean)
        The "copy" was pressed.
    • returns
      Boolean
    • summary
      Returns true, if we need to copy items, false to move.
      It is separated to be overwritten dynamically, if needed.
    • return_summary
      True, if we need to copy items, false to move.
    • type
      Function
  • dojox.mdnd.PureSource.destroy

    • summary
      Prepares the object to be garbage-collected.
    • type
      Function
  • dojox.mdnd.PureSource.targetAnchor

    • type
      Object
  • dojox.mdnd.PureSource.markupFactory

    • parameters:
      • params: (typeof Object)
        ???
      • node: (typeof DomNode)
        ???
    • summary
      Markup methods.
    • return_summary
      New dojox.mdnd.PureSource instance.
    • type
      Function
  • dojox.mdnd.PureSource.onMouseMove

    • parameters:
      • e: (typeof Event)
        Mouse event.
    • summary
      Event processor for onmousemove.
    • type
      Function
  • dojox.mdnd.PureSource.onMouseDown

    • parameters:
      • e: (typeof Event)
        Mouse event.
    • summary
      Event processor for onmousedown.
    • tags: callback
    • type
      Function
  • dojox.mdnd.PureSource.mouseButton

  • dojox.mdnd.PureSource.onMouseUp

    • parameters:
      • e: (typeof Event)
        Mouse event
    • summary
      Event processor for onmouseup.
    • tags: callback
    • type
      Function
  • dojox.mdnd.PureSource.onOverEvent

    • summary
      Called once, when mouse is over our container.
    • tags: callback
    • type
      Function
  • dojox.mdnd.PureSource.onOutEvent

    • summary
      Called once, when mouse is out our container.
    • tags: callback
    • type
      Function
  • dojox.mdnd.PureSource._markDndStatus

    • parameters:
      • copy: (typeof Boolean)
        Copy status.
    • summary
      Changes source's state based on "copy" status.
    • tags:
    • type
      Function
  • dojox.mdnd.PureSource._legalMouseDown

    • parameters:
      • e: (typeof Event)
        Mouse event.
    • returns
      Boolean
    • summary
      Checks if user clicked on "approved" items.
    • return_summary
      True if user clicked on "approved" items.
    • tags:
    • type
      Function
  • dojox.mdnd.PureSource.accept

  • dojox.mdnd.PureSource.sourceState

    • type
      String
  • dojox.mdnd.PureSource.topics

    • type
      Array
  • dojox.mdnd

    • type
      Object
  • dojox

    • type
      Object