commit extjs-2.2.1
[extjs.git] / docs / output / Ext.dd.DDTarget.html
1         <div class="body-wrap">
2         <div class="top-tools">
3             <a class="inner-link" href="#Ext.dd.DDTarget-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4             <a class="inner-link" href="#Ext.dd.DDTarget-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5             <a class="inner-link" href="#Ext.dd.DDTarget-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6                         <a class="bookmark" href="../docs/?class=Ext.dd.DDTarget"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
7         </div>
8                 <div class="inheritance res-block">
9 <pre class="res-block-inner"><a ext:cls="Ext.dd.DragDrop" ext:member="" href="output/Ext.dd.DragDrop.html">DragDrop</a>
10   <img src="resources/elbow-end.gif"/>DDTarget</pre></div>
11                 <h1>Class Ext.dd.DDTarget</h1>
12         <table cellspacing="0">
13             <tr><td class="label">Package:</td><td class="hd-info">Ext.dd</td></tr>
14             <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/DDCore.js" target="_blank">DDCore.js</a></td></tr>
15             <tr><td class="label">Class:</td><td class="hd-info">DDTarget</td></tr>
16                         <tr><td class="label">Subclasses:</td><td class="hd-info"><a ext:cls="Ext.dd.DropTarget" href="output/Ext.dd.DropTarget.html">DropTarget</a></td></tr>
17                                     <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.dd.DragDrop" ext:member="" href="output/Ext.dd.DragDrop.html">DragDrop</a></td></tr>
18                     </table>
19         <div class="description">
20             A DragDrop implementation that does not move, but can be a drop
21 target.  You would get the same result by simply omitting implementation
22 for the event callbacks, but this way we reduce the processing cost of the
23 event listener and the callbacks.        </div>
24         
25         <div class="hr"></div>
26                 <a id="Ext.dd.DDTarget-props"></a>
27         <h2>Public Properties</h2>
28                 <table cellspacing="0" class="member-table">
29             <tr>
30                 <th class="sig-header" colspan="2">Property</th>
31                 <th class="msource-header">Defined By</th>
32             </tr>
33                 <tr class="property-row inherited">\r
34         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
35         <td class="sig">\r
36         <a id="Ext.dd.DDTarget-available"></a>\r
37             <b>available</b> : boolean            <div class="mdesc">\r
38                             The availabe property is false until the linked dom element is accessible.                        </div>\r
39         </td>\r
40         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#available" href="output/Ext.dd.DragDrop.html#available">DragDrop</a></td>\r
41     </tr>\r
42         <tr class="property-row inherited alt">\r
43         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
44         <td class="sig">\r
45         <a id="Ext.dd.DDTarget-config"></a>\r
46             <b>config</b> : object            <div class="mdesc">\r
47                             Configuration attributes passed into the constructor                        </div>\r
48         </td>\r
49         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#config" href="output/Ext.dd.DragDrop.html#config">DragDrop</a></td>\r
50     </tr>\r
51         <tr class="property-row inherited">\r
52         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
53         <td class="sig">\r
54         <a id="Ext.dd.DDTarget-defaultPadding"></a>\r
55             <b>defaultPadding</b> : Object            <div class="mdesc">\r
56                             Provides default constraint padding to "constrainTo" elements (defaults to {left: 0, right:0, top:0, bottom:0}).                        </div>\r
57         </td>\r
58         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#defaultPadding" href="output/Ext.dd.DragDrop.html#defaultPadding">DragDrop</a></td>\r
59     </tr>\r
60         <tr class="property-row inherited alt expandable">\r
61         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
62         <td class="sig">\r
63         <a id="Ext.dd.DDTarget-groups"></a>\r
64             <b>groups</b> : object            <div class="mdesc">\r
65                         <div class="short">The group defines a logical collection of DragDrop objects that are
66 related.  Instances only get events when interact...</div>\r
67             <div class="long">\r
68                 The group defines a logical collection of DragDrop objects that are
69 related.  Instances only get events when interacting with other
70 DragDrop object in the same group.  This lets us define multiple
71 groups using a single DragDrop subclass if we want.            </div>\r
72                         </div>\r
73         </td>\r
74         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#groups" href="output/Ext.dd.DragDrop.html#groups">DragDrop</a></td>\r
75     </tr>\r
76         <tr class="property-row inherited expandable">\r
77         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
78         <td class="sig">\r
79         <a id="Ext.dd.DDTarget-hasOuterHandles"></a>\r
80             <b>hasOuterHandles</b> : boolean            <div class="mdesc">\r
81                         <div class="short">By default, drags can only be initiated if the mousedown occurs in the
82 region the linked element is.  This is done in...</div>\r
83             <div class="long">\r
84                 By default, drags can only be initiated if the mousedown occurs in the
85 region the linked element is.  This is done in part to work around a
86 bug in some browsers that mis-report the mousedown if the previous
87 mouseup happened outside of the window.  This property is set to true
88 if outer handles are defined.            </div>\r
89                         </div>\r
90         </td>\r
91         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#hasOuterHandles" href="output/Ext.dd.DragDrop.html#hasOuterHandles">DragDrop</a></td>\r
92     </tr>\r
93         <tr class="property-row inherited alt expandable">\r
94         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
95         <td class="sig">\r
96         <a id="Ext.dd.DDTarget-id"></a>\r
97             <b>id</b> : String            <div class="mdesc">\r
98                         <div class="short">The id of the element associated with this object.  This is what we
99 refer to as the "linked element" because the size...</div>\r
100             <div class="long">\r
101                 The id of the element associated with this object.  This is what we
102 refer to as the "linked element" because the size and position of
103 this element is used to determine when the drag and drop objects have
104 interacted.            </div>\r
105                         </div>\r
106         </td>\r
107         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#id" href="output/Ext.dd.DragDrop.html#id">DragDrop</a></td>\r
108     </tr>\r
109         <tr class="property-row inherited">\r
110         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
111         <td class="sig">\r
112         <a id="Ext.dd.DDTarget-invalidHandleClasses"></a>\r
113             <b>invalidHandleClasses</b> : Array            <div class="mdesc">\r
114                             An Array of CSS class names for elements to be considered in valid as drag handles.                        </div>\r
115         </td>\r
116         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleClasses" href="output/Ext.dd.DragDrop.html#invalidHandleClasses">DragDrop</a></td>\r
117     </tr>\r
118         <tr class="property-row inherited alt expandable">\r
119         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
120         <td class="sig">\r
121         <a id="Ext.dd.DDTarget-invalidHandleIds"></a>\r
122             <b>invalidHandleIds</b> : Object            <div class="mdesc">\r
123                         <div class="short">An object who's property names identify the IDs of elements to be considered invalid as drag handles.
124 A non-null prop...</div>\r
125             <div class="long">\r
126                 An object who's property names identify the IDs of elements to be considered invalid as drag handles.
127 A non-null property value identifies the ID as invalid. For example, to prevent
128 dragging from being initiated on element ID "foo", use:<pre><code>{
129     foo: true
130 }</code></pre>            </div>\r
131                         </div>\r
132         </td>\r
133         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleIds" href="output/Ext.dd.DragDrop.html#invalidHandleIds">DragDrop</a></td>\r
134     </tr>\r
135         <tr class="property-row inherited expandable">\r
136         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
137         <td class="sig">\r
138         <a id="Ext.dd.DDTarget-invalidHandleTypes"></a>\r
139             <b>invalidHandleTypes</b> : Object            <div class="mdesc">\r
140                         <div class="short">An object who's property names identify HTML tags to be considered invalid as drag handles.
141 A non-null property value...</div>\r
142             <div class="long">\r
143                 An object who's property names identify HTML tags to be considered invalid as drag handles.
144 A non-null property value identifies the tag as invalid. Defaults to the 
145 following value which prevents drag operations from being initiated by &lt;a> elements:<pre><code>{
146     A: <em>"A"</em>
147 }</code></pre>            </div>\r
148                         </div>\r
149         </td>\r
150         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleTypes" href="output/Ext.dd.DragDrop.html#invalidHandleTypes">DragDrop</a></td>\r
151     </tr>\r
152         <tr class="property-row inherited alt">\r
153         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
154         <td class="sig">\r
155         <a id="Ext.dd.DDTarget-isTarget"></a>\r
156             <b>isTarget</b> : boolean            <div class="mdesc">\r
157                             By default, all instances can be a drop target.  This can be disabled by
158 setting isTarget to false.                        </div>\r
159         </td>\r
160         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#isTarget" href="output/Ext.dd.DragDrop.html#isTarget">DragDrop</a></td>\r
161     </tr>\r
162         <tr class="property-row inherited expandable">\r
163         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
164         <td class="sig">\r
165         <a id="Ext.dd.DDTarget-maintainOffset"></a>\r
166             <b>maintainOffset</b> : boolean            <div class="mdesc">\r
167                         <div class="short">Maintain offsets when we resetconstraints.  Set to true when you want
168 the position of the element relative to its par...</div>\r
169             <div class="long">\r
170                 Maintain offsets when we resetconstraints.  Set to true when you want
171 the position of the element relative to its parent to stay the same
172 when the page changes            </div>\r
173                         </div>\r
174         </td>\r
175         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#maintainOffset" href="output/Ext.dd.DragDrop.html#maintainOffset">DragDrop</a></td>\r
176     </tr>\r
177         <tr class="property-row inherited alt expandable">\r
178         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
179         <td class="sig">\r
180         <a id="Ext.dd.DDTarget-moveOnly"></a>\r
181             <b>moveOnly</b> : boolean            <div class="mdesc">\r
182                         <div class="short">When set to true, other DD objects in cooperating DDGroups do not receive
183 notification events when this DD object is ...</div>\r
184             <div class="long">\r
185                 When set to true, other DD objects in cooperating DDGroups do not receive
186 notification events when this DD object is dragged over them. Defaults to false.            </div>\r
187                         </div>\r
188         </td>\r
189         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#moveOnly" href="output/Ext.dd.DragDrop.html#moveOnly">DragDrop</a></td>\r
190     </tr>\r
191         <tr class="property-row inherited">\r
192         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
193         <td class="sig">\r
194         <a id="Ext.dd.DDTarget-padding"></a>\r
195             <b>padding</b> : int[]            <div class="mdesc">\r
196                             The padding configured for this drag and drop object for calculating
197 the drop zone intersection with this object.                        </div>\r
198         </td>\r
199         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#padding" href="output/Ext.dd.DragDrop.html#padding">DragDrop</a></td>\r
200     </tr>\r
201         <tr class="property-row inherited alt expandable">\r
202         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
203         <td class="sig">\r
204         <a id="Ext.dd.DDTarget-primaryButtonOnly"></a>\r
205             <b>primaryButtonOnly</b> : boolean            <div class="mdesc">\r
206                         <div class="short">By default the drag and drop instance will only respond to the primary
207 button click (left button for a right-handed m...</div>\r
208             <div class="long">\r
209                 By default the drag and drop instance will only respond to the primary
210 button click (left button for a right-handed mouse).  Set to true to
211 allow drag and drop to start with any mouse click that is propogated
212 by the browser            </div>\r
213                         </div>\r
214         </td>\r
215         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#primaryButtonOnly" href="output/Ext.dd.DragDrop.html#primaryButtonOnly">DragDrop</a></td>\r
216     </tr>\r
217         <tr class="property-row inherited expandable">\r
218         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
219         <td class="sig">\r
220         <a id="Ext.dd.DDTarget-xTicks"></a>\r
221             <b>xTicks</b> : int[]            <div class="mdesc">\r
222                         <div class="short">Array of pixel locations the element will snap to if we specified a
223 horizontal graduation/interval.  This array is ge...</div>\r
224             <div class="long">\r
225                 Array of pixel locations the element will snap to if we specified a
226 horizontal graduation/interval.  This array is generated automatically
227 when you define a tick interval.            </div>\r
228                         </div>\r
229         </td>\r
230         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#xTicks" href="output/Ext.dd.DragDrop.html#xTicks">DragDrop</a></td>\r
231     </tr>\r
232         <tr class="property-row inherited alt expandable">\r
233         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
234         <td class="sig">\r
235         <a id="Ext.dd.DDTarget-yTicks"></a>\r
236             <b>yTicks</b> : int[]            <div class="mdesc">\r
237                         <div class="short">Array of pixel locations the element will snap to if we specified a
238 vertical graduation/interval.  This array is gene...</div>\r
239             <div class="long">\r
240                 Array of pixel locations the element will snap to if we specified a
241 vertical graduation/interval.  This array is generated automatically
242 when you define a tick interval.            </div>\r
243                         </div>\r
244         </td>\r
245         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#yTicks" href="output/Ext.dd.DragDrop.html#yTicks">DragDrop</a></td>\r
246     </tr>\r
247             </table>
248                 <a id="Ext.dd.DDTarget-methods"></a>
249         <h2>Public Methods</h2>
250                 <table cellspacing="0" class="member-table">
251             <tr>
252                 <th class="sig-header" colspan="2">Method</th>
253                 <th class="msource-header">Defined By</th>
254             </tr>
255                 <tr class="method-row expandable">\r
256         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
257         <td class="sig">\r
258         <a id="Ext.dd.DDTarget-DDTarget"></a>\r
259             <b>DDTarget</b>(&nbsp;<code>String id</code>, <code>String sGroup</code>, <code>object config</code>&nbsp;)            <div class="mdesc">\r
260                         <div class="short"></div>\r
261             <div class="long">\r
262                     <div class="mdetail-params">\r
263         <strong>Parameters:</strong>\r
264         <ul><li><code>id</code> : String<div class="sub-desc">the id of the element that is a drop target</div></li><li><code>sGroup</code> : String<div class="sub-desc">the group of related DragDrop objects</div></li><li><code>config</code> : object<div class="sub-desc">an object containing configurable attributes
265 Valid properties for DDTarget in addition to those in
266 DragDrop:
267 none</div></li>        </ul>\r
268         <strong>Returns:</strong>\r
269         <ul>\r
270             <li><code></code></li>\r
271         </ul>\r
272     </div>\r
273                 </div>\r
274                         </div>\r
275         </td>\r
276         <td class="msource">DDTarget</td>\r
277     </tr>\r
278         <tr class="method-row inherited alt expandable">\r
279         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
280         <td class="sig">\r
281         <a id="Ext.dd.DDTarget-addInvalidHandleClass"></a>\r
282             <b>addInvalidHandleClass</b>(&nbsp;<code>string cssClass</code>&nbsp;) : void            <div class="mdesc">\r
283                         <div class="short">Lets you specify a css class of elements that will not initiate a drag</div>\r
284             <div class="long">\r
285                 Lets you specify a css class of elements that will not initiate a drag    <div class="mdetail-params">\r
286         <strong>Parameters:</strong>\r
287         <ul><li><code>cssClass</code> : string<div class="sub-desc">the class of the elements you wish to ignore</div></li>        </ul>\r
288         <strong>Returns:</strong>\r
289         <ul>\r
290             <li><code>void</code></li>\r
291         </ul>\r
292     </div>\r
293                 </div>\r
294                         </div>\r
295         </td>\r
296         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleClass" href="output/Ext.dd.DragDrop.html#addInvalidHandleClass">DragDrop</a></td>\r
297     </tr>\r
298         <tr class="method-row inherited expandable">\r
299         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
300         <td class="sig">\r
301         <a id="Ext.dd.DDTarget-addInvalidHandleId"></a>\r
302             <b>addInvalidHandleId</b>(&nbsp;<code>string id</code>&nbsp;) : void            <div class="mdesc">\r
303                         <div class="short">Lets you to specify an element id for a child of a drag handle
304 that should not initiate a drag</div>\r
305             <div class="long">\r
306                 Lets you to specify an element id for a child of a drag handle
307 that should not initiate a drag    <div class="mdetail-params">\r
308         <strong>Parameters:</strong>\r
309         <ul><li><code>id</code> : string<div class="sub-desc">the element id of the element you wish to ignore</div></li>        </ul>\r
310         <strong>Returns:</strong>\r
311         <ul>\r
312             <li><code>void</code></li>\r
313         </ul>\r
314     </div>\r
315                 </div>\r
316                         </div>\r
317         </td>\r
318         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleId" href="output/Ext.dd.DragDrop.html#addInvalidHandleId">DragDrop</a></td>\r
319     </tr>\r
320         <tr class="method-row inherited alt expandable">\r
321         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
322         <td class="sig">\r
323         <a id="Ext.dd.DDTarget-addInvalidHandleType"></a>\r
324             <b>addInvalidHandleType</b>(&nbsp;<code>string tagName</code>&nbsp;) : void            <div class="mdesc">\r
325                         <div class="short">Allows you to specify a tag name that should not start a drag operation
326 when clicked.  This is designed to facilitate...</div>\r
327             <div class="long">\r
328                 Allows you to specify a tag name that should not start a drag operation
329 when clicked.  This is designed to facilitate embedding links within a
330 drag handle that do something other than start the drag.    <div class="mdetail-params">\r
331         <strong>Parameters:</strong>\r
332         <ul><li><code>tagName</code> : string<div class="sub-desc">the type of element to exclude</div></li>        </ul>\r
333         <strong>Returns:</strong>\r
334         <ul>\r
335             <li><code>void</code></li>\r
336         </ul>\r
337     </div>\r
338                 </div>\r
339                         </div>\r
340         </td>\r
341         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleType" href="output/Ext.dd.DragDrop.html#addInvalidHandleType">DragDrop</a></td>\r
342     </tr>\r
343         <tr class="method-row inherited expandable">\r
344         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
345         <td class="sig">\r
346         <a id="Ext.dd.DDTarget-addToGroup"></a>\r
347             <b>addToGroup</b>(&nbsp;<code>sGroup {string}</code>&nbsp;) : void            <div class="mdesc">\r
348                         <div class="short">Add this instance to a group of related drag/drop objects.  All
349 instances belong to at least one group, and can belon...</div>\r
350             <div class="long">\r
351                 Add this instance to a group of related drag/drop objects.  All
352 instances belong to at least one group, and can belong to as many
353 groups as needed.    <div class="mdetail-params">\r
354         <strong>Parameters:</strong>\r
355         <ul><li><code>{string}</code> : sGroup<div class="sub-desc">the name of the group</div></li>        </ul>\r
356         <strong>Returns:</strong>\r
357         <ul>\r
358             <li><code>void</code></li>\r
359         </ul>\r
360     </div>\r
361                 </div>\r
362                         </div>\r
363         </td>\r
364         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addToGroup" href="output/Ext.dd.DragDrop.html#addToGroup">DragDrop</a></td>\r
365     </tr>\r
366         <tr class="method-row inherited alt expandable">\r
367         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
368         <td class="sig">\r
369         <a id="Ext.dd.DDTarget-applyConfig"></a>\r
370             <b>applyConfig</b>() : void            <div class="mdesc">\r
371                         <div class="short">Applies the configuration parameters that were passed into the constructor.
372 This is supposed to happen at each level ...</div>\r
373             <div class="long">\r
374                 Applies the configuration parameters that were passed into the constructor.
375 This is supposed to happen at each level through the inheritance chain.  So
376 a DDProxy implentation will execute apply config on DDProxy, DD, and
377 DragDrop in order to get all of the parameters that are available in
378 each object.    <div class="mdetail-params">\r
379         <strong>Parameters:</strong>\r
380         <ul><li>None.</li>        </ul>\r
381         <strong>Returns:</strong>\r
382         <ul>\r
383             <li><code>void</code></li>\r
384         </ul>\r
385     </div>\r
386                 </div>\r
387                         </div>\r
388         </td>\r
389         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#applyConfig" href="output/Ext.dd.DragDrop.html#applyConfig">DragDrop</a></td>\r
390     </tr>\r
391         <tr class="method-row inherited expandable">\r
392         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
393         <td class="sig">\r
394         <a id="Ext.dd.DDTarget-clearConstraints"></a>\r
395             <b>clearConstraints</b>() : void            <div class="mdesc">\r
396                         <div class="short">Clears any constraints applied to this instance.  Also clears ticks
397 since they can't exist independent of a constrain...</div>\r
398             <div class="long">\r
399                 Clears any constraints applied to this instance.  Also clears ticks
400 since they can't exist independent of a constraint at this time.    <div class="mdetail-params">\r
401         <strong>Parameters:</strong>\r
402         <ul><li>None.</li>        </ul>\r
403         <strong>Returns:</strong>\r
404         <ul>\r
405             <li><code>void</code></li>\r
406         </ul>\r
407     </div>\r
408                 </div>\r
409                         </div>\r
410         </td>\r
411         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#clearConstraints" href="output/Ext.dd.DragDrop.html#clearConstraints">DragDrop</a></td>\r
412     </tr>\r
413         <tr class="method-row inherited alt expandable">\r
414         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
415         <td class="sig">\r
416         <a id="Ext.dd.DDTarget-clearTicks"></a>\r
417             <b>clearTicks</b>() : void            <div class="mdesc">\r
418                         <div class="short">Clears any tick interval defined for this instance</div>\r
419             <div class="long">\r
420                 Clears any tick interval defined for this instance    <div class="mdetail-params">\r
421         <strong>Parameters:</strong>\r
422         <ul><li>None.</li>        </ul>\r
423         <strong>Returns:</strong>\r
424         <ul>\r
425             <li><code>void</code></li>\r
426         </ul>\r
427     </div>\r
428                 </div>\r
429                         </div>\r
430         </td>\r
431         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#clearTicks" href="output/Ext.dd.DragDrop.html#clearTicks">DragDrop</a></td>\r
432     </tr>\r
433         <tr class="method-row inherited expandable">\r
434         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
435         <td class="sig">\r
436         <a id="Ext.dd.DDTarget-constrainTo"></a>\r
437             <b>constrainTo</b>(&nbsp;<code>Mixed constrainTo</code>, <span class="optional" title="Optional">[<code>Object/Number pad</code>]</span>, <span class="optional" title="Optional">[<code>Boolean inContent</code>]</span>&nbsp;) : void            <div class="mdesc">\r
438                         <div class="short">Initializes the drag drop object's constraints to restrict movement to a certain element.
439 Usage:\r
440  var dd = new Ext.d...</div>\r
441             <div class="long">\r
442                 Initializes the drag drop object's constraints to restrict movement to a certain element.
443 Usage:\r
444  <pre><code>var dd = <b>new</b> Ext.dd.DDProxy(<em>"dragDiv1"</em>, <em>"proxytest"</em>,
445                 { dragElId: <em>"existingProxyDiv"</em> });
446  dd.startDrag = <b>function</b>(){
447      <b>this</b>.constrainTo(<em>"parent-id"</em>);
448  };</code></pre>
449 Or you can initalize it using the <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a> object:\r
450  <pre><code>Ext.get(<em>"dragDiv1"</em>).initDDProxy(<em>"proxytest"</em>, {dragElId: <em>"existingProxyDiv"</em>}, {
451      startDrag : <b>function</b>(){
452          <b>this</b>.constrainTo(<em>"parent-id"</em>);
453      }
454  });</code></pre>    <div class="mdetail-params">\r
455         <strong>Parameters:</strong>\r
456         <ul><li><code>constrainTo</code> : Mixed<div class="sub-desc">The element to constrain to.</div></li><li><code>pad</code> : Object/Number<div class="sub-desc">(optional) Pad provides a way to specify "padding" of the constraints,
457 and can be either a number for symmetrical padding (4 would be equal to {left:4, right:4, top:4, bottom:4}) or
458 an object containing the sides to pad. For example: {right:10, bottom:10}</div></li><li><code>inContent</code> : Boolean<div class="sub-desc">(optional) Constrain the draggable in the content box of the element (inside padding and borders)</div></li>        </ul>\r
459         <strong>Returns:</strong>\r
460         <ul>\r
461             <li><code>void</code></li>\r
462         </ul>\r
463     </div>\r
464                 </div>\r
465                         </div>\r
466         </td>\r
467         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#constrainTo" href="output/Ext.dd.DragDrop.html#constrainTo">DragDrop</a></td>\r
468     </tr>\r
469         <tr class="method-row inherited alt expandable">\r
470         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
471         <td class="sig">\r
472         <a id="Ext.dd.DDTarget-endDrag"></a>\r
473             <b>endDrag</b>(&nbsp;<code>Event e</code>&nbsp;) : void            <div class="mdesc">\r
474                         <div class="short">Fired when we are done dragging the object</div>\r
475             <div class="long">\r
476                 Fired when we are done dragging the object    <div class="mdetail-params">\r
477         <strong>Parameters:</strong>\r
478         <ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li>        </ul>\r
479         <strong>Returns:</strong>\r
480         <ul>\r
481             <li><code>void</code></li>\r
482         </ul>\r
483     </div>\r
484                 </div>\r
485                         </div>\r
486         </td>\r
487         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#endDrag" href="output/Ext.dd.DragDrop.html#endDrag">DragDrop</a></td>\r
488     </tr>\r
489         <tr class="method-row inherited expandable">\r
490         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
491         <td class="sig">\r
492         <a id="Ext.dd.DDTarget-getDragEl"></a>\r
493             <b>getDragEl</b>() : HTMLElement            <div class="mdesc">\r
494                         <div class="short">Returns a reference to the actual element to drag.  By default this is
495 the same as the html element, but it can be as...</div>\r
496             <div class="long">\r
497                 Returns a reference to the actual element to drag.  By default this is
498 the same as the html element, but it can be assigned to another
499 element. An example of this can be found in Ext.dd.DDProxy    <div class="mdetail-params">\r
500         <strong>Parameters:</strong>\r
501         <ul><li>None.</li>        </ul>\r
502         <strong>Returns:</strong>\r
503         <ul>\r
504             <li><code>HTMLElement</code><div class="sub-desc">the html element</div></li>\r
505         </ul>\r
506     </div>\r
507                 </div>\r
508                         </div>\r
509         </td>\r
510         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#getDragEl" href="output/Ext.dd.DragDrop.html#getDragEl">DragDrop</a></td>\r
511     </tr>\r
512         <tr class="method-row inherited alt expandable">\r
513         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
514         <td class="sig">\r
515         <a id="Ext.dd.DDTarget-getEl"></a>\r
516             <b>getEl</b>() : HTMLElement            <div class="mdesc">\r
517                         <div class="short">Returns a reference to the linked element</div>\r
518             <div class="long">\r
519                 Returns a reference to the linked element    <div class="mdetail-params">\r
520         <strong>Parameters:</strong>\r
521         <ul><li>None.</li>        </ul>\r
522         <strong>Returns:</strong>\r
523         <ul>\r
524             <li><code>HTMLElement</code><div class="sub-desc">the html element</div></li>\r
525         </ul>\r
526     </div>\r
527                 </div>\r
528                         </div>\r
529         </td>\r
530         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#getEl" href="output/Ext.dd.DragDrop.html#getEl">DragDrop</a></td>\r
531     </tr>\r
532         <tr class="method-row inherited expandable">\r
533         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
534         <td class="sig">\r
535         <a id="Ext.dd.DDTarget-init"></a>\r
536             <b>init</b>(&nbsp;<code>id the</code>, <code>String sGroup</code>, <code>object config</code>&nbsp;) : void            <div class="mdesc">\r
537                         <div class="short">Sets up the DragDrop object.  Must be called in the constructor of any
538 Ext.dd.DragDrop subclass</div>\r
539             <div class="long">\r
540                 Sets up the DragDrop object.  Must be called in the constructor of any
541 Ext.dd.DragDrop subclass    <div class="mdetail-params">\r
542         <strong>Parameters:</strong>\r
543         <ul><li><code>the</code> : id<div class="sub-desc">id of the linked element</div></li><li><code>sGroup</code> : String<div class="sub-desc">the group of related items</div></li><li><code>config</code> : object<div class="sub-desc">configuration attributes</div></li>        </ul>\r
544         <strong>Returns:</strong>\r
545         <ul>\r
546             <li><code>void</code></li>\r
547         </ul>\r
548     </div>\r
549                 </div>\r
550                         </div>\r
551         </td>\r
552         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#init" href="output/Ext.dd.DragDrop.html#init">DragDrop</a></td>\r
553     </tr>\r
554         <tr class="method-row inherited alt expandable">\r
555         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
556         <td class="sig">\r
557         <a id="Ext.dd.DDTarget-initTarget"></a>\r
558             <b>initTarget</b>(&nbsp;<code>id the</code>, <code>String sGroup</code>, <code>object config</code>&nbsp;) : void            <div class="mdesc">\r
559                         <div class="short">Initializes Targeting functionality only... the object does not
560 get a mousedown handler.</div>\r
561             <div class="long">\r
562                 Initializes Targeting functionality only... the object does not
563 get a mousedown handler.    <div class="mdetail-params">\r
564         <strong>Parameters:</strong>\r
565         <ul><li><code>the</code> : id<div class="sub-desc">id of the linked element</div></li><li><code>sGroup</code> : String<div class="sub-desc">the group of related items</div></li><li><code>config</code> : object<div class="sub-desc">configuration attributes</div></li>        </ul>\r
566         <strong>Returns:</strong>\r
567         <ul>\r
568             <li><code>void</code></li>\r
569         </ul>\r
570     </div>\r
571                 </div>\r
572                         </div>\r
573         </td>\r
574         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#initTarget" href="output/Ext.dd.DragDrop.html#initTarget">DragDrop</a></td>\r
575     </tr>\r
576         <tr class="method-row inherited expandable">\r
577         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
578         <td class="sig">\r
579         <a id="Ext.dd.DDTarget-isLocked"></a>\r
580             <b>isLocked</b>() : boolean            <div class="mdesc">\r
581                         <div class="short">Returns true if this instance is locked, or the drag drop mgr is locked
582 (meaning that all drag/drop is disabled on th...</div>\r
583             <div class="long">\r
584                 Returns true if this instance is locked, or the drag drop mgr is locked
585 (meaning that all drag/drop is disabled on the page.)    <div class="mdetail-params">\r
586         <strong>Parameters:</strong>\r
587         <ul><li>None.</li>        </ul>\r
588         <strong>Returns:</strong>\r
589         <ul>\r
590             <li><code>boolean</code><div class="sub-desc">true if this obj or all drag/drop is locked, else false</div></li>\r
591         </ul>\r
592     </div>\r
593                 </div>\r
594                         </div>\r
595         </td>\r
596         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#isLocked" href="output/Ext.dd.DragDrop.html#isLocked">DragDrop</a></td>\r
597     </tr>\r
598         <tr class="method-row inherited alt expandable">\r
599         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
600         <td class="sig">\r
601         <a id="Ext.dd.DDTarget-isValidHandleChild"></a>\r
602             <b>isValidHandleChild</b>(&nbsp;<code>HTMLElement node</code>&nbsp;) : boolean            <div class="mdesc">\r
603                         <div class="short">Checks the tag exclusion list to see if this click should be ignored</div>\r
604             <div class="long">\r
605                 Checks the tag exclusion list to see if this click should be ignored    <div class="mdetail-params">\r
606         <strong>Parameters:</strong>\r
607         <ul><li><code>node</code> : HTMLElement<div class="sub-desc">the HTMLElement to evaluate</div></li>        </ul>\r
608         <strong>Returns:</strong>\r
609         <ul>\r
610             <li><code>boolean</code><div class="sub-desc">true if this is a valid tag type, false if not</div></li>\r
611         </ul>\r
612     </div>\r
613                 </div>\r
614                         </div>\r
615         </td>\r
616         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#isValidHandleChild" href="output/Ext.dd.DragDrop.html#isValidHandleChild">DragDrop</a></td>\r
617     </tr>\r
618         <tr class="method-row inherited expandable">\r
619         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
620         <td class="sig">\r
621         <a id="Ext.dd.DDTarget-lock"></a>\r
622             <b>lock</b>() : void            <div class="mdesc">\r
623                         <div class="short">Lock this instance</div>\r
624             <div class="long">\r
625                 Lock this instance    <div class="mdetail-params">\r
626         <strong>Parameters:</strong>\r
627         <ul><li>None.</li>        </ul>\r
628         <strong>Returns:</strong>\r
629         <ul>\r
630             <li><code>void</code></li>\r
631         </ul>\r
632     </div>\r
633                 </div>\r
634                         </div>\r
635         </td>\r
636         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#lock" href="output/Ext.dd.DragDrop.html#lock">DragDrop</a></td>\r
637     </tr>\r
638         <tr class="method-row inherited alt expandable">\r
639         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
640         <td class="sig">\r
641         <a id="Ext.dd.DDTarget-onAvailable"></a>\r
642             <b>onAvailable</b>() : void            <div class="mdesc">\r
643                         <div class="short">Override the onAvailable method to do what is needed after the initial
644 position was determined.</div>\r
645             <div class="long">\r
646                 Override the onAvailable method to do what is needed after the initial
647 position was determined.    <div class="mdetail-params">\r
648         <strong>Parameters:</strong>\r
649         <ul><li>None.</li>        </ul>\r
650         <strong>Returns:</strong>\r
651         <ul>\r
652             <li><code>void</code></li>\r
653         </ul>\r
654     </div>\r
655                 </div>\r
656                         </div>\r
657         </td>\r
658         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onAvailable" href="output/Ext.dd.DragDrop.html#onAvailable">DragDrop</a></td>\r
659     </tr>\r
660         <tr class="method-row inherited expandable">\r
661         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
662         <td class="sig">\r
663         <a id="Ext.dd.DDTarget-onDrag"></a>\r
664             <b>onDrag</b>(&nbsp;<code>Event e</code>&nbsp;) : void            <div class="mdesc">\r
665                         <div class="short">Abstract method called during the onMouseMove event while dragging an
666 object.</div>\r
667             <div class="long">\r
668                 Abstract method called during the onMouseMove event while dragging an
669 object.    <div class="mdetail-params">\r
670         <strong>Parameters:</strong>\r
671         <ul><li><code>e</code> : Event<div class="sub-desc">the mousemove event</div></li>        </ul>\r
672         <strong>Returns:</strong>\r
673         <ul>\r
674             <li><code>void</code></li>\r
675         </ul>\r
676     </div>\r
677                 </div>\r
678                         </div>\r
679         </td>\r
680         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDrag" href="output/Ext.dd.DragDrop.html#onDrag">DragDrop</a></td>\r
681     </tr>\r
682         <tr class="method-row inherited alt expandable">\r
683         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
684         <td class="sig">\r
685         <a id="Ext.dd.DDTarget-onDragDrop"></a>\r
686             <b>onDragDrop</b>(&nbsp;<code>Event e</code>, <code>String|DragDrop[] id</code>&nbsp;) : void            <div class="mdesc">\r
687                         <div class="short">Abstract method called when this item is dropped on another DragDrop
688 obj</div>\r
689             <div class="long">\r
690                 Abstract method called when this item is dropped on another DragDrop
691 obj    <div class="mdetail-params">\r
692         <strong>Parameters:</strong>\r
693         <ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li><li><code>id</code> : String|DragDrop[]<div class="sub-desc">In POINT mode, the element
694 id this was dropped on. In INTERSECT mode, an array of dd items this
695 was dropped on.</div></li>        </ul>\r
696         <strong>Returns:</strong>\r
697         <ul>\r
698             <li><code>void</code></li>\r
699         </ul>\r
700     </div>\r
701                 </div>\r
702                         </div>\r
703         </td>\r
704         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragDrop" href="output/Ext.dd.DragDrop.html#onDragDrop">DragDrop</a></td>\r
705     </tr>\r
706         <tr class="method-row inherited expandable">\r
707         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
708         <td class="sig">\r
709         <a id="Ext.dd.DDTarget-onDragEnter"></a>\r
710             <b>onDragEnter</b>(&nbsp;<code>Event e</code>, <code>String|DragDrop[] id</code>&nbsp;) : void            <div class="mdesc">\r
711                         <div class="short">Abstract method called when this element fist begins hovering over
712 another DragDrop obj</div>\r
713             <div class="long">\r
714                 Abstract method called when this element fist begins hovering over
715 another DragDrop obj    <div class="mdetail-params">\r
716         <strong>Parameters:</strong>\r
717         <ul><li><code>e</code> : Event<div class="sub-desc">the mousemove event</div></li><li><code>id</code> : String|DragDrop[]<div class="sub-desc">In POINT mode, the element
718 id this is hovering over. In INTERSECT mode, an array of one or more
719 dragdrop items being hovered over.</div></li>        </ul>\r
720         <strong>Returns:</strong>\r
721         <ul>\r
722             <li><code>void</code></li>\r
723         </ul>\r
724     </div>\r
725                 </div>\r
726                         </div>\r
727         </td>\r
728         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragEnter" href="output/Ext.dd.DragDrop.html#onDragEnter">DragDrop</a></td>\r
729     </tr>\r
730         <tr class="method-row inherited alt expandable">\r
731         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
732         <td class="sig">\r
733         <a id="Ext.dd.DDTarget-onDragOut"></a>\r
734             <b>onDragOut</b>(&nbsp;<code>Event e</code>, <code>String|DragDrop[] id</code>&nbsp;) : void            <div class="mdesc">\r
735                         <div class="short">Abstract method called when we are no longer hovering over an element</div>\r
736             <div class="long">\r
737                 Abstract method called when we are no longer hovering over an element    <div class="mdetail-params">\r
738         <strong>Parameters:</strong>\r
739         <ul><li><code>e</code> : Event<div class="sub-desc">the mousemove event</div></li><li><code>id</code> : String|DragDrop[]<div class="sub-desc">In POINT mode, the element
740 id this was hovering over. In INTERSECT mode, an array of dd items
741 that the mouse is no longer over.</div></li>        </ul>\r
742         <strong>Returns:</strong>\r
743         <ul>\r
744             <li><code>void</code></li>\r
745         </ul>\r
746     </div>\r
747                 </div>\r
748                         </div>\r
749         </td>\r
750         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragOut" href="output/Ext.dd.DragDrop.html#onDragOut">DragDrop</a></td>\r
751     </tr>\r
752         <tr class="method-row inherited expandable">\r
753         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
754         <td class="sig">\r
755         <a id="Ext.dd.DDTarget-onDragOver"></a>\r
756             <b>onDragOver</b>(&nbsp;<code>Event e</code>, <code>String|DragDrop[] id</code>&nbsp;) : void            <div class="mdesc">\r
757                         <div class="short">Abstract method called when this element is hovering over another
758 DragDrop obj</div>\r
759             <div class="long">\r
760                 Abstract method called when this element is hovering over another
761 DragDrop obj    <div class="mdetail-params">\r
762         <strong>Parameters:</strong>\r
763         <ul><li><code>e</code> : Event<div class="sub-desc">the mousemove event</div></li><li><code>id</code> : String|DragDrop[]<div class="sub-desc">In POINT mode, the element
764 id this is hovering over. In INTERSECT mode, an array of dd items
765 being hovered over.</div></li>        </ul>\r
766         <strong>Returns:</strong>\r
767         <ul>\r
768             <li><code>void</code></li>\r
769         </ul>\r
770     </div>\r
771                 </div>\r
772                         </div>\r
773         </td>\r
774         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragOver" href="output/Ext.dd.DragDrop.html#onDragOver">DragDrop</a></td>\r
775     </tr>\r
776         <tr class="method-row inherited alt expandable">\r
777         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
778         <td class="sig">\r
779         <a id="Ext.dd.DDTarget-onInvalidDrop"></a>\r
780             <b>onInvalidDrop</b>(&nbsp;<code>Event e</code>&nbsp;) : void            <div class="mdesc">\r
781                         <div class="short">Abstract method called when this item is dropped on an area with no
782 drop target</div>\r
783             <div class="long">\r
784                 Abstract method called when this item is dropped on an area with no
785 drop target    <div class="mdetail-params">\r
786         <strong>Parameters:</strong>\r
787         <ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li>        </ul>\r
788         <strong>Returns:</strong>\r
789         <ul>\r
790             <li><code>void</code></li>\r
791         </ul>\r
792     </div>\r
793                 </div>\r
794                         </div>\r
795         </td>\r
796         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onInvalidDrop" href="output/Ext.dd.DragDrop.html#onInvalidDrop">DragDrop</a></td>\r
797     </tr>\r
798         <tr class="method-row inherited expandable">\r
799         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
800         <td class="sig">\r
801         <a id="Ext.dd.DDTarget-onMouseDown"></a>\r
802             <b>onMouseDown</b>(&nbsp;<code>Event e</code>&nbsp;) : void            <div class="mdesc">\r
803                         <div class="short">Event handler that fires when a drag/drop obj gets a mousedown</div>\r
804             <div class="long">\r
805                 Event handler that fires when a drag/drop obj gets a mousedown    <div class="mdetail-params">\r
806         <strong>Parameters:</strong>\r
807         <ul><li><code>e</code> : Event<div class="sub-desc">the mousedown event</div></li>        </ul>\r
808         <strong>Returns:</strong>\r
809         <ul>\r
810             <li><code>void</code></li>\r
811         </ul>\r
812     </div>\r
813                 </div>\r
814                         </div>\r
815         </td>\r
816         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onMouseDown" href="output/Ext.dd.DragDrop.html#onMouseDown">DragDrop</a></td>\r
817     </tr>\r
818         <tr class="method-row inherited alt expandable">\r
819         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
820         <td class="sig">\r
821         <a id="Ext.dd.DDTarget-onMouseUp"></a>\r
822             <b>onMouseUp</b>(&nbsp;<code>Event e</code>&nbsp;) : void            <div class="mdesc">\r
823                         <div class="short">Event handler that fires when a drag/drop obj gets a mouseup</div>\r
824             <div class="long">\r
825                 Event handler that fires when a drag/drop obj gets a mouseup    <div class="mdetail-params">\r
826         <strong>Parameters:</strong>\r
827         <ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li>        </ul>\r
828         <strong>Returns:</strong>\r
829         <ul>\r
830             <li><code>void</code></li>\r
831         </ul>\r
832     </div>\r
833                 </div>\r
834                         </div>\r
835         </td>\r
836         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onMouseUp" href="output/Ext.dd.DragDrop.html#onMouseUp">DragDrop</a></td>\r
837     </tr>\r
838         <tr class="method-row inherited expandable">\r
839         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
840         <td class="sig">\r
841         <a id="Ext.dd.DDTarget-removeFromGroup"></a>\r
842             <b>removeFromGroup</b>(&nbsp;<code>string sGroup</code>&nbsp;) : void            <div class="mdesc">\r
843                         <div class="short">Remove's this instance from the supplied interaction group</div>\r
844             <div class="long">\r
845                 Remove's this instance from the supplied interaction group    <div class="mdetail-params">\r
846         <strong>Parameters:</strong>\r
847         <ul><li><code>sGroup</code> : string<div class="sub-desc">The group to drop</div></li>        </ul>\r
848         <strong>Returns:</strong>\r
849         <ul>\r
850             <li><code>void</code></li>\r
851         </ul>\r
852     </div>\r
853                 </div>\r
854                         </div>\r
855         </td>\r
856         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeFromGroup" href="output/Ext.dd.DragDrop.html#removeFromGroup">DragDrop</a></td>\r
857     </tr>\r
858         <tr class="method-row inherited alt expandable">\r
859         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
860         <td class="sig">\r
861         <a id="Ext.dd.DDTarget-removeInvalidHandleClass"></a>\r
862             <b>removeInvalidHandleClass</b>(&nbsp;<code>string cssClass</code>&nbsp;) : void            <div class="mdesc">\r
863                         <div class="short">Unsets an invalid css class</div>\r
864             <div class="long">\r
865                 Unsets an invalid css class    <div class="mdetail-params">\r
866         <strong>Parameters:</strong>\r
867         <ul><li><code>cssClass</code> : string<div class="sub-desc">the class of the element(s) you wish to
868 re-enable</div></li>        </ul>\r
869         <strong>Returns:</strong>\r
870         <ul>\r
871             <li><code>void</code></li>\r
872         </ul>\r
873     </div>\r
874                 </div>\r
875                         </div>\r
876         </td>\r
877         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeInvalidHandleClass" href="output/Ext.dd.DragDrop.html#removeInvalidHandleClass">DragDrop</a></td>\r
878     </tr>\r
879         <tr class="method-row inherited expandable">\r
880         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
881         <td class="sig">\r
882         <a id="Ext.dd.DDTarget-removeInvalidHandleId"></a>\r
883             <b>removeInvalidHandleId</b>(&nbsp;<code>string id</code>&nbsp;) : void            <div class="mdesc">\r
884                         <div class="short">Unsets an invalid handle id</div>\r
885             <div class="long">\r
886                 Unsets an invalid handle id    <div class="mdetail-params">\r
887         <strong>Parameters:</strong>\r
888         <ul><li><code>id</code> : string<div class="sub-desc">the id of the element to re-enable</div></li>        </ul>\r
889         <strong>Returns:</strong>\r
890         <ul>\r
891             <li><code>void</code></li>\r
892         </ul>\r
893     </div>\r
894                 </div>\r
895                         </div>\r
896         </td>\r
897         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeInvalidHandleId" href="output/Ext.dd.DragDrop.html#removeInvalidHandleId">DragDrop</a></td>\r
898     </tr>\r
899         <tr class="method-row inherited alt expandable">\r
900         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
901         <td class="sig">\r
902         <a id="Ext.dd.DDTarget-removeInvalidHandleType"></a>\r
903             <b>removeInvalidHandleType</b>(&nbsp;<code>string tagName</code>&nbsp;) : void            <div class="mdesc">\r
904                         <div class="short">Unsets an excluded tag name set by addInvalidHandleType</div>\r
905             <div class="long">\r
906                 Unsets an excluded tag name set by addInvalidHandleType    <div class="mdetail-params">\r
907         <strong>Parameters:</strong>\r
908         <ul><li><code>tagName</code> : string<div class="sub-desc">the type of element to unexclude</div></li>        </ul>\r
909         <strong>Returns:</strong>\r
910         <ul>\r
911             <li><code>void</code></li>\r
912         </ul>\r
913     </div>\r
914                 </div>\r
915                         </div>\r
916         </td>\r
917         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeInvalidHandleType" href="output/Ext.dd.DragDrop.html#removeInvalidHandleType">DragDrop</a></td>\r
918     </tr>\r
919         <tr class="method-row inherited expandable">\r
920         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
921         <td class="sig">\r
922         <a id="Ext.dd.DDTarget-resetConstraints"></a>\r
923             <b>resetConstraints</b>(&nbsp;<code>boolean maintainOffset</code>&nbsp;) : void            <div class="mdesc">\r
924                         <div class="short">resetConstraints must be called if you manually reposition a dd element.</div>\r
925             <div class="long">\r
926                 resetConstraints must be called if you manually reposition a dd element.    <div class="mdetail-params">\r
927         <strong>Parameters:</strong>\r
928         <ul><li><code>maintainOffset</code> : boolean<div class="sub-desc"></div></li>        </ul>\r
929         <strong>Returns:</strong>\r
930         <ul>\r
931             <li><code>void</code></li>\r
932         </ul>\r
933     </div>\r
934                 </div>\r
935                         </div>\r
936         </td>\r
937         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#resetConstraints" href="output/Ext.dd.DragDrop.html#resetConstraints">DragDrop</a></td>\r
938     </tr>\r
939         <tr class="method-row inherited alt expandable">\r
940         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
941         <td class="sig">\r
942         <a id="Ext.dd.DDTarget-setDragElId"></a>\r
943             <b>setDragElId</b>(&nbsp;<code>id {string}</code>&nbsp;) : void            <div class="mdesc">\r
944                         <div class="short">Allows you to specify that an element other than the linked element
945 will be moved with the cursor during a drag</div>\r
946             <div class="long">\r
947                 Allows you to specify that an element other than the linked element
948 will be moved with the cursor during a drag    <div class="mdetail-params">\r
949         <strong>Parameters:</strong>\r
950         <ul><li><code>{string}</code> : id<div class="sub-desc">the id of the element that will be used to initiate the drag</div></li>        </ul>\r
951         <strong>Returns:</strong>\r
952         <ul>\r
953             <li><code>void</code></li>\r
954         </ul>\r
955     </div>\r
956                 </div>\r
957                         </div>\r
958         </td>\r
959         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setDragElId" href="output/Ext.dd.DragDrop.html#setDragElId">DragDrop</a></td>\r
960     </tr>\r
961         <tr class="method-row inherited expandable">\r
962         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
963         <td class="sig">\r
964         <a id="Ext.dd.DDTarget-setHandleElId"></a>\r
965             <b>setHandleElId</b>(&nbsp;<code>id {string}</code>&nbsp;) : void            <div class="mdesc">\r
966                         <div class="short">Allows you to specify a child of the linked element that should be
967 used to initiate the drag operation.  An example o...</div>\r
968             <div class="long">\r
969                 Allows you to specify a child of the linked element that should be
970 used to initiate the drag operation.  An example of this would be if
971 you have a content div with text and links.  Clicking anywhere in the
972 content area would normally start the drag operation.  Use this method
973 to specify that an element inside of the content div is the element
974 that starts the drag operation.    <div class="mdetail-params">\r
975         <strong>Parameters:</strong>\r
976         <ul><li><code>{string}</code> : id<div class="sub-desc">the id of the element that will be used to
977 initiate the drag.</div></li>        </ul>\r
978         <strong>Returns:</strong>\r
979         <ul>\r
980             <li><code>void</code></li>\r
981         </ul>\r
982     </div>\r
983                 </div>\r
984                         </div>\r
985         </td>\r
986         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setHandleElId" href="output/Ext.dd.DragDrop.html#setHandleElId">DragDrop</a></td>\r
987     </tr>\r
988         <tr class="method-row inherited alt expandable">\r
989         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
990         <td class="sig">\r
991         <a id="Ext.dd.DDTarget-setInitialPosition"></a>\r
992             <b>setInitialPosition</b>(&nbsp;<code>int diffX</code>, <code>int diffY</code>&nbsp;) : void            <div class="mdesc">\r
993                         <div class="short">Stores the initial placement of the linked element.</div>\r
994             <div class="long">\r
995                 Stores the initial placement of the linked element.    <div class="mdetail-params">\r
996         <strong>Parameters:</strong>\r
997         <ul><li><code>diffX</code> : int<div class="sub-desc">the X offset, default 0</div></li><li><code>diffY</code> : int<div class="sub-desc">the Y offset, default 0</div></li>        </ul>\r
998         <strong>Returns:</strong>\r
999         <ul>\r
1000             <li><code>void</code></li>\r
1001         </ul>\r
1002     </div>\r
1003                 </div>\r
1004                         </div>\r
1005         </td>\r
1006         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setInitialPosition" href="output/Ext.dd.DragDrop.html#setInitialPosition">DragDrop</a></td>\r
1007     </tr>\r
1008         <tr class="method-row inherited expandable">\r
1009         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1010         <td class="sig">\r
1011         <a id="Ext.dd.DDTarget-setOuterHandleElId"></a>\r
1012             <b>setOuterHandleElId</b>(&nbsp;<code>id the</code>&nbsp;) : void            <div class="mdesc">\r
1013                         <div class="short">Allows you to set an element outside of the linked element as a drag
1014 handle</div>\r
1015             <div class="long">\r
1016                 Allows you to set an element outside of the linked element as a drag
1017 handle    <div class="mdetail-params">\r
1018         <strong>Parameters:</strong>\r
1019         <ul><li><code>the</code> : id<div class="sub-desc">id of the element that will be used to initiate the drag</div></li>        </ul>\r
1020         <strong>Returns:</strong>\r
1021         <ul>\r
1022             <li><code>void</code></li>\r
1023         </ul>\r
1024     </div>\r
1025                 </div>\r
1026                         </div>\r
1027         </td>\r
1028         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setOuterHandleElId" href="output/Ext.dd.DragDrop.html#setOuterHandleElId">DragDrop</a></td>\r
1029     </tr>\r
1030         <tr class="method-row inherited alt expandable">\r
1031         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1032         <td class="sig">\r
1033         <a id="Ext.dd.DDTarget-setPadding"></a>\r
1034             <b>setPadding</b>(&nbsp;<code>int iTop</code>, <code>int iRight</code>, <code>int iBot</code>, <code>int iLeft</code>&nbsp;) : void            <div class="mdesc">\r
1035                         <div class="short">Configures the padding for the target zone in px.  Effectively expands
1036 (or reduces) the virtual object size for targe...</div>\r
1037             <div class="long">\r
1038                 Configures the padding for the target zone in px.  Effectively expands
1039 (or reduces) the virtual object size for targeting calculations.
1040 Supports css-style shorthand; if only one parameter is passed, all sides
1041 will have that padding, and if only two are passed, the top and bottom
1042 will have the first param, the left and right the second.    <div class="mdetail-params">\r
1043         <strong>Parameters:</strong>\r
1044         <ul><li><code>iTop</code> : int<div class="sub-desc">Top pad</div></li><li><code>iRight</code> : int<div class="sub-desc">Right pad</div></li><li><code>iBot</code> : int<div class="sub-desc">Bot pad</div></li><li><code>iLeft</code> : int<div class="sub-desc">Left pad</div></li>        </ul>\r
1045         <strong>Returns:</strong>\r
1046         <ul>\r
1047             <li><code>void</code></li>\r
1048         </ul>\r
1049     </div>\r
1050                 </div>\r
1051                         </div>\r
1052         </td>\r
1053         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setPadding" href="output/Ext.dd.DragDrop.html#setPadding">DragDrop</a></td>\r
1054     </tr>\r
1055         <tr class="method-row inherited expandable">\r
1056         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1057         <td class="sig">\r
1058         <a id="Ext.dd.DDTarget-setXConstraint"></a>\r
1059             <b>setXConstraint</b>(&nbsp;<code>int iLeft</code>, <code>int iRight</code>, <code>int iTickSize</code>&nbsp;) : void            <div class="mdesc">\r
1060                         <div class="short">By default, the element can be dragged any place on the screen.  Use
1061 this method to limit the horizontal travel of th...</div>\r
1062             <div class="long">\r
1063                 By default, the element can be dragged any place on the screen.  Use
1064 this method to limit the horizontal travel of the element.  Pass in
1065 0,0 for the parameters if you want to lock the drag to the y axis.    <div class="mdetail-params">\r
1066         <strong>Parameters:</strong>\r
1067         <ul><li><code>iLeft</code> : int<div class="sub-desc">the number of pixels the element can move to the left</div></li><li><code>iRight</code> : int<div class="sub-desc">the number of pixels the element can move to the
1068 right</div></li><li><code>iTickSize</code> : int<div class="sub-desc">optional parameter for specifying that the
1069 element
1070 should move iTickSize pixels at a time.</div></li>        </ul>\r
1071         <strong>Returns:</strong>\r
1072         <ul>\r
1073             <li><code>void</code></li>\r
1074         </ul>\r
1075     </div>\r
1076                 </div>\r
1077                         </div>\r
1078         </td>\r
1079         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setXConstraint" href="output/Ext.dd.DragDrop.html#setXConstraint">DragDrop</a></td>\r
1080     </tr>\r
1081         <tr class="method-row inherited alt expandable">\r
1082         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1083         <td class="sig">\r
1084         <a id="Ext.dd.DDTarget-setYConstraint"></a>\r
1085             <b>setYConstraint</b>(&nbsp;<code>int iUp</code>, <code>int iDown</code>, <code>int iTickSize</code>&nbsp;) : void            <div class="mdesc">\r
1086                         <div class="short">By default, the element can be dragged any place on the screen.  Set
1087 this to limit the vertical travel of the element...</div>\r
1088             <div class="long">\r
1089                 By default, the element can be dragged any place on the screen.  Set
1090 this to limit the vertical travel of the element.  Pass in 0,0 for the
1091 parameters if you want to lock the drag to the x axis.    <div class="mdetail-params">\r
1092         <strong>Parameters:</strong>\r
1093         <ul><li><code>iUp</code> : int<div class="sub-desc">the number of pixels the element can move up</div></li><li><code>iDown</code> : int<div class="sub-desc">the number of pixels the element can move down</div></li><li><code>iTickSize</code> : int<div class="sub-desc">optional parameter for specifying that the
1094 element should move iTickSize pixels at a time.</div></li>        </ul>\r
1095         <strong>Returns:</strong>\r
1096         <ul>\r
1097             <li><code>void</code></li>\r
1098         </ul>\r
1099     </div>\r
1100                 </div>\r
1101                         </div>\r
1102         </td>\r
1103         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setYConstraint" href="output/Ext.dd.DragDrop.html#setYConstraint">DragDrop</a></td>\r
1104     </tr>\r
1105         <tr class="method-row inherited expandable">\r
1106         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1107         <td class="sig">\r
1108         <a id="Ext.dd.DDTarget-startDrag"></a>\r
1109             <b>startDrag</b>(&nbsp;<code>int X</code>, <code>int Y</code>&nbsp;) : void            <div class="mdesc">\r
1110                         <div class="short">Abstract method called after a drag/drop object is clicked
1111 and the drag or mousedown time thresholds have beeen met.</div>\r
1112             <div class="long">\r
1113                 Abstract method called after a drag/drop object is clicked
1114 and the drag or mousedown time thresholds have beeen met.    <div class="mdetail-params">\r
1115         <strong>Parameters:</strong>\r
1116         <ul><li><code>X</code> : int<div class="sub-desc">click location</div></li><li><code>Y</code> : int<div class="sub-desc">click location</div></li>        </ul>\r
1117         <strong>Returns:</strong>\r
1118         <ul>\r
1119             <li><code>void</code></li>\r
1120         </ul>\r
1121     </div>\r
1122                 </div>\r
1123                         </div>\r
1124         </td>\r
1125         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#startDrag" href="output/Ext.dd.DragDrop.html#startDrag">DragDrop</a></td>\r
1126     </tr>\r
1127         <tr class="method-row inherited alt expandable">\r
1128         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1129         <td class="sig">\r
1130         <a id="Ext.dd.DDTarget-toString"></a>\r
1131             <b>toString</b>() : string            <div class="mdesc">\r
1132                         <div class="short">toString method</div>\r
1133             <div class="long">\r
1134                 toString method    <div class="mdetail-params">\r
1135         <strong>Parameters:</strong>\r
1136         <ul><li>None.</li>        </ul>\r
1137         <strong>Returns:</strong>\r
1138         <ul>\r
1139             <li><code>string</code><div class="sub-desc">string representation of the dd obj</div></li>\r
1140         </ul>\r
1141     </div>\r
1142                 </div>\r
1143                         </div>\r
1144         </td>\r
1145         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#toString" href="output/Ext.dd.DragDrop.html#toString">DragDrop</a></td>\r
1146     </tr>\r
1147         <tr class="method-row inherited expandable">\r
1148         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1149         <td class="sig">\r
1150         <a id="Ext.dd.DDTarget-unlock"></a>\r
1151             <b>unlock</b>() : void            <div class="mdesc">\r
1152                         <div class="short">Unlock this instace</div>\r
1153             <div class="long">\r
1154                 Unlock this instace    <div class="mdetail-params">\r
1155         <strong>Parameters:</strong>\r
1156         <ul><li>None.</li>        </ul>\r
1157         <strong>Returns:</strong>\r
1158         <ul>\r
1159             <li><code>void</code></li>\r
1160         </ul>\r
1161     </div>\r
1162                 </div>\r
1163                         </div>\r
1164         </td>\r
1165         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#unlock" href="output/Ext.dd.DragDrop.html#unlock">DragDrop</a></td>\r
1166     </tr>\r
1167         <tr class="method-row inherited alt expandable">\r
1168         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1169         <td class="sig">\r
1170         <a id="Ext.dd.DDTarget-unreg"></a>\r
1171             <b>unreg</b>() : void            <div class="mdesc">\r
1172                         <div class="short">Remove all drag and drop hooks for this element</div>\r
1173             <div class="long">\r
1174                 Remove all drag and drop hooks for this element    <div class="mdetail-params">\r
1175         <strong>Parameters:</strong>\r
1176         <ul><li>None.</li>        </ul>\r
1177         <strong>Returns:</strong>\r
1178         <ul>\r
1179             <li><code>void</code></li>\r
1180         </ul>\r
1181     </div>\r
1182                 </div>\r
1183                         </div>\r
1184         </td>\r
1185         <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#unreg" href="output/Ext.dd.DragDrop.html#unreg">DragDrop</a></td>\r
1186     </tr>\r
1187             </table>
1188                 <a id="Ext.dd.DDTarget-events"></a>
1189         <h2>Public Events</h2>
1190         <div class="no-members">This class has no public events.</div>
1191         </div>