1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.dd.DropTarget</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.dd.DropTarget-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.dd.DropTarget-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.dd.DropTarget-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.dd.DropTarget-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.dd.DDTarget.html#constructor" roo:cls="Roo.dd.DDTarget.html#constructor">Roo.dd.DDTarget</a>
48 <img src="../../images/default/s.gif" height="1" width="40"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.dd.DropTarget
53 <!-- ============================== class title / details ============================ -->
56 <h1 class="classTitle">
58 Class Roo.dd.DropTarget
61 <table cellspacing="0" class="class-summary-table">
63 <tr><td class="label">Package:</td><td class="hd-info">Roo.dd</td></tr>
65 <tr><td class="label">Defined In:</td><td class="hd-info">
67 <a href="./src/Roo_dd_DropTarget.js.html">Roo/dd/DropTarget.js</a>.
70 <tr><td class="label">Class:</td><td class="hd-info">DropTarget</td></tr>
73 <tr><td class="label">Subclasses:</td><td class="hd-info">
74 <a href="./Roo.dd.DropZone.html#constructor" roo:cls="Roo.dd.DropZone.html#constructor">Roo.dd.DropZone</a>
82 <tr><td class="label">Extends:</td><td class="hd-info">
83 <a href="./Roo.dd.DDTarget.html#constructor" roo:cls="Roo.dd.DDTarget.html#constructor">Roo.dd.DDTarget</a>
91 <!-- ============================== class summary ========================== -->
92 <div class="description">
93 A simple class that provides the basic implementation needed to make any element a drop target that can have<br/>draggable items dropped onto it. The drop has no effect until an implementation of notifyDrop is provided.
97 <!-- ============================== Class comment block... ========================== -->
99 <div class="comments">
100 <b>Class Comments / Notes</B> =>
101 <u onclick="parent.CommentDialog.showCommentId = 'Roo.dd.DropTarget';">[Add Your comment/notes about this class]</u>
103 <iframe frameborder="0" id="comments-Roo.dd" style="border: none;width:100%;"
104 src="/blog.php/GtkDjsComments/Roo.dd.DropTarget.html"></iframe>
109 <!-- ============================== config options ========================== -->
114 <div class="hr"></div>
115 <a id="Roo.dd.DropTarget-configs"></a>
121 <table cellspacing="0" class="member-table">
122 <caption>Config Options (Usually are also Properties)</caption>
126 <th class="sig-header" colspan="2">Options</th>
128 <th class="msource-header">Defined By</th>
135 <tr class="config-row expandable config-row-alt0 notInherited">
136 <td class="micon"><a class="exi" href="#expand"> </a></td>
139 <a id="Roo.dd.DropTarget-cfg-ddGroup" name=".ddGroup"></a>
140 <div class="fixedFont">
141 <b class="itemname">ddGroup</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
147 <div class="short">The drag drop group to handle drop events for</div>
151 <div class="long">The drag drop group to handle drop events for</div>
165 <tr class="config-row expandable config-row-alt1 notInherited">
166 <td class="micon"><a class="exi" href="#expand"> </a></td>
169 <a id="Roo.dd.DropTarget-cfg-dropAllowed" name=".dropAllowed"></a>
170 <div class="fixedFont">
171 <b class="itemname">dropAllowed</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
177 <div class="short">The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").</div>
181 <div class="long">The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").</div>
195 <tr class="config-row expandable config-row-alt0 notInherited">
196 <td class="micon"><a class="exi" href="#expand"> </a></td>
199 <a id="Roo.dd.DropTarget-cfg-dropNotAllowed" name=".dropNotAllowed"></a>
200 <div class="fixedFont">
201 <b class="itemname">dropNotAllowed</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
207 <div class="short">The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop").</div>
211 <div class="long">The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop").</div>
225 <tr class="config-row expandable config-row-alt1 notInherited">
226 <td class="micon"><a class="exi" href="#expand"> </a></td>
229 <a id="Roo.dd.DropTarget-cfg-overClass" name=".overClass"></a>
230 <div class="fixedFont">
231 <b class="itemname">overClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
237 <div class="short">The CSS class applied to the drop target element while the drag source is over it (defaults to "").</div>
241 <div class="long">The CSS class applied to the drop target element while the drag source is over it (defaults to "").</div>
255 <tr class="config-row expandable config-row-alt0 notInherited">
256 <td class="micon"><a class="exi" href="#expand"> </a></td>
259 <a id="Roo.dd.DropTarget-cfg-success" name=".success"></a>
260 <div class="fixedFont">
261 <b class="itemname">success</b> : boolean
267 <div class="short">set this after drop listener.</div>
271 <div class="long">set this after drop listener..</div>
285 <tr class="config-row expandable config-row-alt1 notInherited">
286 <td class="micon"><a class="exi" href="#expand"> </a></td>
289 <a id="Roo.dd.DropTarget-cfg-valid" name=".valid"></a>
290 <div class="fixedFont">
291 <b class="itemname">valid</b> : boolean
297 <div class="short">if the drop point is valid for over/enter.</div>
301 <div class="long">if the drop point is valid for over/enter..</div>
325 <!-- ============================== public properties ==================== -->
329 <a id="Roo.dd.DropTarget-props"></a>
335 <table cellspacing="0" class="member-table">
336 <caption class="Empty">Public Properties - Has None</caption>
342 <!-- ============================== methods summary / details ======================== -->
345 <a id="Roo.dd.DropTarget-methods"></a>
346 <!-- constructor?? -->
353 <!-- then dynamics first -->
360 <table cellspacing="0" class="member-table">
361 <caption>Public Methods</caption>
363 <th class="sig-header" colspan="2">Method</th>
364 <th class="msource-header">Defined By</th>
374 <tr class="method-row config-row-alt0 expandable notInherited">
375 <td class="micon"><a class="exi" href="#expand"> </a></td>
379 <a id="Roo.dd-method-DropTarget" name=".DropTarget"></a>
380 <div class="fixedFont">
381 <span class="attributes">new <B>Roo.dd.</B></span><b class="itemname">DropTarget</b>
383 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
391 <div class="short">Create a new Roo.dd.DropTarget</div>
398 Create a new Roo.dd.DropTarget
401 <dl class="detailList">
402 <dt class="heading">Parameters:</dt>
405 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
408 <dd>The container element</dd>
411 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
438 <tr class="method-row config-row-alt1 expandable">
439 <td class="micon"><a class="exi" href="#expand"> </a></td>
443 <a id="Roo.dd.DragDrop-method-addInvalidHandleClass" name=".addInvalidHandleClass"></a>
444 <div class="fixedFont">
445 <span class="attributes"></span><b class="itemname">addInvalidHandleClass</b>
447 (string <B><i>cssClass</i></B>)
454 <div class="short">Lets you specify a css class of elements that will not initiate a drag</div>
460 Lets you specify a css class of elements that will not initiate a drag
467 <dl class="detailList">
468 <dt class="heading">Parameters:</dt>
471 <span class="fixedFont">string</span> <b>cssClass</b>
474 <dd>the class of the elements you wish to ignore</dd>
494 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
500 <tr class="method-row config-row-alt0 expandable">
501 <td class="micon"><a class="exi" href="#expand"> </a></td>
505 <a id="Roo.dd.DragDrop-method-addInvalidHandleId" name=".addInvalidHandleId"></a>
506 <div class="fixedFont">
507 <span class="attributes"></span><b class="itemname">addInvalidHandleId</b>
509 (string <B><i>id</i></B>)
516 <div class="short">Lets you to specify an element id for a child of a drag handle<br/>that should not initiate a drag</div>
522 Lets you to specify an element id for a child of a drag handle<br/>that should not initiate a drag
529 <dl class="detailList">
530 <dt class="heading">Parameters:</dt>
533 <span class="fixedFont">string</span> <b>id</b>
536 <dd>the element id of the element you wish to ignore</dd>
556 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
562 <tr class="method-row config-row-alt1 expandable">
563 <td class="micon"><a class="exi" href="#expand"> </a></td>
567 <a id="Roo.dd.DragDrop-method-addInvalidHandleType" name=".addInvalidHandleType"></a>
568 <div class="fixedFont">
569 <span class="attributes"></span><b class="itemname">addInvalidHandleType</b>
571 (string <B><i>tagName</i></B>)
578 <div class="short">Allows you to specify a tag name that should not start a drag operation<br/>when clicked.</div>
584 Allows you to specify a tag name that should not start a drag operation<br/>when clicked. This is designed to facilitate embedding links within a<br/>drag handle that do something other than start the drag.
591 <dl class="detailList">
592 <dt class="heading">Parameters:</dt>
595 <span class="fixedFont">string</span> <b>tagName</b>
598 <dd>the type of element to exclude</dd>
618 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
624 <tr class="method-row config-row-alt0 expandable">
625 <td class="micon"><a class="exi" href="#expand"> </a></td>
629 <a id="Roo.dd.DragDrop-method-addToGroup" name=".addToGroup"></a>
630 <div class="fixedFont">
631 <span class="attributes"></span><b class="itemname">addToGroup</b>
633 (<B><i>sGroup</i></B>)
640 <div class="short">Add this instance to a group of related drag/drop objects.</div>
646 Add this instance to a group of related drag/drop objects. All<br/>instances belong to at least one group, and can belong to as many<br/>groups as needed.
653 <dl class="detailList">
654 <dt class="heading">Parameters:</dt>
660 <dd>{string} the name of the group</dd>
680 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
686 <tr class="method-row config-row-alt1 expandable">
687 <td class="micon"><a class="exi" href="#expand"> </a></td>
691 <a id="Roo.dd.DragDrop-method-applyConfig" name=".applyConfig"></a>
692 <div class="fixedFont">
693 <span class="attributes"></span><b class="itemname">applyConfig</b>
702 <div class="short">Applies the configuration parameters that were passed into the constructor.</div>
708 Applies the configuration parameters that were passed into the constructor.<br/>This is supposed to happen at each level through the inheritance chain. So<br/>a DDProxy implentation will execute apply config on DDProxy, DD, and<br/>DragDrop in order to get all of the parameters that are available in<br/>each object.
731 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
737 <tr class="method-row config-row-alt0 expandable">
738 <td class="micon"><a class="exi" href="#expand"> </a></td>
742 <a id="Roo.dd.DragDrop-method-clearConstraints" name=".clearConstraints"></a>
743 <div class="fixedFont">
744 <span class="attributes"></span><b class="itemname">clearConstraints</b>
753 <div class="short">Clears any constraints applied to this instance.</div>
759 Clears any constraints applied to this instance. Also clears ticks<br/>since they can't exist independent of a constraint at this time.
782 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
788 <tr class="method-row config-row-alt1 expandable">
789 <td class="micon"><a class="exi" href="#expand"> </a></td>
793 <a id="Roo.dd.DragDrop-method-clearTicks" name=".clearTicks"></a>
794 <div class="fixedFont">
795 <span class="attributes"></span><b class="itemname">clearTicks</b>
804 <div class="short">Clears any tick interval defined for this instance</div>
810 Clears any tick interval defined for this instance
833 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
839 <tr class="method-row config-row-alt0 expandable">
840 <td class="micon"><a class="exi" href="#expand"> </a></td>
844 <a id="Roo.dd.DragDrop-method-endDrag" name=".endDrag"></a>
845 <div class="fixedFont">
846 <span class="attributes"></span><b class="itemname">endDrag</b>
848 (Event <B><i>e</i></B>)
855 <div class="short">Fired when we are done dragging the object</div>
861 Fired when we are done dragging the object
868 <dl class="detailList">
869 <dt class="heading">Parameters:</dt>
872 <span class="fixedFont">Event</span> <b>e</b>
875 <dd>the mouseup event</dd>
895 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
901 <tr class="method-row config-row-alt1 expandable">
902 <td class="micon"><a class="exi" href="#expand"> </a></td>
906 <a id="Roo.dd.DragDrop-method-function toString() {
908 }" name=".function toString() {
911 <div class="fixedFont">
912 <span class="attributes"></span><b class="itemname">function toString() {
931 <div class="short">toString method</div>
948 <dl class="detailList">
949 <dt class="heading">Returns:</dt>
951 <dd><span class="fixedFont">string</span> string representation of the dd obj</dd>
967 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
973 <tr class="method-row config-row-alt0 expandable">
974 <td class="micon"><a class="exi" href="#expand"> </a></td>
978 <a id="Roo.dd.DragDrop-method-getDragEl" name=".getDragEl"></a>
979 <div class="fixedFont">
980 <span class="attributes"></span><b class="itemname">getDragEl</b>
988 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>
997 <div class="short">Returns a reference to the actual element to drag.</div>
1003 Returns a reference to the actual element to drag. By default this is<br/>the same as the html element, but it can be assigned to another<br/>element. An example of this can be found in Roo.dd.DDProxy
1014 <dl class="detailList">
1015 <dt class="heading">Returns:</dt>
1017 <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> the html element</dd>
1031 <td class="msource">
1033 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1039 <tr class="method-row config-row-alt1 expandable">
1040 <td class="micon"><a class="exi" href="#expand"> </a></td>
1044 <a id="Roo.dd.DragDrop-method-getEl" name=".getEl"></a>
1045 <div class="fixedFont">
1046 <span class="attributes"></span><b class="itemname">getEl</b>
1054 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>
1063 <div class="short">Returns a reference to the linked element</div>
1069 Returns a reference to the linked element
1080 <dl class="detailList">
1081 <dt class="heading">Returns:</dt>
1083 <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> the html element</dd>
1097 <td class="msource">
1099 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1105 <tr class="method-row config-row-alt0 expandable">
1106 <td class="micon"><a class="exi" href="#expand"> </a></td>
1110 <a id="Roo.dd.DragDrop-method-init" name=".init"></a>
1111 <div class="fixedFont">
1112 <span class="attributes"></span><b class="itemname">init</b>
1114 (<B><i>id</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>sGroup</i></B>, object <B><i>config</i></B>)
1121 <div class="short">Sets up the DragDrop object.</div>
1127 Sets up the DragDrop object. Must be called in the constructor of any<br/>Roo.dd.DragDrop subclass
1134 <dl class="detailList">
1135 <dt class="heading">Parameters:</dt>
1141 <dd>the id of the linked element</dd>
1144 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>sGroup</b>
1147 <dd>the group of related items</dd>
1150 <span class="fixedFont">object</span> <b>config</b>
1153 <dd>configuration attributes</dd>
1171 <td class="msource">
1173 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1179 <tr class="method-row config-row-alt1 expandable">
1180 <td class="micon"><a class="exi" href="#expand"> </a></td>
1184 <a id="Roo.dd.DragDrop-method-initTarget" name=".initTarget"></a>
1185 <div class="fixedFont">
1186 <span class="attributes"></span><b class="itemname">initTarget</b>
1188 (<B><i>id</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>sGroup</i></B>, object <B><i>config</i></B>)
1195 <div class="short">Initializes Targeting functionality only.</div>
1201 Initializes Targeting functionality only... the object does not<br/>get a mousedown handler.
1208 <dl class="detailList">
1209 <dt class="heading">Parameters:</dt>
1215 <dd>the id of the linked element</dd>
1218 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>sGroup</b>
1221 <dd>the group of related items</dd>
1224 <span class="fixedFont">object</span> <b>config</b>
1227 <dd>configuration attributes</dd>
1245 <td class="msource">
1247 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1253 <tr class="method-row config-row-alt0 expandable">
1254 <td class="micon"><a class="exi" href="#expand"> </a></td>
1258 <a id="Roo.dd.DragDrop-method-isLocked" name=".isLocked"></a>
1259 <div class="fixedFont">
1260 <span class="attributes"></span><b class="itemname">isLocked</b>
1277 <div class="short">Returns true if this instance is locked, or the drag drop mgr is locked<br/>(meaning that all drag/drop is disabled on the page.</div>
1283 Returns true if this instance is locked, or the drag drop mgr is locked<br/>(meaning that all drag/drop is disabled on the page.)
1294 <dl class="detailList">
1295 <dt class="heading">Returns:</dt>
1297 <dd><span class="fixedFont">boolean</span> true if this obj or all drag/drop is locked, else<br/>false</dd>
1311 <td class="msource">
1313 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1319 <tr class="method-row config-row-alt1 expandable">
1320 <td class="micon"><a class="exi" href="#expand"> </a></td>
1324 <a id="Roo.dd.DragDrop-method-isTarget" name=".isTarget"></a>
1325 <div class="fixedFont">
1326 <span class="attributes"></span><b class="itemname">isTarget</b>
1335 <div class="short">By default, all insances can be a drop target.</div>
1341 By default, all insances can be a drop target. This can be disabled by<br/>setting isTarget to false.
1362 <td class="msource">
1364 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1370 <tr class="method-row config-row-alt0 expandable">
1371 <td class="micon"><a class="exi" href="#expand"> </a></td>
1375 <a id="Roo.dd.DragDrop-method-isValidHandleChild" name=".isValidHandleChild"></a>
1376 <div class="fixedFont">
1377 <span class="attributes"></span><b class="itemname">isValidHandleChild</b>
1379 (<a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a> <B><i>node</i></B>)
1394 <div class="short">Checks the tag exclusion list to see if this click should be ignored</div>
1400 Checks the tag exclusion list to see if this click should be ignored
1407 <dl class="detailList">
1408 <dt class="heading">Parameters:</dt>
1411 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> <b>node</b>
1414 <dd>the HTMLElement to evaluate</dd>
1422 <dl class="detailList">
1423 <dt class="heading">Returns:</dt>
1425 <dd><span class="fixedFont">boolean</span> true if this is a valid tag type, false if not</dd>
1439 <td class="msource">
1441 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1447 <tr class="method-row config-row-alt1 expandable">
1448 <td class="micon"><a class="exi" href="#expand"> </a></td>
1452 <a id="Roo.dd.DragDrop-method-lock" name=".lock"></a>
1453 <div class="fixedFont">
1454 <span class="attributes"></span><b class="itemname">lock</b>
1463 <div class="short">Lock this instance</div>
1490 <td class="msource">
1492 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1498 <tr class="method-row config-row-alt0 expandable notInherited">
1499 <td class="micon"><a class="exi" href="#expand"> </a></td>
1503 <a id="Roo.dd.DropTarget-method-notifyDrop" name=".notifyDrop"></a>
1504 <div class="fixedFont">
1505 <span class="attributes"></span><b class="itemname">notifyDrop</b>
1514 <div class="short"></div>
1541 <td class="msource">
1549 <tr class="method-row config-row-alt1 expandable notInherited">
1550 <td class="micon"><a class="exi" href="#expand"> </a></td>
1554 <a id="Roo.dd.DropTarget-method-notifyEnter" name=".notifyEnter"></a>
1555 <div class="fixedFont">
1556 <span class="attributes"></span><b class="itemname">notifyEnter</b>
1565 <div class="short"></div>
1592 <td class="msource">
1600 <tr class="method-row config-row-alt0 expandable notInherited">
1601 <td class="micon"><a class="exi" href="#expand"> </a></td>
1605 <a id="Roo.dd.DropTarget-method-notifyOut" name=".notifyOut"></a>
1606 <div class="fixedFont">
1607 <span class="attributes"></span><b class="itemname">notifyOut</b>
1616 <div class="short"></div>
1643 <td class="msource">
1651 <tr class="method-row config-row-alt1 expandable notInherited">
1652 <td class="micon"><a class="exi" href="#expand"> </a></td>
1656 <a id="Roo.dd.DropTarget-method-notifyOver" name=".notifyOver"></a>
1657 <div class="fixedFont">
1658 <span class="attributes"></span><b class="itemname">notifyOver</b>
1667 <div class="short"></div>
1694 <td class="msource">
1702 <tr class="method-row config-row-alt0 expandable">
1703 <td class="micon"><a class="exi" href="#expand"> </a></td>
1707 <a id="Roo.dd.DragDrop-method-onAvailable" name=".onAvailable"></a>
1708 <div class="fixedFont">
1709 <span class="attributes"></span><b class="itemname">onAvailable</b>
1718 <div class="short">Override the onAvailable method to do what is needed after the initial<br/>position was determined.</div>
1724 Override the onAvailable method to do what is needed after the initial<br/>position was determined.
1745 <td class="msource">
1747 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1753 <tr class="method-row config-row-alt1 expandable">
1754 <td class="micon"><a class="exi" href="#expand"> </a></td>
1758 <a id="Roo.dd.DragDrop-method-onDrag" name=".onDrag"></a>
1759 <div class="fixedFont">
1760 <span class="attributes"></span><b class="itemname">onDrag</b>
1762 (Event <B><i>e</i></B>)
1769 <div class="short">Abstract method called during the onMouseMove event while dragging an<br/>object.</div>
1775 Abstract method called during the onMouseMove event while dragging an<br/>object.
1782 <dl class="detailList">
1783 <dt class="heading">Parameters:</dt>
1786 <span class="fixedFont">Event</span> <b>e</b>
1789 <dd>the mousemove event</dd>
1807 <td class="msource">
1809 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1815 <tr class="method-row config-row-alt0 expandable">
1816 <td class="micon"><a class="exi" href="#expand"> </a></td>
1820 <a id="Roo.dd.DragDrop-method-onDragDrop" name=".onDragDrop"></a>
1821 <div class="fixedFont">
1822 <span class="attributes"></span><b class="itemname">onDragDrop</b>
1824 (Event <B><i>e</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[] <B><i>id</i></B>)
1831 <div class="short">Abstract method called when this item is dropped on another DragDrop<br/>obj</div>
1837 Abstract method called when this item is dropped on another DragDrop<br/>obj
1844 <dl class="detailList">
1845 <dt class="heading">Parameters:</dt>
1848 <span class="fixedFont">Event</span> <b>e</b>
1851 <dd>the mouseup event</dd>
1854 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[]</span> <b>id</b>
1857 <dd>In POINT mode, the element<br/>id this was dropped on. In INTERSECT mode, an array of dd items this<br/>was dropped on.</dd>
1875 <td class="msource">
1877 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1883 <tr class="method-row config-row-alt1 expandable">
1884 <td class="micon"><a class="exi" href="#expand"> </a></td>
1888 <a id="Roo.dd.DragDrop-method-onDragEnter" name=".onDragEnter"></a>
1889 <div class="fixedFont">
1890 <span class="attributes"></span><b class="itemname">onDragEnter</b>
1892 (Event <B><i>e</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[] <B><i>id</i></B>)
1899 <div class="short">Abstract method called when this element fist begins hovering over<br/>another DragDrop obj</div>
1905 Abstract method called when this element fist begins hovering over<br/>another DragDrop obj
1912 <dl class="detailList">
1913 <dt class="heading">Parameters:</dt>
1916 <span class="fixedFont">Event</span> <b>e</b>
1919 <dd>the mousemove event</dd>
1922 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[]</span> <b>id</b>
1925 <dd>In POINT mode, the element<br/>id this is hovering over. In INTERSECT mode, an array of one or more<br/>dragdrop items being hovered over.</dd>
1943 <td class="msource">
1945 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1951 <tr class="method-row config-row-alt0 expandable">
1952 <td class="micon"><a class="exi" href="#expand"> </a></td>
1956 <a id="Roo.dd.DragDrop-method-onDragOut" name=".onDragOut"></a>
1957 <div class="fixedFont">
1958 <span class="attributes"></span><b class="itemname">onDragOut</b>
1960 (Event <B><i>e</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[] <B><i>id</i></B>)
1967 <div class="short">Abstract method called when we are no longer hovering over an element</div>
1973 Abstract method called when we are no longer hovering over an element
1980 <dl class="detailList">
1981 <dt class="heading">Parameters:</dt>
1984 <span class="fixedFont">Event</span> <b>e</b>
1987 <dd>the mousemove event</dd>
1990 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[]</span> <b>id</b>
1993 <dd>In POINT mode, the element<br/>id this was hovering over. In INTERSECT mode, an array of dd items<br/>that the mouse is no longer over.</dd>
2011 <td class="msource">
2013 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2019 <tr class="method-row config-row-alt1 expandable">
2020 <td class="micon"><a class="exi" href="#expand"> </a></td>
2024 <a id="Roo.dd.DragDrop-method-onDragOver" name=".onDragOver"></a>
2025 <div class="fixedFont">
2026 <span class="attributes"></span><b class="itemname">onDragOver</b>
2028 (Event <B><i>e</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[] <B><i>id</i></B>)
2035 <div class="short">Abstract method called when this element is hovering over another<br/>DragDrop obj</div>
2041 Abstract method called when this element is hovering over another<br/>DragDrop obj
2048 <dl class="detailList">
2049 <dt class="heading">Parameters:</dt>
2052 <span class="fixedFont">Event</span> <b>e</b>
2055 <dd>the mousemove event</dd>
2058 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[]</span> <b>id</b>
2061 <dd>In POINT mode, the element<br/>id this is hovering over. In INTERSECT mode, an array of dd items<br/>being hovered over.</dd>
2079 <td class="msource">
2081 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2087 <tr class="method-row config-row-alt0 expandable">
2088 <td class="micon"><a class="exi" href="#expand"> </a></td>
2092 <a id="Roo.dd.DragDrop-method-onInvalidDrop" name=".onInvalidDrop"></a>
2093 <div class="fixedFont">
2094 <span class="attributes"></span><b class="itemname">onInvalidDrop</b>
2096 (Event <B><i>e</i></B>)
2103 <div class="short">Abstract method called when this item is dropped on an area with no<br/>drop target</div>
2109 Abstract method called when this item is dropped on an area with no<br/>drop target
2116 <dl class="detailList">
2117 <dt class="heading">Parameters:</dt>
2120 <span class="fixedFont">Event</span> <b>e</b>
2123 <dd>the mouseup event</dd>
2141 <td class="msource">
2143 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2149 <tr class="method-row config-row-alt1 expandable">
2150 <td class="micon"><a class="exi" href="#expand"> </a></td>
2154 <a id="Roo.dd.DragDrop-method-onMouseDown" name=".onMouseDown"></a>
2155 <div class="fixedFont">
2156 <span class="attributes"></span><b class="itemname">onMouseDown</b>
2158 (Event <B><i>e</i></B>)
2165 <div class="short">Event handler that fires when a drag/drop obj gets a mousedown</div>
2171 Event handler that fires when a drag/drop obj gets a mousedown
2178 <dl class="detailList">
2179 <dt class="heading">Parameters:</dt>
2182 <span class="fixedFont">Event</span> <b>e</b>
2185 <dd>the mousedown event</dd>
2203 <td class="msource">
2205 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2211 <tr class="method-row config-row-alt0 expandable">
2212 <td class="micon"><a class="exi" href="#expand"> </a></td>
2216 <a id="Roo.dd.DragDrop-method-onMouseUp" name=".onMouseUp"></a>
2217 <div class="fixedFont">
2218 <span class="attributes"></span><b class="itemname">onMouseUp</b>
2220 (Event <B><i>e</i></B>)
2227 <div class="short">Event handler that fires when a drag/drop obj gets a mouseup</div>
2233 Event handler that fires when a drag/drop obj gets a mouseup
2240 <dl class="detailList">
2241 <dt class="heading">Parameters:</dt>
2244 <span class="fixedFont">Event</span> <b>e</b>
2247 <dd>the mouseup event</dd>
2265 <td class="msource">
2267 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2273 <tr class="method-row config-row-alt1 expandable">
2274 <td class="micon"><a class="exi" href="#expand"> </a></td>
2278 <a id="Roo.dd.DragDrop-method-padding" name=".padding"></a>
2279 <div class="fixedFont">
2280 <span class="attributes"></span><b class="itemname">padding</b>
2289 <div class="short">The padding configured for this drag and drop object for calculating<br/>the drop zone intersection with this object.</div>
2295 The padding configured for this drag and drop object for calculating<br/>the drop zone intersection with this object.
2316 <td class="msource">
2318 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2324 <tr class="method-row config-row-alt0 expandable">
2325 <td class="micon"><a class="exi" href="#expand"> </a></td>
2329 <a id="Roo.dd.DragDrop-method-removeFromGroup" name=".removeFromGroup"></a>
2330 <div class="fixedFont">
2331 <span class="attributes"></span><b class="itemname">removeFromGroup</b>
2333 (string <B><i>sGroup</i></B>)
2340 <div class="short">Remove's this instance from the supplied interaction group</div>
2346 Remove's this instance from the supplied interaction group
2353 <dl class="detailList">
2354 <dt class="heading">Parameters:</dt>
2357 <span class="fixedFont">string</span> <b>sGroup</b>
2360 <dd>The group to drop</dd>
2378 <td class="msource">
2380 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2386 <tr class="method-row config-row-alt1 expandable">
2387 <td class="micon"><a class="exi" href="#expand"> </a></td>
2391 <a id="Roo.dd.DragDrop-method-removeInvalidHandleClass" name=".removeInvalidHandleClass"></a>
2392 <div class="fixedFont">
2393 <span class="attributes"></span><b class="itemname">removeInvalidHandleClass</b>
2395 (string <B><i>cssClass</i></B>)
2402 <div class="short">Unsets an invalid css class</div>
2408 Unsets an invalid css class
2415 <dl class="detailList">
2416 <dt class="heading">Parameters:</dt>
2419 <span class="fixedFont">string</span> <b>cssClass</b>
2422 <dd>the class of the element(s) you wish to<br/>re-enable</dd>
2440 <td class="msource">
2442 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2448 <tr class="method-row config-row-alt0 expandable">
2449 <td class="micon"><a class="exi" href="#expand"> </a></td>
2453 <a id="Roo.dd.DragDrop-method-removeInvalidHandleId" name=".removeInvalidHandleId"></a>
2454 <div class="fixedFont">
2455 <span class="attributes"></span><b class="itemname">removeInvalidHandleId</b>
2457 (string <B><i>id</i></B>)
2464 <div class="short">Unsets an invalid handle id</div>
2470 Unsets an invalid handle id
2477 <dl class="detailList">
2478 <dt class="heading">Parameters:</dt>
2481 <span class="fixedFont">string</span> <b>id</b>
2484 <dd>the id of the element to re-enable</dd>
2502 <td class="msource">
2504 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2510 <tr class="method-row config-row-alt1 expandable">
2511 <td class="micon"><a class="exi" href="#expand"> </a></td>
2515 <a id="Roo.dd.DragDrop-method-removeInvalidHandleType" name=".removeInvalidHandleType"></a>
2516 <div class="fixedFont">
2517 <span class="attributes"></span><b class="itemname">removeInvalidHandleType</b>
2519 (string <B><i>tagName</i></B>)
2526 <div class="short">Unsets an excluded tag name set by addInvalidHandleType</div>
2532 Unsets an excluded tag name set by addInvalidHandleType
2539 <dl class="detailList">
2540 <dt class="heading">Parameters:</dt>
2543 <span class="fixedFont">string</span> <b>tagName</b>
2546 <dd>the type of element to unexclude</dd>
2564 <td class="msource">
2566 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2572 <tr class="method-row config-row-alt0 expandable">
2573 <td class="micon"><a class="exi" href="#expand"> </a></td>
2577 <a id="Roo.dd.DragDrop-method-resetConstraints" name=".resetConstraints"></a>
2578 <div class="fixedFont">
2579 <span class="attributes"></span><b class="itemname">resetConstraints</b>
2581 (boolean <B><i>maintainOffset</i></B>)
2588 <div class="short">resetConstraints must be called if you manually reposition a dd element.</div>
2594 resetConstraints must be called if you manually reposition a dd element.
2601 <dl class="detailList">
2602 <dt class="heading">Parameters:</dt>
2605 <span class="fixedFont">boolean</span> <b>maintainOffset</b>
2626 <td class="msource">
2628 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2634 <tr class="method-row config-row-alt1 expandable">
2635 <td class="micon"><a class="exi" href="#expand"> </a></td>
2639 <a id="Roo.dd.DragDrop-method-setDragElId" name=".setDragElId"></a>
2640 <div class="fixedFont">
2641 <span class="attributes"></span><b class="itemname">setDragElId</b>
2650 <div class="short">Allows you to specify that an element other than the linked element<br/>will be moved with the cursor during a drag</div>
2656 Allows you to specify that an element other than the linked element<br/>will be moved with the cursor during a drag
2663 <dl class="detailList">
2664 <dt class="heading">Parameters:</dt>
2670 <dd>{string} the id of the element that will be used to initiate the drag</dd>
2688 <td class="msource">
2690 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2696 <tr class="method-row config-row-alt0 expandable">
2697 <td class="micon"><a class="exi" href="#expand"> </a></td>
2701 <a id="Roo.dd.DragDrop-method-setHandleElId" name=".setHandleElId"></a>
2702 <div class="fixedFont">
2703 <span class="attributes"></span><b class="itemname">setHandleElId</b>
2712 <div class="short">Allows you to specify a child of the linked element that should be<br/>used to initiate the drag operation.</div>
2718 Allows you to specify a child of the linked element that should be<br/>used to initiate the drag operation. An example of this would be if<br/>you have a content div with text and links. Clicking anywhere in the<br/>content area would normally start the drag operation. Use this method<br/>to specify that an element inside of the content div is the element<br/>that starts the drag operation.
2725 <dl class="detailList">
2726 <dt class="heading">Parameters:</dt>
2732 <dd>{string} the id of the element that will be used to<br/>initiate the drag.</dd>
2750 <td class="msource">
2752 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2758 <tr class="method-row config-row-alt1 expandable">
2759 <td class="micon"><a class="exi" href="#expand"> </a></td>
2763 <a id="Roo.dd.DragDrop-method-setInitPosition" name=".setInitPosition"></a>
2764 <div class="fixedFont">
2765 <span class="attributes"></span><b class="itemname">setInitPosition</b>
2767 (int <B><i>diffX</i></B>, int <B><i>diffY</i></B>)
2774 <div class="short">Stores the initial placement of the linked element.</div>
2780 Stores the initial placement of the linked element.
2787 <dl class="detailList">
2788 <dt class="heading">Parameters:</dt>
2791 <span class="fixedFont">int</span> <b>diffX</b>
2794 <dd>the X offset, default 0</dd>
2797 <span class="fixedFont">int</span> <b>diffY</b>
2800 <dd>the Y offset, default 0</dd>
2818 <td class="msource">
2820 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2826 <tr class="method-row config-row-alt0 expandable">
2827 <td class="micon"><a class="exi" href="#expand"> </a></td>
2831 <a id="Roo.dd.DragDrop-method-setOuterHandleElId" name=".setOuterHandleElId"></a>
2832 <div class="fixedFont">
2833 <span class="attributes"></span><b class="itemname">setOuterHandleElId</b>
2842 <div class="short">Allows you to set an element outside of the linked element as a drag<br/>handle</div>
2848 Allows you to set an element outside of the linked element as a drag<br/>handle
2855 <dl class="detailList">
2856 <dt class="heading">Parameters:</dt>
2862 <dd>the id of the element that will be used to initiate the drag</dd>
2880 <td class="msource">
2882 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2888 <tr class="method-row config-row-alt1 expandable">
2889 <td class="micon"><a class="exi" href="#expand"> </a></td>
2893 <a id="Roo.dd.DragDrop-method-setPadding" name=".setPadding"></a>
2894 <div class="fixedFont">
2895 <span class="attributes"></span><b class="itemname">setPadding</b>
2897 (int <B><i>iTop</i></B>, int <B><i>iRight</i></B>, int <B><i>iBot</i></B>, int <B><i>iLeft</i></B>)
2904 <div class="short">Configures the padding for the target zone in px.</div>
2910 Configures the padding for the target zone in px. Effectively expands<br/>(or reduces) the virtual object size for targeting calculations.<br/>Supports css-style shorthand; if only one parameter is passed, all sides<br/>will have that padding, and if only two are passed, the top and bottom<br/>will have the first param, the left and right the second.
2917 <dl class="detailList">
2918 <dt class="heading">Parameters:</dt>
2921 <span class="fixedFont">int</span> <b>iTop</b>
2927 <span class="fixedFont">int</span> <b>iRight</b>
2933 <span class="fixedFont">int</span> <b>iBot</b>
2939 <span class="fixedFont">int</span> <b>iLeft</b>
2960 <td class="msource">
2962 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2968 <tr class="method-row config-row-alt0 expandable">
2969 <td class="micon"><a class="exi" href="#expand"> </a></td>
2973 <a id="Roo.dd.DragDrop-method-setXConstraint" name=".setXConstraint"></a>
2974 <div class="fixedFont">
2975 <span class="attributes"></span><b class="itemname">setXConstraint</b>
2977 (int <B><i>iLeft</i></B>, int <B><i>iRight</i></B>, int <B><i>iTickSize</i></B>)
2984 <div class="short">By default, the element can be dragged any place on the screen.</div>
2990 By default, the element can be dragged any place on the screen. Use<br/>this method to limit the horizontal travel of the element. Pass in<br/>0,0 for the parameters if you want to lock the drag to the y axis.
2997 <dl class="detailList">
2998 <dt class="heading">Parameters:</dt>
3001 <span class="fixedFont">int</span> <b>iLeft</b>
3004 <dd>the number of pixels the element can move to the left</dd>
3007 <span class="fixedFont">int</span> <b>iRight</b>
3010 <dd>the number of pixels the element can move to the<br/>right</dd>
3013 <span class="fixedFont">int</span> <b>iTickSize</b>
3016 <dd>optional parameter for specifying that the<br/>element<br/>should move iTickSize pixels at a time.</dd>
3034 <td class="msource">
3036 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
3042 <tr class="method-row config-row-alt1 expandable">
3043 <td class="micon"><a class="exi" href="#expand"> </a></td>
3047 <a id="Roo.dd.DragDrop-method-setYConstraint" name=".setYConstraint"></a>
3048 <div class="fixedFont">
3049 <span class="attributes"></span><b class="itemname">setYConstraint</b>
3051 (int <B><i>iUp</i></B>, int <B><i>iDown</i></B>, int <B><i>iTickSize</i></B>)
3058 <div class="short">By default, the element can be dragged any place on the screen.</div>
3064 By default, the element can be dragged any place on the screen. Set<br/>this to limit the vertical travel of the element. Pass in 0,0 for the<br/>parameters if you want to lock the drag to the x axis.
3071 <dl class="detailList">
3072 <dt class="heading">Parameters:</dt>
3075 <span class="fixedFont">int</span> <b>iUp</b>
3078 <dd>the number of pixels the element can move up</dd>
3081 <span class="fixedFont">int</span> <b>iDown</b>
3084 <dd>the number of pixels the element can move down</dd>
3087 <span class="fixedFont">int</span> <b>iTickSize</b>
3090 <dd>optional parameter for specifying that the<br/>element should move iTickSize pixels at a time.</dd>
3108 <td class="msource">
3110 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
3116 <tr class="method-row config-row-alt0 expandable">
3117 <td class="micon"><a class="exi" href="#expand"> </a></td>
3121 <a id="Roo.dd.DragDrop-method-startDrag" name=".startDrag"></a>
3122 <div class="fixedFont">
3123 <span class="attributes"></span><b class="itemname">startDrag</b>
3125 (int <B><i>X</i></B>, int <B><i>Y</i></B>)
3132 <div class="short">Abstract method called after a drag/drop object is clicked<br/>and the drag or mousedown time thresholds have beeen met.</div>
3138 Abstract method called after a drag/drop object is clicked<br/>and the drag or mousedown time thresholds have beeen met.
3145 <dl class="detailList">
3146 <dt class="heading">Parameters:</dt>
3149 <span class="fixedFont">int</span> <b>X</b>
3152 <dd>click location</dd>
3155 <span class="fixedFont">int</span> <b>Y</b>
3158 <dd>click location</dd>
3176 <td class="msource">
3178 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
3184 <tr class="method-row config-row-alt1 expandable">
3185 <td class="micon"><a class="exi" href="#expand"> </a></td>
3189 <a id="Roo.dd.DragDrop-method-unlock" name=".unlock"></a>
3190 <div class="fixedFont">
3191 <span class="attributes"></span><b class="itemname">unlock</b>
3200 <div class="short">Unlock this instace</div>
3227 <td class="msource">
3229 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
3235 <tr class="method-row config-row-alt0 expandable">
3236 <td class="micon"><a class="exi" href="#expand"> </a></td>
3240 <a id="Roo.dd.DragDrop-method-unreg" name=".unreg"></a>
3241 <div class="fixedFont">
3242 <span class="attributes"></span><b class="itemname">unreg</b>
3251 <div class="short">Remove all drag and drop hooks for this element</div>
3257 Remove all drag and drop hooks for this element
3278 <td class="msource">
3280 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
3289 <!-- ============================== events summary / details ======================== -->
3292 <a id="Roo.dd.DropTarget-events"></a>
3301 <table cellspacing="0" class="member-table">
3302 <caption>Events</caption>
3305 <th class="sig-header" colspan="2">Event</th>
3306 <th class="msource-header">Defined By</th>
3315 <tr class="method-row expandable config-row-alt0 notInherited">
3316 <td class="micon"><a class="exi" href="#expand"> </a></td>
3319 <a id="Roo.dd.DropTarget-event-*drop"></a>
3321 <div class="fixedFont">
3322 <b class="itemname">drop</b> (<a href="./Roo.dd.DragSource.html#constructor" roo:cls="Roo.dd.DragSource.html#constructor">Roo.dd.DragSource</a> <B><i>source</i></B>, Event <B><i>e</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>data</i></B>)
3328 <div class="short">The function a {<b>link</b> Roo.dd.DragSource} calls once to notify this drop target that the dragged item has<br/>been dropped on it.
3334 The function a {<b>link</b> Roo.dd.DragSource} calls once to notify this drop target that the dragged item has<br/>been dropped on it. This method has no default implementation and returns false, so you must provide an<br/>implementation that does something to process the drop event and returns true so that the drag source's<br/>repair action does not run.<br/><br/>IMPORTANT : it should set this.success
3340 <dl class="detailList">
3341 <dt class="heading">Parameters:</dt>
3344 <span class="fixedFont"><a href="./Roo.dd.DragSource.html#constructor" roo:cls="Roo.dd.DragSource.html#constructor">Roo.dd.DragSource</a></span> <b>source</b>
3347 <dd>The drag source that was dragged over this drop target</dd>
3350 <span class="fixedFont">Event</span> <b>e</b>
3356 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>data</b>
3359 <dd>An object containing arbitrary data supplied by the drag source</dd>
3377 <td class="msource">
3382 <tr class="method-row expandable config-row-alt1 notInherited">
3383 <td class="micon"><a class="exi" href="#expand"> </a></td>
3386 <a id="Roo.dd.DropTarget-event-*enter"></a>
3388 <div class="fixedFont">
3389 <b class="itemname">enter</b> (<a href="./Roo.dd.DragSource.html#constructor" roo:cls="Roo.dd.DragSource.html#constructor">Roo.dd.DragSource</a> <B><i>source</i></B>, Event <B><i>e</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>data</i></B>)
3395 <div class="short">The function a {<b>link</b> Roo.dd.DragSource} calls once to notify this drop target that the source is now over the<br/>target.
3401 The function a {<b>link</b> Roo.dd.DragSource} calls once to notify this drop target that the source is now over the<br/>target. This default implementation adds the CSS class specified by overClass (if any) to the drop element<br/>and returns the dropAllowed config value. This method should be overridden if drop validation is required.<br/><br/>IMPORTANT : it should set this.overClass and this.dropAllowed
3407 <dl class="detailList">
3408 <dt class="heading">Parameters:</dt>
3411 <span class="fixedFont"><a href="./Roo.dd.DragSource.html#constructor" roo:cls="Roo.dd.DragSource.html#constructor">Roo.dd.DragSource</a></span> <b>source</b>
3414 <dd>The drag source that was dragged over this drop target</dd>
3417 <span class="fixedFont">Event</span> <b>e</b>
3423 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>data</b>
3426 <dd>An object containing arbitrary data supplied by the drag source</dd>
3444 <td class="msource">
3449 <tr class="method-row expandable config-row-alt0 notInherited">
3450 <td class="micon"><a class="exi" href="#expand"> </a></td>
3453 <a id="Roo.dd.DropTarget-event-*out"></a>
3455 <div class="fixedFont">
3456 <b class="itemname">out</b> (<a href="./Roo.dd.DragSource.html#constructor" roo:cls="Roo.dd.DragSource.html#constructor">Roo.dd.DragSource</a> <B><i>source</i></B>, Event <B><i>e</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>data</i></B>)
3462 <div class="short">The function a {<b>link</b> Roo.dd.DragSource} calls once to notify this drop target that the source has been dragged<br/>out of the target without dropping.
3468 The function a {<b>link</b> Roo.dd.DragSource} calls once to notify this drop target that the source has been dragged<br/>out of the target without dropping. This default implementation simply removes the CSS class specified by<br/>overClass (if any) from the drop element.
3474 <dl class="detailList">
3475 <dt class="heading">Parameters:</dt>
3478 <span class="fixedFont"><a href="./Roo.dd.DragSource.html#constructor" roo:cls="Roo.dd.DragSource.html#constructor">Roo.dd.DragSource</a></span> <b>source</b>
3481 <dd>The drag source that was dragged over this drop target</dd>
3484 <span class="fixedFont">Event</span> <b>e</b>
3490 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>data</b>
3493 <dd>An object containing arbitrary data supplied by the drag source</dd>
3511 <td class="msource">
3516 <tr class="method-row expandable config-row-alt1 notInherited">
3517 <td class="micon"><a class="exi" href="#expand"> </a></td>
3520 <a id="Roo.dd.DropTarget-event-*over"></a>
3522 <div class="fixedFont">
3523 <b class="itemname">over</b> (<a href="./Roo.dd.DragSource.html#constructor" roo:cls="Roo.dd.DragSource.html#constructor">Roo.dd.DragSource</a> <B><i>source</i></B>, Event <B><i>e</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>data</i></B>)
3529 <div class="short">The function a {<b>link</b> Roo.dd.DragSource} calls continuously while it is being dragged over the target.
3535 The function a {<b>link</b> Roo.dd.DragSource} calls continuously while it is being dragged over the target.<br/>This method will be called on every mouse movement while the drag source is over the drop target.<br/>This default implementation simply returns the dropAllowed config value.<br/><br/>IMPORTANT : it should set this.dropAllowed
3541 <dl class="detailList">
3542 <dt class="heading">Parameters:</dt>
3545 <span class="fixedFont"><a href="./Roo.dd.DragSource.html#constructor" roo:cls="Roo.dd.DragSource.html#constructor">Roo.dd.DragSource</a></span> <b>source</b>
3548 <dd>The drag source that was dragged over this drop target</dd>
3551 <span class="fixedFont">Event</span> <b>e</b>
3557 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>data</b>
3560 <dd>An object containing arbitrary data supplied by the drag source</dd>
3578 <td class="msource">
3590 <!-- ============================== footer ================================= -->
3591 <div class="fineprint" style="clear:both">
3593 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Jan 14 2011 17:01:50 GMT+0800 (HKT)
3595 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>