X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.dd.DragDrop.html diff --git a/docs/output/Ext.dd.DragDrop.html b/docs/output/Ext.dd.DragDrop.html index e2b1bbb1..a861f039 100644 --- a/docs/output/Ext.dd.DragDrop.html +++ b/docs/output/Ext.dd.DragDrop.html @@ -1,20 +1,4 @@ -
-
- Properties - Methods - Events - Direct Link -
-

Class Ext.dd.DragDrop

- - - - - - -
Package:Ext.dd
Defined In:DDCore.js
Class:DragDrop
Subclasses:DD, DDTarget
Extends:Object
-
- Defines the interface and base operation of items that that can be +

Class Ext.dd.DragDrop

Package:Ext.dd
Defined In:DDCore.js
Class:DragDrop
Subclasses:DD, DDTarget
Extends:Object
Defines the interface and base operation of items that that can be dragged or can be drop targets. It was designed to be extended, overriding the event handlers for startDrag, onDrag, onDragOver and onDragOut. Up to three html elements can be associated with a DragDrop instance: @@ -29,1186 +13,241 @@ linked element to initiate the drag operation, and the setHandleElId() method provides a way to define this.
  • drag element: this represents the element that would be moved along with the cursor during a drag operation. By default, this is the linked -element itself as in Ext.dd.DD. setDragElId() lets you define -a separate element that would be moved, as in Ext.dd.DDProxy. +element itself as in Ext.dd.DD. setDragElId() lets you define +a separate element that would be moved, as in Ext.dd.DDProxy.
  • This class should not be instantiated until the onload event to ensure that the associated elements are available. The following would define a DragDrop obj that would interact with any other DragDrop obj in the "group1" group: -
    dd = new Ext.dd.DragDrop("div1", "group1");
    +
    +dd = new Ext.dd.DragDrop("div1", "group1");
    +
    Since none of the event handlers have been implemented, nothing would actually happen if you were to run the code above. Normally you would override this class or one of the default implementations, but you can also override the methods you want on an instance of the class... -
    dd.onDragDrop = function(e, id) {
    +
    +dd.onDragDrop = function(e, id) {
       alert("dd was dropped on " + id);
    -}
    - -
    - -

    Public Properties

    - - - - - - - - - - - - - - - - - - - - - - -
    PropertyDefined By
      - - available : boolean
    - The availabe property is false until the linked dom element is accessible.
    -
    DragDrop
      - - config : object
    - Configuration attributes passed into the constructor
    -
    DragDrop
      - - defaultPadding : Object
    - Provides default constraint padding to "constrainTo" elements (defaults to {left: 0, right:0, top:0, bottom:0}).
    -
    DragDrop

    Public Events

    This class has no public events.
    \ No newline at end of file