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