source: trunk/web/addons/job_monarch/lib/extjs/docs/output/Ext.dd.DDTarget.html @ 619

Last change on this file since 619 was 619, checked in by ramonb, 15 years ago

lib/:

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