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-dropAllowed" name=".dropAllowed"></a>
140 <div class="fixedFont">
141 <b class="itemname">dropAllowed</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
147 <div class="short">The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").</div>
151 <div class="long">The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").</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-dropNotAllowed" name=".dropNotAllowed"></a>
170 <div class="fixedFont">
171 <b class="itemname">dropNotAllowed</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 not allowed (defaults to "x-dd-drop-nodrop").</div>
181 <div class="long">The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop").</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-overClass" name=".overClass"></a>
200 <div class="fixedFont">
201 <b class="itemname">overClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
207 <div class="short">The CSS class applied to the drop target element while the drag source is over it (defaults to "").</div>
211 <div class="long">The CSS class applied to the drop target element while the drag source is over it (defaults to "").</div>
235 <!-- ============================== public properties ==================== -->
239 <a id="Roo.dd.DropTarget-props"></a>
245 <table cellspacing="0" class="member-table">
246 <caption class="Empty">Public Properties - Has None</caption>
252 <!-- ============================== methods summary / details ======================== -->
255 <a id="Roo.dd.DropTarget-methods"></a>
256 <!-- constructor?? -->
263 <!-- then dynamics first -->
270 <table cellspacing="0" class="member-table">
271 <caption>Public Methods</caption>
273 <th class="sig-header" colspan="2">Method</th>
274 <th class="msource-header">Defined By</th>
284 <tr class="method-row config-row-alt0 expandable notInherited">
285 <td class="micon"><a class="exi" href="#expand"> </a></td>
289 <a id="Roo.dd-method-DropTarget" name=".DropTarget"></a>
290 <div class="fixedFont">
291 <span class="attributes">new <B>Roo.dd.</B></span><b class="itemname">DropTarget</b>
293 (<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>)
301 <div class="short">Create a new Roo.dd.DropTarget</div>
308 Create a new Roo.dd.DropTarget
311 <dl class="detailList">
312 <dt class="heading">Parameters:</dt>
315 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
318 <dd>The container element</dd>
321 <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>
348 <tr class="method-row config-row-alt1 expandable">
349 <td class="micon"><a class="exi" href="#expand"> </a></td>
353 <a id="Roo.dd.DragDrop-method-addInvalidHandleClass" name=".addInvalidHandleClass"></a>
354 <div class="fixedFont">
355 <span class="attributes"></span><b class="itemname">addInvalidHandleClass</b>
357 (string <B><i>cssClass</i></B>)
364 <div class="short">Lets you specify a css class of elements that will not initiate a drag</div>
370 Lets you specify a css class of elements that will not initiate a drag
377 <dl class="detailList">
378 <dt class="heading">Parameters:</dt>
381 <span class="fixedFont">string</span> <b>cssClass</b>
384 <dd>the class of the elements you wish to ignore</dd>
404 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
410 <tr class="method-row config-row-alt0 expandable">
411 <td class="micon"><a class="exi" href="#expand"> </a></td>
415 <a id="Roo.dd.DragDrop-method-addInvalidHandleId" name=".addInvalidHandleId"></a>
416 <div class="fixedFont">
417 <span class="attributes"></span><b class="itemname">addInvalidHandleId</b>
419 (string <B><i>id</i></B>)
426 <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>
432 Lets you to specify an element id for a child of a drag handle<br/>that should not initiate a drag
439 <dl class="detailList">
440 <dt class="heading">Parameters:</dt>
443 <span class="fixedFont">string</span> <b>id</b>
446 <dd>the element id of the element you wish to ignore</dd>
466 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
472 <tr class="method-row config-row-alt1 expandable">
473 <td class="micon"><a class="exi" href="#expand"> </a></td>
477 <a id="Roo.dd.DragDrop-method-addInvalidHandleType" name=".addInvalidHandleType"></a>
478 <div class="fixedFont">
479 <span class="attributes"></span><b class="itemname">addInvalidHandleType</b>
481 (string <B><i>tagName</i></B>)
488 <div class="short">Allows you to specify a tag name that should not start a drag operation<br/>when clicked.</div>
494 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.
501 <dl class="detailList">
502 <dt class="heading">Parameters:</dt>
505 <span class="fixedFont">string</span> <b>tagName</b>
508 <dd>the type of element to exclude</dd>
528 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
534 <tr class="method-row config-row-alt0 expandable">
535 <td class="micon"><a class="exi" href="#expand"> </a></td>
539 <a id="Roo.dd.DragDrop-method-addToGroup" name=".addToGroup"></a>
540 <div class="fixedFont">
541 <span class="attributes"></span><b class="itemname">addToGroup</b>
543 (<B><i>sGroup</i></B>)
550 <div class="short">Add this instance to a group of related drag/drop objects.</div>
556 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.
563 <dl class="detailList">
564 <dt class="heading">Parameters:</dt>
570 <dd>{string} the name of the group</dd>
590 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
596 <tr class="method-row config-row-alt1 expandable">
597 <td class="micon"><a class="exi" href="#expand"> </a></td>
601 <a id="Roo.dd.DragDrop-method-applyConfig" name=".applyConfig"></a>
602 <div class="fixedFont">
603 <span class="attributes"></span><b class="itemname">applyConfig</b>
612 <div class="short">Applies the configuration parameters that were passed into the constructor.</div>
618 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.
641 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
647 <tr class="method-row config-row-alt0 expandable">
648 <td class="micon"><a class="exi" href="#expand"> </a></td>
652 <a id="Roo.dd.DragDrop-method-clearConstraints" name=".clearConstraints"></a>
653 <div class="fixedFont">
654 <span class="attributes"></span><b class="itemname">clearConstraints</b>
663 <div class="short">Clears any constraints applied to this instance.</div>
669 Clears any constraints applied to this instance. Also clears ticks<br/>since they can't exist independent of a constraint at this time.
692 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
698 <tr class="method-row config-row-alt1 expandable">
699 <td class="micon"><a class="exi" href="#expand"> </a></td>
703 <a id="Roo.dd.DragDrop-method-clearTicks" name=".clearTicks"></a>
704 <div class="fixedFont">
705 <span class="attributes"></span><b class="itemname">clearTicks</b>
714 <div class="short">Clears any tick interval defined for this instance</div>
720 Clears any tick interval defined for this instance
743 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
749 <tr class="method-row config-row-alt0 expandable">
750 <td class="micon"><a class="exi" href="#expand"> </a></td>
754 <a id="Roo.dd.DragDrop-method-endDrag" name=".endDrag"></a>
755 <div class="fixedFont">
756 <span class="attributes"></span><b class="itemname">endDrag</b>
758 (Event <B><i>e</i></B>)
765 <div class="short">Fired when we are done dragging the object</div>
771 Fired when we are done dragging the object
778 <dl class="detailList">
779 <dt class="heading">Parameters:</dt>
782 <span class="fixedFont">Event</span> <b>e</b>
785 <dd>the mouseup event</dd>
805 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
811 <tr class="method-row config-row-alt1 expandable">
812 <td class="micon"><a class="exi" href="#expand"> </a></td>
816 <a id="Roo.dd.DragDrop-method-function toString() {
818 }" name=".function toString() {
821 <div class="fixedFont">
822 <span class="attributes"></span><b class="itemname">function toString() {
841 <div class="short">toString method</div>
858 <dl class="detailList">
859 <dt class="heading">Returns:</dt>
861 <dd><span class="fixedFont">string</span> string representation of the dd obj</dd>
877 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
883 <tr class="method-row config-row-alt0 expandable">
884 <td class="micon"><a class="exi" href="#expand"> </a></td>
888 <a id="Roo.dd.DragDrop-method-getDragEl" name=".getDragEl"></a>
889 <div class="fixedFont">
890 <span class="attributes"></span><b class="itemname">getDragEl</b>
898 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>
907 <div class="short">Returns a reference to the actual element to drag.</div>
913 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
924 <dl class="detailList">
925 <dt class="heading">Returns:</dt>
927 <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>
943 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
949 <tr class="method-row config-row-alt1 expandable">
950 <td class="micon"><a class="exi" href="#expand"> </a></td>
954 <a id="Roo.dd.DragDrop-method-getEl" name=".getEl"></a>
955 <div class="fixedFont">
956 <span class="attributes"></span><b class="itemname">getEl</b>
964 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>
973 <div class="short">Returns a reference to the linked element</div>
979 Returns a reference to the linked element
990 <dl class="detailList">
991 <dt class="heading">Returns:</dt>
993 <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>
1007 <td class="msource">
1009 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1015 <tr class="method-row config-row-alt0 expandable">
1016 <td class="micon"><a class="exi" href="#expand"> </a></td>
1020 <a id="Roo.dd.DragDrop-method-init" name=".init"></a>
1021 <div class="fixedFont">
1022 <span class="attributes"></span><b class="itemname">init</b>
1024 (<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>)
1031 <div class="short">Sets up the DragDrop object.</div>
1037 Sets up the DragDrop object. Must be called in the constructor of any<br/>Roo.dd.DragDrop subclass
1044 <dl class="detailList">
1045 <dt class="heading">Parameters:</dt>
1051 <dd>the id of the linked element</dd>
1054 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>sGroup</b>
1057 <dd>the group of related items</dd>
1060 <span class="fixedFont">object</span> <b>config</b>
1063 <dd>configuration attributes</dd>
1081 <td class="msource">
1083 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1089 <tr class="method-row config-row-alt1 expandable">
1090 <td class="micon"><a class="exi" href="#expand"> </a></td>
1094 <a id="Roo.dd.DragDrop-method-initTarget" name=".initTarget"></a>
1095 <div class="fixedFont">
1096 <span class="attributes"></span><b class="itemname">initTarget</b>
1098 (<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>)
1105 <div class="short">Initializes Targeting functionality only.</div>
1111 Initializes Targeting functionality only... the object does not<br/>get a mousedown handler.
1118 <dl class="detailList">
1119 <dt class="heading">Parameters:</dt>
1125 <dd>the id of the linked element</dd>
1128 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>sGroup</b>
1131 <dd>the group of related items</dd>
1134 <span class="fixedFont">object</span> <b>config</b>
1137 <dd>configuration attributes</dd>
1155 <td class="msource">
1157 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1163 <tr class="method-row config-row-alt0 expandable">
1164 <td class="micon"><a class="exi" href="#expand"> </a></td>
1168 <a id="Roo.dd.DragDrop-method-isLocked" name=".isLocked"></a>
1169 <div class="fixedFont">
1170 <span class="attributes"></span><b class="itemname">isLocked</b>
1187 <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>
1193 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.)
1204 <dl class="detailList">
1205 <dt class="heading">Returns:</dt>
1207 <dd><span class="fixedFont">boolean</span> true if this obj or all drag/drop is locked, else<br/>false</dd>
1221 <td class="msource">
1223 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1229 <tr class="method-row config-row-alt1 expandable">
1230 <td class="micon"><a class="exi" href="#expand"> </a></td>
1234 <a id="Roo.dd.DragDrop-method-isTarget" name=".isTarget"></a>
1235 <div class="fixedFont">
1236 <span class="attributes"></span><b class="itemname">isTarget</b>
1245 <div class="short">By default, all insances can be a drop target.</div>
1251 By default, all insances can be a drop target. This can be disabled by<br/>setting isTarget to false.
1272 <td class="msource">
1274 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1280 <tr class="method-row config-row-alt0 expandable">
1281 <td class="micon"><a class="exi" href="#expand"> </a></td>
1285 <a id="Roo.dd.DragDrop-method-isValidHandleChild" name=".isValidHandleChild"></a>
1286 <div class="fixedFont">
1287 <span class="attributes"></span><b class="itemname">isValidHandleChild</b>
1289 (<a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a> <B><i>node</i></B>)
1304 <div class="short">Checks the tag exclusion list to see if this click should be ignored</div>
1310 Checks the tag exclusion list to see if this click should be ignored
1317 <dl class="detailList">
1318 <dt class="heading">Parameters:</dt>
1321 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> <b>node</b>
1324 <dd>the HTMLElement to evaluate</dd>
1332 <dl class="detailList">
1333 <dt class="heading">Returns:</dt>
1335 <dd><span class="fixedFont">boolean</span> true if this is a valid tag type, false if not</dd>
1349 <td class="msource">
1351 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1357 <tr class="method-row config-row-alt1 expandable">
1358 <td class="micon"><a class="exi" href="#expand"> </a></td>
1362 <a id="Roo.dd.DragDrop-method-lock" name=".lock"></a>
1363 <div class="fixedFont">
1364 <span class="attributes"></span><b class="itemname">lock</b>
1373 <div class="short">Lock this instance</div>
1400 <td class="msource">
1402 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1408 <tr class="method-row config-row-alt0 expandable notInherited">
1409 <td class="micon"><a class="exi" href="#expand"> </a></td>
1413 <a id="Roo.dd.DropTarget-method-notifyDrop" name=".notifyDrop"></a>
1414 <div class="fixedFont">
1415 <span class="attributes"></span><b class="itemname">notifyDrop</b>
1417 (<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>)
1423 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1432 <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.</div>
1438 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.
1445 <dl class="detailList">
1446 <dt class="heading">Parameters:</dt>
1449 <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>
1452 <dd>The drag source that was dragged over this drop target</dd>
1455 <span class="fixedFont">Event</span> <b>e</b>
1461 <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>
1464 <dd>An object containing arbitrary data supplied by the drag source</dd>
1472 <dl class="detailList">
1473 <dt class="heading">Returns:</dt>
1475 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> True if the drop was valid, else false</dd>
1489 <td class="msource">
1497 <tr class="method-row config-row-alt1 expandable notInherited">
1498 <td class="micon"><a class="exi" href="#expand"> </a></td>
1502 <a id="Roo.dd.DropTarget-method-notifyEnter" name=".notifyEnter"></a>
1503 <div class="fixedFont">
1504 <span class="attributes"></span><b class="itemname">notifyEnter</b>
1506 (<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>)
1512 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1521 <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.</div>
1527 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.
1534 <dl class="detailList">
1535 <dt class="heading">Parameters:</dt>
1538 <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>
1541 <dd>The drag source that was dragged over this drop target</dd>
1544 <span class="fixedFont">Event</span> <b>e</b>
1550 <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>
1553 <dd>An object containing arbitrary data supplied by the drag source</dd>
1561 <dl class="detailList">
1562 <dt class="heading">Returns:</dt>
1564 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> status The CSS class that communicates the drop status back to the source so that the<br/>underlying {<b>link</b> Roo.dd.StatusProxy} can be updated</dd>
1578 <td class="msource">
1586 <tr class="method-row config-row-alt0 expandable notInherited">
1587 <td class="micon"><a class="exi" href="#expand"> </a></td>
1591 <a id="Roo.dd.DropTarget-method-notifyOut" name=".notifyOut"></a>
1592 <div class="fixedFont">
1593 <span class="attributes"></span><b class="itemname">notifyOut</b>
1595 (<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>)
1602 <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.</div>
1608 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.
1615 <dl class="detailList">
1616 <dt class="heading">Parameters:</dt>
1619 <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>
1622 <dd>The drag source that was dragged over this drop target</dd>
1625 <span class="fixedFont">Event</span> <b>e</b>
1631 <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>
1634 <dd>An object containing arbitrary data supplied by the drag source</dd>
1652 <td class="msource">
1660 <tr class="method-row config-row-alt1 expandable notInherited">
1661 <td class="micon"><a class="exi" href="#expand"> </a></td>
1665 <a id="Roo.dd.DropTarget-method-notifyOver" name=".notifyOver"></a>
1666 <div class="fixedFont">
1667 <span class="attributes"></span><b class="itemname">notifyOver</b>
1669 (<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>)
1675 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1684 <div class="short">The function a {<b>link</b> Roo.dd.DragSource} calls continuously while it is being dragged over the target.</div>
1690 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.
1697 <dl class="detailList">
1698 <dt class="heading">Parameters:</dt>
1701 <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>
1704 <dd>The drag source that was dragged over this drop target</dd>
1707 <span class="fixedFont">Event</span> <b>e</b>
1713 <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>
1716 <dd>An object containing arbitrary data supplied by the drag source</dd>
1724 <dl class="detailList">
1725 <dt class="heading">Returns:</dt>
1727 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> status The CSS class that communicates the drop status back to the source so that the<br/>underlying {<b>link</b> Roo.dd.StatusProxy} can be updated</dd>
1741 <td class="msource">
1749 <tr class="method-row config-row-alt0 expandable">
1750 <td class="micon"><a class="exi" href="#expand"> </a></td>
1754 <a id="Roo.dd.DragDrop-method-onAvailable" name=".onAvailable"></a>
1755 <div class="fixedFont">
1756 <span class="attributes"></span><b class="itemname">onAvailable</b>
1765 <div class="short">Override the onAvailable method to do what is needed after the initial<br/>position was determined.</div>
1771 Override the onAvailable method to do what is needed after the initial<br/>position was determined.
1792 <td class="msource">
1794 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1800 <tr class="method-row config-row-alt1 expandable">
1801 <td class="micon"><a class="exi" href="#expand"> </a></td>
1805 <a id="Roo.dd.DragDrop-method-onDrag" name=".onDrag"></a>
1806 <div class="fixedFont">
1807 <span class="attributes"></span><b class="itemname">onDrag</b>
1809 (Event <B><i>e</i></B>)
1816 <div class="short">Abstract method called during the onMouseMove event while dragging an<br/>object.</div>
1822 Abstract method called during the onMouseMove event while dragging an<br/>object.
1829 <dl class="detailList">
1830 <dt class="heading">Parameters:</dt>
1833 <span class="fixedFont">Event</span> <b>e</b>
1836 <dd>the mousemove event</dd>
1854 <td class="msource">
1856 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1862 <tr class="method-row config-row-alt0 expandable">
1863 <td class="micon"><a class="exi" href="#expand"> </a></td>
1867 <a id="Roo.dd.DragDrop-method-onDragDrop" name=".onDragDrop"></a>
1868 <div class="fixedFont">
1869 <span class="attributes"></span><b class="itemname">onDragDrop</b>
1871 (Event <B><i>e</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[] <B><i>id</i></B>)
1878 <div class="short">Abstract method called when this item is dropped on another DragDrop<br/>obj</div>
1884 Abstract method called when this item is dropped on another DragDrop<br/>obj
1891 <dl class="detailList">
1892 <dt class="heading">Parameters:</dt>
1895 <span class="fixedFont">Event</span> <b>e</b>
1898 <dd>the mouseup event</dd>
1901 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[]</span> <b>id</b>
1904 <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>
1922 <td class="msource">
1924 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1930 <tr class="method-row config-row-alt1 expandable">
1931 <td class="micon"><a class="exi" href="#expand"> </a></td>
1935 <a id="Roo.dd.DragDrop-method-onDragEnter" name=".onDragEnter"></a>
1936 <div class="fixedFont">
1937 <span class="attributes"></span><b class="itemname">onDragEnter</b>
1939 (Event <B><i>e</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[] <B><i>id</i></B>)
1946 <div class="short">Abstract method called when this element fist begins hovering over<br/>another DragDrop obj</div>
1952 Abstract method called when this element fist begins hovering over<br/>another DragDrop obj
1959 <dl class="detailList">
1960 <dt class="heading">Parameters:</dt>
1963 <span class="fixedFont">Event</span> <b>e</b>
1966 <dd>the mousemove event</dd>
1969 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[]</span> <b>id</b>
1972 <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>
1990 <td class="msource">
1992 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
1998 <tr class="method-row config-row-alt0 expandable">
1999 <td class="micon"><a class="exi" href="#expand"> </a></td>
2003 <a id="Roo.dd.DragDrop-method-onDragOut" name=".onDragOut"></a>
2004 <div class="fixedFont">
2005 <span class="attributes"></span><b class="itemname">onDragOut</b>
2007 (Event <B><i>e</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[] <B><i>id</i></B>)
2014 <div class="short">Abstract method called when we are no longer hovering over an element</div>
2020 Abstract method called when we are no longer hovering over an element
2027 <dl class="detailList">
2028 <dt class="heading">Parameters:</dt>
2031 <span class="fixedFont">Event</span> <b>e</b>
2034 <dd>the mousemove event</dd>
2037 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[]</span> <b>id</b>
2040 <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>
2058 <td class="msource">
2060 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2066 <tr class="method-row config-row-alt1 expandable">
2067 <td class="micon"><a class="exi" href="#expand"> </a></td>
2071 <a id="Roo.dd.DragDrop-method-onDragOver" name=".onDragOver"></a>
2072 <div class="fixedFont">
2073 <span class="attributes"></span><b class="itemname">onDragOver</b>
2075 (Event <B><i>e</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[] <B><i>id</i></B>)
2082 <div class="short">Abstract method called when this element is hovering over another<br/>DragDrop obj</div>
2088 Abstract method called when this element is hovering over another<br/>DragDrop obj
2095 <dl class="detailList">
2096 <dt class="heading">Parameters:</dt>
2099 <span class="fixedFont">Event</span> <b>e</b>
2102 <dd>the mousemove event</dd>
2105 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|DragDrop[]</span> <b>id</b>
2108 <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>
2126 <td class="msource">
2128 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2134 <tr class="method-row config-row-alt0 expandable">
2135 <td class="micon"><a class="exi" href="#expand"> </a></td>
2139 <a id="Roo.dd.DragDrop-method-onInvalidDrop" name=".onInvalidDrop"></a>
2140 <div class="fixedFont">
2141 <span class="attributes"></span><b class="itemname">onInvalidDrop</b>
2143 (Event <B><i>e</i></B>)
2150 <div class="short">Abstract method called when this item is dropped on an area with no<br/>drop target</div>
2156 Abstract method called when this item is dropped on an area with no<br/>drop target
2163 <dl class="detailList">
2164 <dt class="heading">Parameters:</dt>
2167 <span class="fixedFont">Event</span> <b>e</b>
2170 <dd>the mouseup event</dd>
2188 <td class="msource">
2190 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2196 <tr class="method-row config-row-alt1 expandable">
2197 <td class="micon"><a class="exi" href="#expand"> </a></td>
2201 <a id="Roo.dd.DragDrop-method-onMouseDown" name=".onMouseDown"></a>
2202 <div class="fixedFont">
2203 <span class="attributes"></span><b class="itemname">onMouseDown</b>
2205 (Event <B><i>e</i></B>)
2212 <div class="short">Event handler that fires when a drag/drop obj gets a mousedown</div>
2218 Event handler that fires when a drag/drop obj gets a mousedown
2225 <dl class="detailList">
2226 <dt class="heading">Parameters:</dt>
2229 <span class="fixedFont">Event</span> <b>e</b>
2232 <dd>the mousedown event</dd>
2250 <td class="msource">
2252 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2258 <tr class="method-row config-row-alt0 expandable">
2259 <td class="micon"><a class="exi" href="#expand"> </a></td>
2263 <a id="Roo.dd.DragDrop-method-onMouseUp" name=".onMouseUp"></a>
2264 <div class="fixedFont">
2265 <span class="attributes"></span><b class="itemname">onMouseUp</b>
2267 (Event <B><i>e</i></B>)
2274 <div class="short">Event handler that fires when a drag/drop obj gets a mouseup</div>
2280 Event handler that fires when a drag/drop obj gets a mouseup
2287 <dl class="detailList">
2288 <dt class="heading">Parameters:</dt>
2291 <span class="fixedFont">Event</span> <b>e</b>
2294 <dd>the mouseup event</dd>
2312 <td class="msource">
2314 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2320 <tr class="method-row config-row-alt1 expandable">
2321 <td class="micon"><a class="exi" href="#expand"> </a></td>
2325 <a id="Roo.dd.DragDrop-method-padding" name=".padding"></a>
2326 <div class="fixedFont">
2327 <span class="attributes"></span><b class="itemname">padding</b>
2336 <div class="short">The padding configured for this drag and drop object for calculating<br/>the drop zone intersection with this object.</div>
2342 The padding configured for this drag and drop object for calculating<br/>the drop zone intersection with this object.
2363 <td class="msource">
2365 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2371 <tr class="method-row config-row-alt0 expandable">
2372 <td class="micon"><a class="exi" href="#expand"> </a></td>
2376 <a id="Roo.dd.DragDrop-method-removeFromGroup" name=".removeFromGroup"></a>
2377 <div class="fixedFont">
2378 <span class="attributes"></span><b class="itemname">removeFromGroup</b>
2380 (string <B><i>sGroup</i></B>)
2387 <div class="short">Remove's this instance from the supplied interaction group</div>
2393 Remove's this instance from the supplied interaction group
2400 <dl class="detailList">
2401 <dt class="heading">Parameters:</dt>
2404 <span class="fixedFont">string</span> <b>sGroup</b>
2407 <dd>The group to drop</dd>
2425 <td class="msource">
2427 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2433 <tr class="method-row config-row-alt1 expandable">
2434 <td class="micon"><a class="exi" href="#expand"> </a></td>
2438 <a id="Roo.dd.DragDrop-method-removeInvalidHandleClass" name=".removeInvalidHandleClass"></a>
2439 <div class="fixedFont">
2440 <span class="attributes"></span><b class="itemname">removeInvalidHandleClass</b>
2442 (string <B><i>cssClass</i></B>)
2449 <div class="short">Unsets an invalid css class</div>
2455 Unsets an invalid css class
2462 <dl class="detailList">
2463 <dt class="heading">Parameters:</dt>
2466 <span class="fixedFont">string</span> <b>cssClass</b>
2469 <dd>the class of the element(s) you wish to<br/>re-enable</dd>
2487 <td class="msource">
2489 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2495 <tr class="method-row config-row-alt0 expandable">
2496 <td class="micon"><a class="exi" href="#expand"> </a></td>
2500 <a id="Roo.dd.DragDrop-method-removeInvalidHandleId" name=".removeInvalidHandleId"></a>
2501 <div class="fixedFont">
2502 <span class="attributes"></span><b class="itemname">removeInvalidHandleId</b>
2504 (string <B><i>id</i></B>)
2511 <div class="short">Unsets an invalid handle id</div>
2517 Unsets an invalid handle id
2524 <dl class="detailList">
2525 <dt class="heading">Parameters:</dt>
2528 <span class="fixedFont">string</span> <b>id</b>
2531 <dd>the id of the element to re-enable</dd>
2549 <td class="msource">
2551 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2557 <tr class="method-row config-row-alt1 expandable">
2558 <td class="micon"><a class="exi" href="#expand"> </a></td>
2562 <a id="Roo.dd.DragDrop-method-removeInvalidHandleType" name=".removeInvalidHandleType"></a>
2563 <div class="fixedFont">
2564 <span class="attributes"></span><b class="itemname">removeInvalidHandleType</b>
2566 (string <B><i>tagName</i></B>)
2573 <div class="short">Unsets an excluded tag name set by addInvalidHandleType</div>
2579 Unsets an excluded tag name set by addInvalidHandleType
2586 <dl class="detailList">
2587 <dt class="heading">Parameters:</dt>
2590 <span class="fixedFont">string</span> <b>tagName</b>
2593 <dd>the type of element to unexclude</dd>
2611 <td class="msource">
2613 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2619 <tr class="method-row config-row-alt0 expandable">
2620 <td class="micon"><a class="exi" href="#expand"> </a></td>
2624 <a id="Roo.dd.DragDrop-method-resetConstraints" name=".resetConstraints"></a>
2625 <div class="fixedFont">
2626 <span class="attributes"></span><b class="itemname">resetConstraints</b>
2628 (boolean <B><i>maintainOffset</i></B>)
2635 <div class="short">resetConstraints must be called if you manually reposition a dd element.</div>
2641 resetConstraints must be called if you manually reposition a dd element.
2648 <dl class="detailList">
2649 <dt class="heading">Parameters:</dt>
2652 <span class="fixedFont">boolean</span> <b>maintainOffset</b>
2673 <td class="msource">
2675 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2681 <tr class="method-row config-row-alt1 expandable">
2682 <td class="micon"><a class="exi" href="#expand"> </a></td>
2686 <a id="Roo.dd.DragDrop-method-setDragElId" name=".setDragElId"></a>
2687 <div class="fixedFont">
2688 <span class="attributes"></span><b class="itemname">setDragElId</b>
2697 <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>
2703 Allows you to specify that an element other than the linked element<br/>will be moved with the cursor during a drag
2710 <dl class="detailList">
2711 <dt class="heading">Parameters:</dt>
2717 <dd>{string} the id of the element that will be used to initiate the drag</dd>
2735 <td class="msource">
2737 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2743 <tr class="method-row config-row-alt0 expandable">
2744 <td class="micon"><a class="exi" href="#expand"> </a></td>
2748 <a id="Roo.dd.DragDrop-method-setHandleElId" name=".setHandleElId"></a>
2749 <div class="fixedFont">
2750 <span class="attributes"></span><b class="itemname">setHandleElId</b>
2759 <div class="short">Allows you to specify a child of the linked element that should be<br/>used to initiate the drag operation.</div>
2765 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.
2772 <dl class="detailList">
2773 <dt class="heading">Parameters:</dt>
2779 <dd>{string} the id of the element that will be used to<br/>initiate the drag.</dd>
2797 <td class="msource">
2799 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2805 <tr class="method-row config-row-alt1 expandable">
2806 <td class="micon"><a class="exi" href="#expand"> </a></td>
2810 <a id="Roo.dd.DragDrop-method-setInitPosition" name=".setInitPosition"></a>
2811 <div class="fixedFont">
2812 <span class="attributes"></span><b class="itemname">setInitPosition</b>
2814 (int <B><i>diffX</i></B>, int <B><i>diffY</i></B>)
2821 <div class="short">Stores the initial placement of the linked element.</div>
2827 Stores the initial placement of the linked element.
2834 <dl class="detailList">
2835 <dt class="heading">Parameters:</dt>
2838 <span class="fixedFont">int</span> <b>diffX</b>
2841 <dd>the X offset, default 0</dd>
2844 <span class="fixedFont">int</span> <b>diffY</b>
2847 <dd>the Y offset, default 0</dd>
2865 <td class="msource">
2867 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2873 <tr class="method-row config-row-alt0 expandable">
2874 <td class="micon"><a class="exi" href="#expand"> </a></td>
2878 <a id="Roo.dd.DragDrop-method-setOuterHandleElId" name=".setOuterHandleElId"></a>
2879 <div class="fixedFont">
2880 <span class="attributes"></span><b class="itemname">setOuterHandleElId</b>
2889 <div class="short">Allows you to set an element outside of the linked element as a drag<br/>handle</div>
2895 Allows you to set an element outside of the linked element as a drag<br/>handle
2902 <dl class="detailList">
2903 <dt class="heading">Parameters:</dt>
2909 <dd>the id of the element that will be used to initiate the drag</dd>
2927 <td class="msource">
2929 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
2935 <tr class="method-row config-row-alt1 expandable">
2936 <td class="micon"><a class="exi" href="#expand"> </a></td>
2940 <a id="Roo.dd.DragDrop-method-setPadding" name=".setPadding"></a>
2941 <div class="fixedFont">
2942 <span class="attributes"></span><b class="itemname">setPadding</b>
2944 (int <B><i>iTop</i></B>, int <B><i>iRight</i></B>, int <B><i>iBot</i></B>, int <B><i>iLeft</i></B>)
2951 <div class="short">Configures the padding for the target zone in px.</div>
2957 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.
2964 <dl class="detailList">
2965 <dt class="heading">Parameters:</dt>
2968 <span class="fixedFont">int</span> <b>iTop</b>
2974 <span class="fixedFont">int</span> <b>iRight</b>
2980 <span class="fixedFont">int</span> <b>iBot</b>
2986 <span class="fixedFont">int</span> <b>iLeft</b>
3007 <td class="msource">
3009 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
3015 <tr class="method-row config-row-alt0 expandable">
3016 <td class="micon"><a class="exi" href="#expand"> </a></td>
3020 <a id="Roo.dd.DragDrop-method-setXConstraint" name=".setXConstraint"></a>
3021 <div class="fixedFont">
3022 <span class="attributes"></span><b class="itemname">setXConstraint</b>
3024 (int <B><i>iLeft</i></B>, int <B><i>iRight</i></B>, int <B><i>iTickSize</i></B>)
3031 <div class="short">By default, the element can be dragged any place on the screen.</div>
3037 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.
3044 <dl class="detailList">
3045 <dt class="heading">Parameters:</dt>
3048 <span class="fixedFont">int</span> <b>iLeft</b>
3051 <dd>the number of pixels the element can move to the left</dd>
3054 <span class="fixedFont">int</span> <b>iRight</b>
3057 <dd>the number of pixels the element can move to the<br/>right</dd>
3060 <span class="fixedFont">int</span> <b>iTickSize</b>
3063 <dd>optional parameter for specifying that the<br/>element<br/>should move iTickSize pixels at a time.</dd>
3081 <td class="msource">
3083 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
3089 <tr class="method-row config-row-alt1 expandable">
3090 <td class="micon"><a class="exi" href="#expand"> </a></td>
3094 <a id="Roo.dd.DragDrop-method-setYConstraint" name=".setYConstraint"></a>
3095 <div class="fixedFont">
3096 <span class="attributes"></span><b class="itemname">setYConstraint</b>
3098 (int <B><i>iUp</i></B>, int <B><i>iDown</i></B>, int <B><i>iTickSize</i></B>)
3105 <div class="short">By default, the element can be dragged any place on the screen.</div>
3111 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.
3118 <dl class="detailList">
3119 <dt class="heading">Parameters:</dt>
3122 <span class="fixedFont">int</span> <b>iUp</b>
3125 <dd>the number of pixels the element can move up</dd>
3128 <span class="fixedFont">int</span> <b>iDown</b>
3131 <dd>the number of pixels the element can move down</dd>
3134 <span class="fixedFont">int</span> <b>iTickSize</b>
3137 <dd>optional parameter for specifying that the<br/>element should move iTickSize pixels at a time.</dd>
3155 <td class="msource">
3157 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
3163 <tr class="method-row config-row-alt0 expandable">
3164 <td class="micon"><a class="exi" href="#expand"> </a></td>
3168 <a id="Roo.dd.DragDrop-method-startDrag" name=".startDrag"></a>
3169 <div class="fixedFont">
3170 <span class="attributes"></span><b class="itemname">startDrag</b>
3172 (int <B><i>X</i></B>, int <B><i>Y</i></B>)
3179 <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>
3185 Abstract method called after a drag/drop object is clicked<br/>and the drag or mousedown time thresholds have beeen met.
3192 <dl class="detailList">
3193 <dt class="heading">Parameters:</dt>
3196 <span class="fixedFont">int</span> <b>X</b>
3199 <dd>click location</dd>
3202 <span class="fixedFont">int</span> <b>Y</b>
3205 <dd>click location</dd>
3223 <td class="msource">
3225 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
3231 <tr class="method-row config-row-alt1 expandable">
3232 <td class="micon"><a class="exi" href="#expand"> </a></td>
3236 <a id="Roo.dd.DragDrop-method-unlock" name=".unlock"></a>
3237 <div class="fixedFont">
3238 <span class="attributes"></span><b class="itemname">unlock</b>
3247 <div class="short">Unlock this instace</div>
3274 <td class="msource">
3276 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
3282 <tr class="method-row config-row-alt0 expandable">
3283 <td class="micon"><a class="exi" href="#expand"> </a></td>
3287 <a id="Roo.dd.DragDrop-method-unreg" name=".unreg"></a>
3288 <div class="fixedFont">
3289 <span class="attributes"></span><b class="itemname">unreg</b>
3298 <div class="short">Remove all drag and drop hooks for this element</div>
3304 Remove all drag and drop hooks for this element
3325 <td class="msource">
3327 <a href="./Roo.dd.DragDrop.html#constructor" roo:cls="Roo.dd.DragDrop.html#constructor">Roo.dd.DragDrop</a>
3336 <!-- ============================== events summary / details ======================== -->
3339 <a id="Roo.dd.DropTarget-events"></a>
3345 <table cellspacing="0" class="member-table">
3346 <caption class="Empty">Events - Has None</caption>
3357 <!-- ============================== footer ================================= -->
3358 <div class="fineprint" style="clear:both">
3360 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Mon Jul 26 2010 17:25:38 GMT+0800 (HKT)
3362 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>