| centerFrame : booleanBy default the frame is positioned exactly where the drag element is, so
+ A simple class that provides the basic implementation needed to make any element draggable. Config Options|
| ddGroup : StringA named drag drop group to which this object belongs. If a group is specified, then this object will only
+interact w... A named drag drop group to which this object belongs. If a group is specified, then this object will only
+interact with other drag drop objects in the same group (defaults to undefined). | DragSource | | dropAllowed : String The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok"). | DragSource | | dropNotAllowed : String The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop"). | DragSource |
Public Properties|
| Ext.dd.DDProxy.dragElId : String The default drag frame div id | DDProxy | | available : boolean The available property is false until the linked dom element is accessible. | DragDrop | | centerFrame : booleanBy default the frame is positioned exactly where the drag element is, so
we use the cursor offset provided by Ext.dd.... By default the frame is positioned exactly where the drag element is, so
we use the cursor offset provided by Ext.dd.DD. Another option that works only if
you do not have constraints on the obj is to have the drag frame centered
@@ -77,24 +75,24 @@ instances belong to at least one group, and can belon...
instances belong to at least one group, and can belong to as many
groups as needed. Parameters:{string} : sGroupthe name of the group Returns: | DragDrop | | afterDragDrop( Ext.dd.DragDrop target , Event e , String id )
:
- voidAn empty function by default, but provided so that you can perform a custom action
-after a valid drag drop has occur... An empty function by default, but provided so that you can perform a custom action
+ void An empty function by default, but provided so that you can perform a custom action
+after a valid drag drop has occurr... An empty function by default, but provided so that you can perform a custom action
after a valid drag drop has occurred by providing an implementation. | DragSource | | afterDragEnter( Ext.dd.DragDrop target , Event e , String id )
:
- voidAn empty function by default, but provided so that you can perform a custom action
-when the dragged item enters the ... An empty function by default, but provided so that you can perform a custom action
+ void An empty function by default, but provided so that you can perform a custom action
+when the dragged item enters the d... An empty function by default, but provided so that you can perform a custom action
when the dragged item enters the drop target by providing an implementation. | DragSource | | afterDragOut( Ext.dd.DragDrop target , Event e , String id )
:
- voidAn empty function by default, but provided so that you can perform a custom action
-after the dragged item is dragged... An empty function by default, but provided so that you can perform a custom action
+ void An empty function by default, but provided so that you can perform a custom action
+after the dragged item is dragged ... An empty function by default, but provided so that you can perform a custom action
after the dragged item is dragged out of the target without dropping. | DragSource | | afterDragOver( Ext.dd.DragDrop target , Event e , String id )
:
- voidAn empty function by default, but provided so that you can perform a custom action
-while the dragged item is over th... An empty function by default, but provided so that you can perform a custom action
+ void An empty function by default, but provided so that you can perform a custom action
+while the dragged item is over the... An empty function by default, but provided so that you can perform a custom action
while the dragged item is over the drop target by providing an implementation. | DragSource | | afterInvalidDrop( Event e , String id )
:
- voidAn empty function by default, but provided so that you can perform a custom action
-after an invalid drop has occurre... An empty function by default, but provided so that you can perform a custom action
+ void An empty function by default, but provided so that you can perform a custom action
+after an invalid drop has occurred... An empty function by default, but provided so that you can perform a custom action
after an invalid drop has occurred by providing an implementation. | DragSource | | alignElWithMouse( HTMLElement el , int iPageX , int iPageY )
:
voidSets the element to the location of the mousedown or click event,
@@ -120,24 +118,24 @@ Ext.dd.DragDrop. Event that fires prior to the onMouseDown event. Overrides
Ext.dd.DragDrop. | DD | | beforeDragDrop( Ext.dd.DragDrop target , Event e , String id )
:
- BooleanAn empty function by default, but provided so that you can perform a custom action before the dragged
-item is droppe... An empty function by default, but provided so that you can perform a custom action before the dragged
+ Boolean An empty function by default, but provided so that you can perform a custom action before the dragged
+item is dropped... An empty function by default, but provided so that you can perform a custom action before the dragged
item is dropped onto the target and optionally cancel the onDragDrop. | DragSource | | beforeDragEnter( Ext.dd.DragDrop target , Event e , String id )
:
- BooleanAn empty function by default, but provided so that you can perform a custom action
-before the dragged item enters th... An empty function by default, but provided so that you can perform a custom action
+ Boolean An empty function by default, but provided so that you can perform a custom action
+before the dragged item enters the... An empty function by default, but provided so that you can perform a custom action
before the dragged item enters the drop target and optionally cancel the onDragEnter. | DragSource | | beforeDragOut( Ext.dd.DragDrop target , Event e , String id )
:
- BooleanAn empty function by default, but provided so that you can perform a custom action before the dragged
-item is dragge... An empty function by default, but provided so that you can perform a custom action before the dragged
+ Boolean An empty function by default, but provided so that you can perform a custom action before the dragged
+item is dragged... An empty function by default, but provided so that you can perform a custom action before the dragged
item is dragged out of the target without dropping, and optionally cancel the onDragOut. | DragSource | | beforeDragOver( Ext.dd.DragDrop target , Event e , String id )
:
- BooleanAn empty function by default, but provided so that you can perform a custom action
-while the dragged item is over th... An empty function by default, but provided so that you can perform a custom action
+ Boolean An empty function by default, but provided so that you can perform a custom action
+while the dragged item is over the... An empty function by default, but provided so that you can perform a custom action
while the dragged item is over the drop target and optionally cancel the onDragOver. | DragSource | | beforeInvalidDrop( Ext.dd.DragDrop target , Event e , String id )
:
- BooleanAn empty function by default, but provided so that you can perform a custom action after an invalid
-drop has occurre... An empty function by default, but provided so that you can perform a custom action after an invalid
+ Boolean An empty function by default, but provided so that you can perform a custom action after an invalid
+drop has occurred... An empty function by default, but provided so that you can perform a custom action after an invalid
drop has occurred. | DragSource | | cachePosition( iPageX the , iPageY the )
:
voidSaves the most recent position so that we can reset the constraints and
@@ -213,8 +211,8 @@ false | Override the onAvailable method to do what is needed after the initial
position was determined. | DragDrop | | onBeforeDrag( Object data , Event e )
:
- BooleanAn empty function by default, but provided so that you can perform a custom action before the initial
-drag event beg... An empty function by default, but provided so that you can perform a custom action before the initial
+ Boolean An empty function by default, but provided so that you can perform a custom action before the initial
+drag event begi... An empty function by default, but provided so that you can perform a custom action before the initial
drag event begins and optionally cancel it. | DragSource | | onDrag( Event e )
:
voidAbstract method called during the onMouseMove event while dragging an
@@ -251,8 +249,8 @@ drop target Parameters:Event handler that fires when a drag/drop obj gets a mouseup Event handler that fires when a drag/drop obj gets a mouseup Parameters:e : Eventthe mouseup event Returns:
| DragDrop | | onStartDrag( Number x , Number y )
:
- voidAn empty function by default, but provided so that you can perform a custom action once the initial
-drag event has b... An empty function by default, but provided so that you can perform a custom action once the initial
+ void An empty function by default, but provided so that you can perform a custom action once the initial
+drag event has be... An empty function by default, but provided so that you can perform a custom action once the initial
drag event has begun. The drag cannot be canceled from this function. | DragSource | | removeFromGroup( string sGroup )
:
voidRemove's this instance from the supplied interaction group Remove's this instance from the supplied interaction group Parameters:sGroup : stringThe group to drop Returns: | DragDrop | | removeInvalidHandleClass( string cssClass )
|
|