-<div class="body-wrap" xmlns:ext="http://www.extjs.com"><div class="top-tools"><a class="inner-link" href="#Ext.dd.DragSource-props"><img src="resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> <a class="inner-link" href="#Ext.dd.DragSource-methods"><img src="resources/images/default/s.gif" class="item-icon icon-method">Methods</a> <a class="inner-link" href="#Ext.dd.DragSource-events"><img src="resources/images/default/s.gif" class="item-icon icon-event">Events</a> <a class="inner-link" href="#Ext.dd.DragSource-configs"><img src="resources/images/default/s.gif" class="item-icon icon-config">Config Options</a> <a class="bookmark" href="../docs/?class=Ext.dd.DragSource"><img src="resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> </div><div class="inheritance res-block"><pre class="res-block-inner"><a href="output/Ext.dd.DragDrop.html" ext:member="" ext:cls="Ext.dd.DragDrop">DragDrop</a> <img src="resources/elbow-end.gif"><a href="output/Ext.dd.DD.html" ext:member="" ext:cls="Ext.dd.DD">DD</a> <img src="resources/elbow-end.gif"><a href="output/Ext.dd.DDProxy.html" ext:member="" ext:cls="Ext.dd.DDProxy">DDProxy</a> <img src="resources/elbow-end.gif">DragSource</pre></div><h1>Class <a href="source/DragSource.html#cls-Ext.dd.DragSource">Ext.dd.DragSource</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Ext.dd</td></tr><tr><td class="label">Defined In:</td><td class="hd-info">DragSource.js</td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/DragSource.html#cls-Ext.dd.DragSource">DragSource</a></td></tr><tr><td class="label">Subclasses:</td><td class="hd-info"><a href="output/Ext.dd.DragZone.html" ext:cls="Ext.dd.DragZone">DragZone</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info"><a href="output/Ext.dd.DDProxy.html" ext:cls="Ext.dd.DDProxy" ext:member="">DDProxy</a></td></tr></table><div class="description">A simple class that provides the basic implementation needed to make any element draggable.</div><div class="hr"></div><a id="Ext.dd.DragSource-configs"></a><h2>Config Options</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Config Options</th><th class="msource-header">Defined By</th></tr><tr class="config-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-ddGroup"></a><b><a href="source/DragSource.html#cfg-Ext.dd.DragSource-ddGroup">ddGroup</a></b> : String<div class="mdesc"><div class="short">A named drag drop group to which this object belongs. If a group is specified, then this object will only
-interact ...</div><div class="long">A named drag drop group to which this object belongs. If a group is specified, then this object will only\r
-interact with other drag drop objects in the same group (defaults to undefined).</div></div></td><td class="msource">DragSource</td></tr><tr class="config-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-dropAllowed"></a><b><a href="source/DragSource.html#cfg-Ext.dd.DragSource-dropAllowed">dropAllowed</a></b> : String<div class="mdesc">The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").</div></td><td class="msource">DragSource</td></tr><tr class="config-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-dropNotAllowed"></a><b><a href="source/DragSource.html#cfg-Ext.dd.DragSource-dropNotAllowed">dropNotAllowed</a></b> : String<div class="mdesc">The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop").</div></td><td class="msource">DragSource</td></tr></tbody></table><a id="Ext.dd.DragSource-props"></a><h2>Public Properties</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Property</th><th class="msource-header">Defined By</th></tr><tr class="property-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DDProxy-Ext.dd.DDProxy.dragElId"></a><b><a href="source/DDCore.html#prop-Ext.dd.DDProxy-Ext.dd.DDProxy.dragElId">Ext.dd.DDProxy.dragElId</a></b> : String<div class="mdesc">The default drag frame div id</div></td><td class="msource"><a href="output/Ext.dd.DDProxy.html#Ext.dd.DDProxy.dragElId" ext:member="#Ext.dd.DDProxy.dragElId" ext:cls="Ext.dd.DDProxy">DDProxy</a></td></tr><tr class="property-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragDrop-Only"></a><b><a href="source/DDCore.html#prop-Ext.dd.DragDrop-Only">Only</a></b> : Object<div class="mdesc"><div class="short">The drag and drop utility provides a framework for building drag and drop
-applications. In addition to enabling drag...</div><div class="long">The drag and drop utility provides a framework for building drag and drop
-applications. In addition to enabling drag and drop for specific elements,
-the drag and drop elements are tracked by the manager class, and the
-interactions between the various elements are tracked during the drag and
-the implementing code is notified about these important moments.</div></div></td><td class="msource"><a href="output/Ext.dd.DragDrop.html#Only" ext:member="#Only" ext:cls="Ext.dd.DragDrop">DragDrop</a></td></tr><tr class="property-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragDrop-available"></a><b><a href="source/DDCore.html#prop-Ext.dd.DragDrop-available">available</a></b> : boolean<div class="mdesc">The availabe property is false until the linked dom element is accessible.</div></td><td class="msource"><a href="output/Ext.dd.DragDrop.html#available" ext:member="#available" ext:cls="Ext.dd.DragDrop">DragDrop</a></td></tr><tr class="property-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DDProxy-centerFrame"></a><b><a href="source/DDCore.html#prop-Ext.dd.DDProxy-centerFrame">centerFrame</a></b> : boolean<div class="mdesc"><div class="short">By default the frame is positioned exactly where the drag element is, so
+<div class="body-wrap" xmlns:ext="http://www.extjs.com"><div class="top-tools"><a class="inner-link" href="#Ext.dd.DragSource-props"><img src="resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> <a class="inner-link" href="#Ext.dd.DragSource-methods"><img src="resources/images/default/s.gif" class="item-icon icon-method">Methods</a> <a class="inner-link" href="#Ext.dd.DragSource-events"><img src="resources/images/default/s.gif" class="item-icon icon-event">Events</a> <a class="inner-link" href="#Ext.dd.DragSource-configs"><img src="resources/images/default/s.gif" class="item-icon icon-config">Config Options</a> <a class="bookmark" href="../docs/?class=Ext.dd.DragSource"><img src="resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> </div><div class="inheritance res-block"><pre class="res-block-inner"><a href="output/Ext.dd.DragDrop.html" ext:member="" ext:cls="Ext.dd.DragDrop">DragDrop</a>
+ <img src="resources/elbow-end.gif"><a href="output/Ext.dd.DD.html" ext:member="" ext:cls="Ext.dd.DD">DD</a>
+ <img src="resources/elbow-end.gif"><a href="output/Ext.dd.DDProxy.html" ext:member="" ext:cls="Ext.dd.DDProxy">DDProxy</a>
+ <img src="resources/elbow-end.gif">DragSource</pre></div><h1>Class <a href="source/DragSource.html#cls-Ext.dd.DragSource">Ext.dd.DragSource</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Ext.dd</td></tr><tr><td class="label">Defined In:</td><td class="hd-info"><a href="source/DragSource.html#cls-Ext.dd.DragSource">DragSource.js</a></td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/DragSource.html#cls-Ext.dd.DragSource">DragSource</a></td></tr><tr><td class="label">Subclasses:</td><td class="hd-info"><a href="output/Ext.dd.DragZone.html" ext:cls="Ext.dd.DragZone">DragZone</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info"><a href="output/Ext.dd.DDProxy.html" ext:cls="Ext.dd.DDProxy" ext:member="">DDProxy</a></td></tr></table><div class="description">A simple class that provides the basic implementation needed to make any element draggable.</div><div class="hr"></div><a id="Ext.dd.DragSource-configs"></a><h2>Config Options</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Config Options</th><th class="msource-header">Defined By</th></tr><tr class="config-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-ddGroup"></a><b><a href="source/DragSource.html#cfg-Ext.dd.DragSource-ddGroup">ddGroup</a></b> : String<div class="mdesc"><div class="short">A named drag drop group to which this object belongs. If a group is specified, then this object will only
+interact w...</div><div class="long">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).</div></div></td><td class="msource">DragSource</td></tr><tr class="config-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-dropAllowed"></a><b><a href="source/DragSource.html#cfg-Ext.dd.DragSource-dropAllowed">dropAllowed</a></b> : String<div class="mdesc">The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").</div></td><td class="msource">DragSource</td></tr><tr class="config-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-dropNotAllowed"></a><b><a href="source/DragSource.html#cfg-Ext.dd.DragSource-dropNotAllowed">dropNotAllowed</a></b> : String<div class="mdesc">The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop").</div></td><td class="msource">DragSource</td></tr></tbody></table><a id="Ext.dd.DragSource-props"></a><h2>Public Properties</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Property</th><th class="msource-header">Defined By</th></tr><tr class="property-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DDProxy-Ext.dd.DDProxy.dragElId"></a><b><a href="source/DDCore.html#prop-Ext.dd.DDProxy-Ext.dd.DDProxy.dragElId">Ext.dd.DDProxy.dragElId</a></b> : String<div class="mdesc">The default drag frame div id</div></td><td class="msource"><a href="output/Ext.dd.DDProxy.html#Ext.dd.DDProxy.dragElId" ext:member="#Ext.dd.DDProxy.dragElId" ext:cls="Ext.dd.DDProxy">DDProxy</a></td></tr><tr class="property-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragDrop-available"></a><b><a href="source/DDCore.html#prop-Ext.dd.DragDrop-available">available</a></b> : boolean<div class="mdesc">The available property is false until the linked dom element is accessible.</div></td><td class="msource"><a href="output/Ext.dd.DragDrop.html#available" ext:member="#available" ext:cls="Ext.dd.DragDrop">DragDrop</a></td></tr><tr class="property-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DDProxy-centerFrame"></a><b><a href="source/DDCore.html#prop-Ext.dd.DDProxy-centerFrame">centerFrame</a></b> : boolean<div class="mdesc"><div class="short">By default the frame is positioned exactly where the drag element is, so
we use the cursor offset provided by Ext.dd....</div><div class="long">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
instances belong to at least one group, and can belong to as many
groups as needed.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>{string}</code> : sGroup<div class="sub-desc">the name of the group</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.dd.DragDrop.html#addToGroup" ext:member="#addToGroup" ext:cls="Ext.dd.DragDrop">DragDrop</a></td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-afterDragDrop"></a><b><a href="source/DragSource.html#method-Ext.dd.DragSource-afterDragDrop">afterDragDrop</a></b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> )
:
- void<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action
-after a valid drag drop has occur...</div><div class="long">An empty function by default, but provided so that you can perform a custom action\r
+ void<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action
+after a valid drag drop has occurr...</div><div class="long">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.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dropped element</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">DragSource</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-afterDragEnter"></a><b><a href="source/DragSource.html#method-Ext.dd.DragSource-afterDragEnter">afterDragEnter</a></b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> )
:
- void<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action
-when the dragged item enters the ...</div><div class="long">An empty function by default, but provided so that you can perform a custom action\r
+ void<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action
+when the dragged item enters the d...</div><div class="long">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.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">DragSource</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-afterDragOut"></a><b><a href="source/DragSource.html#method-Ext.dd.DragSource-afterDragOut">afterDragOut</a></b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> )
:
- void<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action
-after the dragged item is dragged...</div><div class="long">An empty function by default, but provided so that you can perform a custom action\r
+ void<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action
+after the dragged item is dragged ...</div><div class="long">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.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">DragSource</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-afterDragOver"></a><b><a href="source/DragSource.html#method-Ext.dd.DragSource-afterDragOver">afterDragOver</a></b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> )
:
- void<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action
-while the dragged item is over th...</div><div class="long">An empty function by default, but provided so that you can perform a custom action\r
+ void<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action
+while the dragged item is over the...</div><div class="long">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.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">DragSource</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-afterInvalidDrop"></a><b><a href="source/DragSource.html#method-Ext.dd.DragSource-afterInvalidDrop">afterInvalidDrop</a></b>( <code>Event e</code>, <code>String id</code> )
:
- void<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action
-after an invalid drop has occurre...</div><div class="long">An empty function by default, but provided so that you can perform a custom action\r
+ void<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action
+after an invalid drop has occurred...</div><div class="long">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.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dropped element</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">DragSource</td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DD-alignElWithMouse"></a><b><a href="source/DDCore.html#method-Ext.dd.DD-alignElWithMouse">alignElWithMouse</a></b>( <code>HTMLElement el</code>, <code>int iPageX</code>, <code>int iPageY</code> )
:
void<div class="mdesc"><div class="short">Sets the element to the location of the mousedown or click event,
Ext.dd.DragDrop.</div><div class="long">Event that fires prior to the onMouseDown event. Overrides
Ext.dd.DragDrop.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.dd.DD.html#b4MouseDown" ext:member="#b4MouseDown" ext:cls="Ext.dd.DD">DD</a></td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-beforeDragDrop"></a><b><a href="source/DragSource.html#method-Ext.dd.DragSource-beforeDragDrop">beforeDragDrop</a></b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> )
:
- Boolean<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action before the dragged
-item is droppe...</div><div class="long">An empty function by default, but provided so that you can perform a custom action before the dragged\r
+ Boolean<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action before the dragged
+item is dropped...</div><div class="long">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.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">isValid True if the drag drop event is valid, else false to cancel</div></li></ul></div></div></div></td><td class="msource">DragSource</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-beforeDragEnter"></a><b><a href="source/DragSource.html#method-Ext.dd.DragSource-beforeDragEnter">beforeDragEnter</a></b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> )
:
- Boolean<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action
-before the dragged item enters th...</div><div class="long">An empty function by default, but provided so that you can perform a custom action\r
+ Boolean<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action
+before the dragged item enters the...</div><div class="long">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.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li></ul></div></div></div></td><td class="msource">DragSource</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-beforeDragOut"></a><b><a href="source/DragSource.html#method-Ext.dd.DragSource-beforeDragOut">beforeDragOut</a></b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> )
:
- Boolean<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action before the dragged
-item is dragge...</div><div class="long">An empty function by default, but provided so that you can perform a custom action before the dragged\r
+ Boolean<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action before the dragged
+item is dragged...</div><div class="long">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.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li></ul></div></div></div></td><td class="msource">DragSource</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-beforeDragOver"></a><b><a href="source/DragSource.html#method-Ext.dd.DragSource-beforeDragOver">beforeDragOver</a></b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> )
:
- Boolean<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action
-while the dragged item is over th...</div><div class="long">An empty function by default, but provided so that you can perform a custom action\r
+ Boolean<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action
+while the dragged item is over the...</div><div class="long">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.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li></ul></div></div></div></td><td class="msource">DragSource</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-beforeInvalidDrop"></a><b><a href="source/DragSource.html#method-Ext.dd.DragSource-beforeInvalidDrop">beforeInvalidDrop</a></b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> )
:
- Boolean<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action after an invalid
-drop has occurre...</div><div class="long">An empty function by default, but provided so that you can perform a custom action after an invalid\r
+ Boolean<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action after an invalid
+drop has occurred...</div><div class="long">An empty function by default, but provided so that you can perform a custom action after an invalid
drop has occurred.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">isValid True if the invalid drop should proceed, else false to cancel</div></li></ul></div></div></div></td><td class="msource">DragSource</td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DD-cachePosition"></a><b><a href="source/DDCore.html#method-Ext.dd.DD-cachePosition">cachePosition</a></b>( <code>iPageX the</code>, <code>iPageY the</code> )
:
void<div class="mdesc"><div class="short">Saves the most recent position so that we can reset the constraints and
position was determined.</div><div class="long">Override the onAvailable method to do what is needed after the initial
position was determined.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.dd.DragDrop.html#onAvailable" ext:member="#onAvailable" ext:cls="Ext.dd.DragDrop">DragDrop</a></td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-onBeforeDrag"></a><b><a href="source/DragSource.html#method-Ext.dd.DragSource-onBeforeDrag">onBeforeDrag</a></b>( <code>Object data</code>, <code>Event e</code> )
:
- Boolean<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action before the initial
-drag event beg...</div><div class="long">An empty function by default, but provided so that you can perform a custom action before the initial\r
+ Boolean<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action before the initial
+drag event begi...</div><div class="long">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.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>data</code> : Object<div class="sub-desc">An object containing arbitrary data to be shared with drop targets</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li></ul></div></div></div></td><td class="msource">DragSource</td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragDrop-onDrag"></a><b><a href="source/DDCore.html#method-Ext.dd.DragDrop-onDrag">onDrag</a></b>( <code>Event e</code> )
:
void<div class="mdesc"><div class="short">Abstract method called during the onMouseMove event while dragging an
:
void<div class="mdesc"><div class="short">Event handler that fires when a drag/drop obj gets a mouseup</div><div class="long">Event handler that fires when a drag/drop obj gets a mouseup<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.dd.DragDrop.html#onMouseUp" ext:member="#onMouseUp" ext:cls="Ext.dd.DragDrop">DragDrop</a></td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragSource-onStartDrag"></a><b><a href="source/DragSource.html#method-Ext.dd.DragSource-onStartDrag">onStartDrag</a></b>( <code>Number x</code>, <code>Number y</code> )
:
- void<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action once the initial
-drag event has b...</div><div class="long">An empty function by default, but provided so that you can perform a custom action once the initial\r
+ void<div class="mdesc"><div class="short">An empty function by default, but provided so that you can perform a custom action once the initial
+drag event has be...</div><div class="long">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.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>x</code> : Number<div class="sub-desc">The x position of the click on the dragged object</div></li><li><code>y</code> : Number<div class="sub-desc">The y position of the click on the dragged object</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">DragSource</td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragDrop-removeFromGroup"></a><b><a href="source/DDCore.html#method-Ext.dd.DragDrop-removeFromGroup">removeFromGroup</a></b>( <code>string sGroup</code> )
:
void<div class="mdesc"><div class="short">Remove's this instance from the supplied interaction group</div><div class="long">Remove's this instance from the supplied interaction group<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>sGroup</code> : string<div class="sub-desc">The group to drop</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.dd.DragDrop.html#removeFromGroup" ext:member="#removeFromGroup" ext:cls="Ext.dd.DragDrop">DragDrop</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.dd.DragDrop-removeInvalidHandleClass"></a><b><a href="source/DDCore.html#method-Ext.dd.DragDrop-removeInvalidHandleClass">removeInvalidHandleClass</a></b>( <code>string cssClass</code> )