2 |
aperonnet |
1 |
<div class="body-wrap">
|
|
|
2 |
<div class="top-tools">
|
|
|
3 |
<a class="inner-link" href="#Ext.tree.TreeDragZone-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
|
|
|
4 |
<a class="inner-link" href="#Ext.tree.TreeDragZone-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
|
|
|
5 |
<a class="inner-link" href="#Ext.tree.TreeDragZone-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
|
|
|
6 |
<a class="inner-link" href="#Ext.tree.TreeDragZone-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
|
|
|
7 |
<a class="bookmark" href="../docs/?class=Ext.tree.TreeDragZone"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
|
|
|
8 |
</div>
|
|
|
9 |
<div class="inheritance res-block">
|
|
|
10 |
<pre class="res-block-inner"><a ext:cls="Ext.dd.DragDrop" ext:member="" href="output/Ext.dd.DragDrop.html">DragDrop</a>
|
|
|
11 |
<img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DD" ext:member="" href="output/Ext.dd.DD.html">DD</a>
|
|
|
12 |
<img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DDProxy" ext:member="" href="output/Ext.dd.DDProxy.html">DDProxy</a>
|
|
|
13 |
<img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DragSource" ext:member="" href="output/Ext.dd.DragSource.html">DragSource</a>
|
|
|
14 |
<img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DragZone" ext:member="" href="output/Ext.dd.DragZone.html">DragZone</a>
|
|
|
15 |
<img src="resources/elbow-end.gif"/>TreeDragZone</pre></div>
|
|
|
16 |
<h1>Class Ext.tree.TreeDragZone</h1>
|
|
|
17 |
<table cellspacing="0">
|
|
|
18 |
<tr><td class="label">Package:</td><td class="hd-info">Ext.tree</td></tr>
|
|
|
19 |
<tr><td class="label">Defined In:</td><td class="hd-info"><a href="../source/widgets/tree/TreeDragZone.js" target="_blank">TreeDragZone.js</a></td></tr>
|
|
|
20 |
<tr><td class="label">Class:</td><td class="hd-info">TreeDragZone</td></tr>
|
|
|
21 |
<tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.dd.DragZone" ext:member="" href="output/Ext.dd.DragZone.html">DragZone</a></td></tr>
|
|
|
22 |
</table>
|
|
|
23 |
<div class="description">
|
|
|
24 |
</div>
|
|
|
25 |
|
|
|
26 |
<div class="hr"></div>
|
|
|
27 |
<a id="Ext.tree.TreeDragZone-configs"></a>
|
|
|
28 |
<h2>Config Options</h2>
|
|
|
29 |
<table cellspacing="0" class="member-table">
|
|
|
30 |
<tr>
|
|
|
31 |
<th class="sig-header" colspan="2">Config Options</th>
|
|
|
32 |
<th class="msource-header">Defined By</th>
|
|
|
33 |
</tr>
|
|
|
34 |
<tr class="config-row inherited">
|
|
|
35 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
36 |
<td class="sig">
|
|
|
37 |
<a id="Ext.tree.TreeDragZone-containerScroll"></a>
|
|
|
38 |
<b>containerScroll</b> : Boolean <div class="mdesc">
|
|
|
39 |
True to register this container with the Scrollmanager for auto scrolling during drag operations. </div>
|
|
|
40 |
</td>
|
|
|
41 |
<td class="msource"><a ext:cls="Ext.dd.DragZone" ext:member="#containerScroll" href="output/Ext.dd.DragZone.html#containerScroll">DragZone</a></td>
|
|
|
42 |
</tr>
|
|
|
43 |
<tr class="config-row alt expandable">
|
|
|
44 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
45 |
<td class="sig">
|
|
|
46 |
<a id="Ext.tree.TreeDragZone-ddGroup"></a>
|
|
|
47 |
<b>ddGroup</b> : String <div class="mdesc">
|
|
|
48 |
<div class="short">A named drag drop group to which this object belongs. If a group is specified, then this object will only interact wi...</div>
|
|
|
49 |
<div class="long">
|
|
|
50 |
A named drag drop group to which this object belongs. If a group is specified, then this object will only interact with other drag drop objects in the same group (defaults to 'TreeDD'). </div>
|
|
|
51 |
</div>
|
|
|
52 |
</td>
|
|
|
53 |
<td class="msource">TreeDragZone</td>
|
|
|
54 |
</tr>
|
|
|
55 |
<tr class="config-row inherited">
|
|
|
56 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
57 |
<td class="sig">
|
|
|
58 |
<a id="Ext.tree.TreeDragZone-dropAllowed"></a>
|
|
|
59 |
<b>dropAllowed</b> : String <div class="mdesc">
|
|
|
60 |
The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok"). </div>
|
|
|
61 |
</td>
|
|
|
62 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#dropAllowed" href="output/Ext.dd.DragSource.html#dropAllowed">DragSource</a></td>
|
|
|
63 |
</tr>
|
|
|
64 |
<tr class="config-row inherited alt">
|
|
|
65 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
66 |
<td class="sig">
|
|
|
67 |
<a id="Ext.tree.TreeDragZone-dropNotAllowed"></a>
|
|
|
68 |
<b>dropNotAllowed</b> : String <div class="mdesc">
|
|
|
69 |
The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop"). </div>
|
|
|
70 |
</td>
|
|
|
71 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#dropNotAllowed" href="output/Ext.dd.DragSource.html#dropNotAllowed">DragSource</a></td>
|
|
|
72 |
</tr>
|
|
|
73 |
<tr class="config-row inherited expandable">
|
|
|
74 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
75 |
<td class="sig">
|
|
|
76 |
<a id="Ext.tree.TreeDragZone-hlColor"></a>
|
|
|
77 |
<b>hlColor</b> : String <div class="mdesc">
|
|
|
78 |
<div class="short">The color to use when visually highlighting the drag source in the afterRepair method after a failed drop (defaults t...</div>
|
|
|
79 |
<div class="long">
|
|
|
80 |
The color to use when visually highlighting the drag source in the afterRepair method after a failed drop (defaults to "c3daf9" - light blue) </div>
|
|
|
81 |
</div>
|
|
|
82 |
</td>
|
|
|
83 |
<td class="msource"><a ext:cls="Ext.dd.DragZone" ext:member="#hlColor" href="output/Ext.dd.DragZone.html#hlColor">DragZone</a></td>
|
|
|
84 |
</tr>
|
|
|
85 |
</table>
|
|
|
86 |
<a id="Ext.tree.TreeDragZone-props"></a>
|
|
|
87 |
<h2>Public Properties</h2>
|
|
|
88 |
<table cellspacing="0" class="member-table">
|
|
|
89 |
<tr>
|
|
|
90 |
<th class="sig-header" colspan="2">Property</th>
|
|
|
91 |
<th class="msource-header">Defined By</th>
|
|
|
92 |
</tr>
|
|
|
93 |
<tr class="property-row inherited">
|
|
|
94 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
95 |
<td class="sig">
|
|
|
96 |
<a id="Ext.tree.TreeDragZone-available"></a>
|
|
|
97 |
<b>available</b> : boolean <div class="mdesc">
|
|
|
98 |
The availabe property is false until the linked dom element is accessible. </div>
|
|
|
99 |
</td>
|
|
|
100 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#available" href="output/Ext.dd.DragDrop.html#available">DragDrop</a></td>
|
|
|
101 |
</tr>
|
|
|
102 |
<tr class="property-row inherited alt expandable">
|
|
|
103 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
104 |
<td class="sig">
|
|
|
105 |
<a id="Ext.tree.TreeDragZone-centerFrame"></a>
|
|
|
106 |
<b>centerFrame</b> : boolean <div class="mdesc">
|
|
|
107 |
<div class="short">By default the frame is positioned exactly where the drag element is, so
|
|
|
108 |
we use the cursor offset provided by Ext.dd....</div>
|
|
|
109 |
<div class="long">
|
|
|
110 |
By default the frame is positioned exactly where the drag element is, so
|
|
|
111 |
we use the cursor offset provided by Ext.dd.DD. Another option that works only if
|
|
|
112 |
you do not have constraints on the obj is to have the drag frame centered
|
|
|
113 |
around the cursor. Set centerFrame to true for this effect. </div>
|
|
|
114 |
</div>
|
|
|
115 |
</td>
|
|
|
116 |
<td class="msource"><a ext:cls="Ext.dd.DDProxy" ext:member="#centerFrame" href="output/Ext.dd.DDProxy.html#centerFrame">DDProxy</a></td>
|
|
|
117 |
</tr>
|
|
|
118 |
<tr class="property-row inherited">
|
|
|
119 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
120 |
<td class="sig">
|
|
|
121 |
<a id="Ext.tree.TreeDragZone-config"></a>
|
|
|
122 |
<b>config</b> : object <div class="mdesc">
|
|
|
123 |
Configuration attributes passed into the constructor </div>
|
|
|
124 |
</td>
|
|
|
125 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#config" href="output/Ext.dd.DragDrop.html#config">DragDrop</a></td>
|
|
|
126 |
</tr>
|
|
|
127 |
<tr class="property-row inherited alt expandable">
|
|
|
128 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
129 |
<td class="sig">
|
|
|
130 |
<a id="Ext.tree.TreeDragZone-groups"></a>
|
|
|
131 |
<b>groups</b> : object <div class="mdesc">
|
|
|
132 |
<div class="short">The group defines a logical collection of DragDrop objects that are
|
|
|
133 |
related. Instances only get events when interact...</div>
|
|
|
134 |
<div class="long">
|
|
|
135 |
The group defines a logical collection of DragDrop objects that are
|
|
|
136 |
related. Instances only get events when interacting with other
|
|
|
137 |
DragDrop object in the same group. This lets us define multiple
|
|
|
138 |
groups using a single DragDrop subclass if we want. </div>
|
|
|
139 |
</div>
|
|
|
140 |
</td>
|
|
|
141 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#groups" href="output/Ext.dd.DragDrop.html#groups">DragDrop</a></td>
|
|
|
142 |
</tr>
|
|
|
143 |
<tr class="property-row inherited expandable">
|
|
|
144 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
145 |
<td class="sig">
|
|
|
146 |
<a id="Ext.tree.TreeDragZone-hasOuterHandles"></a>
|
|
|
147 |
<b>hasOuterHandles</b> : boolean <div class="mdesc">
|
|
|
148 |
<div class="short">By default, drags can only be initiated if the mousedown occurs in the
|
|
|
149 |
region the linked element is. This is done in...</div>
|
|
|
150 |
<div class="long">
|
|
|
151 |
By default, drags can only be initiated if the mousedown occurs in the
|
|
|
152 |
region the linked element is. This is done in part to work around a
|
|
|
153 |
bug in some browsers that mis-report the mousedown if the previous
|
|
|
154 |
mouseup happened outside of the window. This property is set to true
|
|
|
155 |
if outer handles are defined. </div>
|
|
|
156 |
</div>
|
|
|
157 |
</td>
|
|
|
158 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#hasOuterHandles" href="output/Ext.dd.DragDrop.html#hasOuterHandles">DragDrop</a></td>
|
|
|
159 |
</tr>
|
|
|
160 |
<tr class="property-row inherited alt expandable">
|
|
|
161 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
162 |
<td class="sig">
|
|
|
163 |
<a id="Ext.tree.TreeDragZone-id"></a>
|
|
|
164 |
<b>id</b> : String <div class="mdesc">
|
|
|
165 |
<div class="short">The id of the element associated with this object. This is what we
|
|
|
166 |
refer to as the "linked element" because the size...</div>
|
|
|
167 |
<div class="long">
|
|
|
168 |
The id of the element associated with this object. This is what we
|
|
|
169 |
refer to as the "linked element" because the size and position of
|
|
|
170 |
this element is used to determine when the drag and drop objects have
|
|
|
171 |
interacted. </div>
|
|
|
172 |
</div>
|
|
|
173 |
</td>
|
|
|
174 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#id" href="output/Ext.dd.DragDrop.html#id">DragDrop</a></td>
|
|
|
175 |
</tr>
|
|
|
176 |
<tr class="property-row inherited">
|
|
|
177 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
178 |
<td class="sig">
|
|
|
179 |
<a id="Ext.tree.TreeDragZone-invalidHandleClasses"></a>
|
|
|
180 |
<b>invalidHandleClasses</b> : string[] <div class="mdesc">
|
|
|
181 |
An indexted array of css class names for elements that will be ignored
|
|
|
182 |
if clicked. </div>
|
|
|
183 |
</td>
|
|
|
184 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleClasses" href="output/Ext.dd.DragDrop.html#invalidHandleClasses">DragDrop</a></td>
|
|
|
185 |
</tr>
|
|
|
186 |
<tr class="property-row inherited alt">
|
|
|
187 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
188 |
<td class="sig">
|
|
|
189 |
<a id="Ext.tree.TreeDragZone-invalidHandleIds"></a>
|
|
|
190 |
<b>invalidHandleIds</b> : string: <div class="mdesc">
|
|
|
191 |
An associative array of ids for elements that will be ignored if clicked </div>
|
|
|
192 |
</td>
|
|
|
193 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleIds" href="output/Ext.dd.DragDrop.html#invalidHandleIds">DragDrop</a></td>
|
|
|
194 |
</tr>
|
|
|
195 |
<tr class="property-row inherited">
|
|
|
196 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
197 |
<td class="sig">
|
|
|
198 |
<a id="Ext.tree.TreeDragZone-invalidHandleTypes"></a>
|
|
|
199 |
<b>invalidHandleTypes</b> : string: <div class="mdesc">
|
|
|
200 |
An associative array of HTML tags that will be ignored if clicked. </div>
|
|
|
201 |
</td>
|
|
|
202 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleTypes" href="output/Ext.dd.DragDrop.html#invalidHandleTypes">DragDrop</a></td>
|
|
|
203 |
</tr>
|
|
|
204 |
<tr class="property-row inherited alt">
|
|
|
205 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
206 |
<td class="sig">
|
|
|
207 |
<a id="Ext.tree.TreeDragZone-isTarget"></a>
|
|
|
208 |
<b>isTarget</b> : boolean <div class="mdesc">
|
|
|
209 |
By default, all insances can be a drop target. This can be disabled by
|
|
|
210 |
setting isTarget to false. </div>
|
|
|
211 |
</td>
|
|
|
212 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#isTarget" href="output/Ext.dd.DragDrop.html#isTarget">DragDrop</a></td>
|
|
|
213 |
</tr>
|
|
|
214 |
<tr class="property-row inherited expandable">
|
|
|
215 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
216 |
<td class="sig">
|
|
|
217 |
<a id="Ext.tree.TreeDragZone-maintainOffset"></a>
|
|
|
218 |
<b>maintainOffset</b> : boolean <div class="mdesc">
|
|
|
219 |
<div class="short">Maintain offsets when we resetconstraints. Set to true when you want
|
|
|
220 |
the position of the element relative to its par...</div>
|
|
|
221 |
<div class="long">
|
|
|
222 |
Maintain offsets when we resetconstraints. Set to true when you want
|
|
|
223 |
the position of the element relative to its parent to stay the same
|
|
|
224 |
when the page changes </div>
|
|
|
225 |
</div>
|
|
|
226 |
</td>
|
|
|
227 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#maintainOffset" href="output/Ext.dd.DragDrop.html#maintainOffset">DragDrop</a></td>
|
|
|
228 |
</tr>
|
|
|
229 |
<tr class="property-row inherited alt expandable">
|
|
|
230 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
231 |
<td class="sig">
|
|
|
232 |
<a id="Ext.tree.TreeDragZone-onStartDrag"></a>
|
|
|
233 |
<b>onStartDrag</b> : Object <div class="mdesc">
|
|
|
234 |
<div class="short">An empty function by default, but provided so that you can perform a custom action once the initial
|
|
|
235 |
drag event has be...</div>
|
|
|
236 |
<div class="long">
|
|
|
237 |
An empty function by default, but provided so that you can perform a custom action once the initial
|
|
|
238 |
drag event has begun. The drag cannot be canceled from this function. </div>
|
|
|
239 |
</div>
|
|
|
240 |
</td>
|
|
|
241 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#onStartDrag" href="output/Ext.dd.DragSource.html#onStartDrag">DragSource</a></td>
|
|
|
242 |
</tr>
|
|
|
243 |
<tr class="property-row inherited">
|
|
|
244 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
245 |
<td class="sig">
|
|
|
246 |
<a id="Ext.tree.TreeDragZone-padding"></a>
|
|
|
247 |
<b>padding</b> : int[] <div class="mdesc">
|
|
|
248 |
The padding configured for this drag and drop object for calculating
|
|
|
249 |
the drop zone intersection with this object. </div>
|
|
|
250 |
</td>
|
|
|
251 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#padding" href="output/Ext.dd.DragDrop.html#padding">DragDrop</a></td>
|
|
|
252 |
</tr>
|
|
|
253 |
<tr class="property-row inherited alt expandable">
|
|
|
254 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
255 |
<td class="sig">
|
|
|
256 |
<a id="Ext.tree.TreeDragZone-primaryButtonOnly"></a>
|
|
|
257 |
<b>primaryButtonOnly</b> : boolean <div class="mdesc">
|
|
|
258 |
<div class="short">By default the drag and drop instance will only respond to the primary
|
|
|
259 |
button click (left button for a right-handed m...</div>
|
|
|
260 |
<div class="long">
|
|
|
261 |
By default the drag and drop instance will only respond to the primary
|
|
|
262 |
button click (left button for a right-handed mouse). Set to true to
|
|
|
263 |
allow drag and drop to start with any mouse click that is propogated
|
|
|
264 |
by the browser </div>
|
|
|
265 |
</div>
|
|
|
266 |
</td>
|
|
|
267 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#primaryButtonOnly" href="output/Ext.dd.DragDrop.html#primaryButtonOnly">DragDrop</a></td>
|
|
|
268 |
</tr>
|
|
|
269 |
<tr class="property-row inherited expandable">
|
|
|
270 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
271 |
<td class="sig">
|
|
|
272 |
<a id="Ext.tree.TreeDragZone-resizeFrame"></a>
|
|
|
273 |
<b>resizeFrame</b> : boolean <div class="mdesc">
|
|
|
274 |
<div class="short">By default we resize the drag frame to be the same size as the element
|
|
|
275 |
we want to drag (this is to get the frame effe...</div>
|
|
|
276 |
<div class="long">
|
|
|
277 |
By default we resize the drag frame to be the same size as the element
|
|
|
278 |
we want to drag (this is to get the frame effect). We can turn it off
|
|
|
279 |
if we want a different behavior. </div>
|
|
|
280 |
</div>
|
|
|
281 |
</td>
|
|
|
282 |
<td class="msource"><a ext:cls="Ext.dd.DDProxy" ext:member="#resizeFrame" href="output/Ext.dd.DDProxy.html#resizeFrame">DDProxy</a></td>
|
|
|
283 |
</tr>
|
|
|
284 |
<tr class="property-row inherited alt expandable">
|
|
|
285 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
286 |
<td class="sig">
|
|
|
287 |
<a id="Ext.tree.TreeDragZone-scroll"></a>
|
|
|
288 |
<b>scroll</b> : boolean <div class="mdesc">
|
|
|
289 |
<div class="short">When set to true, the utility automatically tries to scroll the browser
|
|
|
290 |
window wehn a drag and drop element is dragge...</div>
|
|
|
291 |
<div class="long">
|
|
|
292 |
When set to true, the utility automatically tries to scroll the browser
|
|
|
293 |
window wehn a drag and drop element is dragged near the viewport boundary.
|
|
|
294 |
Defaults to true. </div>
|
|
|
295 |
</div>
|
|
|
296 |
</td>
|
|
|
297 |
<td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#scroll" href="output/Ext.dd.DD.html#scroll">DD</a></td>
|
|
|
298 |
</tr>
|
|
|
299 |
<tr class="property-row">
|
|
|
300 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
301 |
<td class="sig">
|
|
|
302 |
<a id="Ext.tree.TreeDragZone-tree"></a>
|
|
|
303 |
<b>tree</b> : Ext.tree.TreePanel <div class="mdesc">
|
|
|
304 |
The TreePanel for this drag zone </div>
|
|
|
305 |
</td>
|
|
|
306 |
<td class="msource">TreeDragZone</td>
|
|
|
307 |
</tr>
|
|
|
308 |
<tr class="property-row inherited alt expandable">
|
|
|
309 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
310 |
<td class="sig">
|
|
|
311 |
<a id="Ext.tree.TreeDragZone-xTicks"></a>
|
|
|
312 |
<b>xTicks</b> : int[] <div class="mdesc">
|
|
|
313 |
<div class="short">Array of pixel locations the element will snap to if we specified a
|
|
|
314 |
horizontal graduation/interval. This array is ge...</div>
|
|
|
315 |
<div class="long">
|
|
|
316 |
Array of pixel locations the element will snap to if we specified a
|
|
|
317 |
horizontal graduation/interval. This array is generated automatically
|
|
|
318 |
when you define a tick interval. </div>
|
|
|
319 |
</div>
|
|
|
320 |
</td>
|
|
|
321 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#xTicks" href="output/Ext.dd.DragDrop.html#xTicks">DragDrop</a></td>
|
|
|
322 |
</tr>
|
|
|
323 |
<tr class="property-row inherited expandable">
|
|
|
324 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
325 |
<td class="sig">
|
|
|
326 |
<a id="Ext.tree.TreeDragZone-yTicks"></a>
|
|
|
327 |
<b>yTicks</b> : int[] <div class="mdesc">
|
|
|
328 |
<div class="short">Array of pixel locations the element will snap to if we specified a
|
|
|
329 |
vertical graduation/interval. This array is gene...</div>
|
|
|
330 |
<div class="long">
|
|
|
331 |
Array of pixel locations the element will snap to if we specified a
|
|
|
332 |
vertical graduation/interval. This array is generated automatically
|
|
|
333 |
when you define a tick interval. </div>
|
|
|
334 |
</div>
|
|
|
335 |
</td>
|
|
|
336 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#yTicks" href="output/Ext.dd.DragDrop.html#yTicks">DragDrop</a></td>
|
|
|
337 |
</tr>
|
|
|
338 |
</table>
|
|
|
339 |
<a id="Ext.tree.TreeDragZone-methods"></a>
|
|
|
340 |
<h2>Public Methods</h2>
|
|
|
341 |
<table cellspacing="0" class="member-table">
|
|
|
342 |
<tr>
|
|
|
343 |
<th class="sig-header" colspan="2">Method</th>
|
|
|
344 |
<th class="msource-header">Defined By</th>
|
|
|
345 |
</tr>
|
|
|
346 |
<tr class="method-row expandable">
|
|
|
347 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
348 |
<td class="sig">
|
|
|
349 |
<a id="Ext.tree.TreeDragZone-TreeDragZone"></a>
|
|
|
350 |
<b>TreeDragZone</b>( <code>String/HTMLElement/Element tree</code>, <code>Object config</code> ) <div class="mdesc">
|
|
|
351 |
<div class="short"></div>
|
|
|
352 |
<div class="long">
|
|
|
353 |
<div class="mdetail-params">
|
|
|
354 |
<strong>Parameters:</strong>
|
|
|
355 |
<ul><li><code>tree</code> : String/HTMLElement/Element<div class="sub-desc">The <a ext:cls="Ext.tree.TreePanel" href="output/Ext.tree.TreePanel.html">Ext.tree.TreePanel</a> for which to enable dragging</div></li><li><code>config</code> : Object<div class="sub-desc"></div></li> </ul>
|
|
|
356 |
<strong>Returns:</strong>
|
|
|
357 |
<ul>
|
|
|
358 |
<li><code></code></li>
|
|
|
359 |
</ul>
|
|
|
360 |
</div>
|
|
|
361 |
</div>
|
|
|
362 |
</div>
|
|
|
363 |
</td>
|
|
|
364 |
<td class="msource">TreeDragZone</td>
|
|
|
365 |
</tr>
|
|
|
366 |
<tr class="method-row inherited alt expandable">
|
|
|
367 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
368 |
<td class="sig">
|
|
|
369 |
<a id="Ext.tree.TreeDragZone-addInvalidHandleClass"></a>
|
|
|
370 |
<b>addInvalidHandleClass</b>( <code>string cssClass</code> ) : void <div class="mdesc">
|
|
|
371 |
<div class="short">Lets you specify a css class of elements that will not initiate a drag</div>
|
|
|
372 |
<div class="long">
|
|
|
373 |
Lets you specify a css class of elements that will not initiate a drag <div class="mdetail-params">
|
|
|
374 |
<strong>Parameters:</strong>
|
|
|
375 |
<ul><li><code>cssClass</code> : string<div class="sub-desc">the class of the elements you wish to ignore</div></li> </ul>
|
|
|
376 |
<strong>Returns:</strong>
|
|
|
377 |
<ul>
|
|
|
378 |
<li><code>void</code></li>
|
|
|
379 |
</ul>
|
|
|
380 |
</div>
|
|
|
381 |
</div>
|
|
|
382 |
</div>
|
|
|
383 |
</td>
|
|
|
384 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleClass" href="output/Ext.dd.DragDrop.html#addInvalidHandleClass">DragDrop</a></td>
|
|
|
385 |
</tr>
|
|
|
386 |
<tr class="method-row inherited expandable">
|
|
|
387 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
388 |
<td class="sig">
|
|
|
389 |
<a id="Ext.tree.TreeDragZone-addInvalidHandleId"></a>
|
|
|
390 |
<b>addInvalidHandleId</b>( <code>string id</code> ) : void <div class="mdesc">
|
|
|
391 |
<div class="short">Lets you to specify an element id for a child of a drag handle
|
|
|
392 |
that should not initiate a drag</div>
|
|
|
393 |
<div class="long">
|
|
|
394 |
Lets you to specify an element id for a child of a drag handle
|
|
|
395 |
that should not initiate a drag <div class="mdetail-params">
|
|
|
396 |
<strong>Parameters:</strong>
|
|
|
397 |
<ul><li><code>id</code> : string<div class="sub-desc">the element id of the element you wish to ignore</div></li> </ul>
|
|
|
398 |
<strong>Returns:</strong>
|
|
|
399 |
<ul>
|
|
|
400 |
<li><code>void</code></li>
|
|
|
401 |
</ul>
|
|
|
402 |
</div>
|
|
|
403 |
</div>
|
|
|
404 |
</div>
|
|
|
405 |
</td>
|
|
|
406 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleId" href="output/Ext.dd.DragDrop.html#addInvalidHandleId">DragDrop</a></td>
|
|
|
407 |
</tr>
|
|
|
408 |
<tr class="method-row inherited alt expandable">
|
|
|
409 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
410 |
<td class="sig">
|
|
|
411 |
<a id="Ext.tree.TreeDragZone-addInvalidHandleType"></a>
|
|
|
412 |
<b>addInvalidHandleType</b>( <code>string tagName</code> ) : void <div class="mdesc">
|
|
|
413 |
<div class="short">Allows you to specify a tag name that should not start a drag operation
|
|
|
414 |
when clicked. This is designed to facilitate...</div>
|
|
|
415 |
<div class="long">
|
|
|
416 |
Allows you to specify a tag name that should not start a drag operation
|
|
|
417 |
when clicked. This is designed to facilitate embedding links within a
|
|
|
418 |
drag handle that do something other than start the drag. <div class="mdetail-params">
|
|
|
419 |
<strong>Parameters:</strong>
|
|
|
420 |
<ul><li><code>tagName</code> : string<div class="sub-desc">the type of element to exclude</div></li> </ul>
|
|
|
421 |
<strong>Returns:</strong>
|
|
|
422 |
<ul>
|
|
|
423 |
<li><code>void</code></li>
|
|
|
424 |
</ul>
|
|
|
425 |
</div>
|
|
|
426 |
</div>
|
|
|
427 |
</div>
|
|
|
428 |
</td>
|
|
|
429 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleType" href="output/Ext.dd.DragDrop.html#addInvalidHandleType">DragDrop</a></td>
|
|
|
430 |
</tr>
|
|
|
431 |
<tr class="method-row inherited expandable">
|
|
|
432 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
433 |
<td class="sig">
|
|
|
434 |
<a id="Ext.tree.TreeDragZone-addToGroup"></a>
|
|
|
435 |
<b>addToGroup</b>( <code>sGroup {string}</code> ) : void <div class="mdesc">
|
|
|
436 |
<div class="short">Add this instance to a group of related drag/drop objects. All
|
|
|
437 |
instances belong to at least one group, and can belon...</div>
|
|
|
438 |
<div class="long">
|
|
|
439 |
Add this instance to a group of related drag/drop objects. All
|
|
|
440 |
instances belong to at least one group, and can belong to as many
|
|
|
441 |
groups as needed. <div class="mdetail-params">
|
|
|
442 |
<strong>Parameters:</strong>
|
|
|
443 |
<ul><li><code>{string}</code> : sGroup<div class="sub-desc">the name of the group</div></li> </ul>
|
|
|
444 |
<strong>Returns:</strong>
|
|
|
445 |
<ul>
|
|
|
446 |
<li><code>void</code></li>
|
|
|
447 |
</ul>
|
|
|
448 |
</div>
|
|
|
449 |
</div>
|
|
|
450 |
</div>
|
|
|
451 |
</td>
|
|
|
452 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addToGroup" href="output/Ext.dd.DragDrop.html#addToGroup">DragDrop</a></td>
|
|
|
453 |
</tr>
|
|
|
454 |
<tr class="method-row inherited alt expandable">
|
|
|
455 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
456 |
<td class="sig">
|
|
|
457 |
<a id="Ext.tree.TreeDragZone-afterDragDrop"></a>
|
|
|
458 |
<b>afterDragDrop</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : void <div class="mdesc">
|
|
|
459 |
<div class="short">An empty function by default, but provided so that you can perform a custom action
|
|
|
460 |
after a valid drag drop has occurr...</div>
|
|
|
461 |
<div class="long">
|
|
|
462 |
An empty function by default, but provided so that you can perform a custom action
|
|
|
463 |
after a valid drag drop has occurred by providing an implementation. <div class="mdetail-params">
|
|
|
464 |
<strong>Parameters:</strong>
|
|
|
465 |
<ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dropped element</div></li> </ul>
|
|
|
466 |
<strong>Returns:</strong>
|
|
|
467 |
<ul>
|
|
|
468 |
<li><code>void</code></li>
|
|
|
469 |
</ul>
|
|
|
470 |
</div>
|
|
|
471 |
</div>
|
|
|
472 |
</div>
|
|
|
473 |
</td>
|
|
|
474 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#afterDragDrop" href="output/Ext.dd.DragSource.html#afterDragDrop">DragSource</a></td>
|
|
|
475 |
</tr>
|
|
|
476 |
<tr class="method-row inherited expandable">
|
|
|
477 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
478 |
<td class="sig">
|
|
|
479 |
<a id="Ext.tree.TreeDragZone-afterDragEnter"></a>
|
|
|
480 |
<b>afterDragEnter</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : void <div class="mdesc">
|
|
|
481 |
<div class="short">An empty function by default, but provided so that you can perform a custom action
|
|
|
482 |
when the dragged item enters the d...</div>
|
|
|
483 |
<div class="long">
|
|
|
484 |
An empty function by default, but provided so that you can perform a custom action
|
|
|
485 |
when the dragged item enters the drop target by providing an implementation. <div class="mdetail-params">
|
|
|
486 |
<strong>Parameters:</strong>
|
|
|
487 |
<ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
|
|
|
488 |
<strong>Returns:</strong>
|
|
|
489 |
<ul>
|
|
|
490 |
<li><code>void</code></li>
|
|
|
491 |
</ul>
|
|
|
492 |
</div>
|
|
|
493 |
</div>
|
|
|
494 |
</div>
|
|
|
495 |
</td>
|
|
|
496 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#afterDragEnter" href="output/Ext.dd.DragSource.html#afterDragEnter">DragSource</a></td>
|
|
|
497 |
</tr>
|
|
|
498 |
<tr class="method-row inherited alt expandable">
|
|
|
499 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
500 |
<td class="sig">
|
|
|
501 |
<a id="Ext.tree.TreeDragZone-afterDragOut"></a>
|
|
|
502 |
<b>afterDragOut</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : void <div class="mdesc">
|
|
|
503 |
<div class="short">An empty function by default, but provided so that you can perform a custom action
|
|
|
504 |
after the dragged item is dragged ...</div>
|
|
|
505 |
<div class="long">
|
|
|
506 |
An empty function by default, but provided so that you can perform a custom action
|
|
|
507 |
after the dragged item is dragged out of the target without dropping. <div class="mdetail-params">
|
|
|
508 |
<strong>Parameters:</strong>
|
|
|
509 |
<ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
|
|
|
510 |
<strong>Returns:</strong>
|
|
|
511 |
<ul>
|
|
|
512 |
<li><code>void</code></li>
|
|
|
513 |
</ul>
|
|
|
514 |
</div>
|
|
|
515 |
</div>
|
|
|
516 |
</div>
|
|
|
517 |
</td>
|
|
|
518 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#afterDragOut" href="output/Ext.dd.DragSource.html#afterDragOut">DragSource</a></td>
|
|
|
519 |
</tr>
|
|
|
520 |
<tr class="method-row inherited expandable">
|
|
|
521 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
522 |
<td class="sig">
|
|
|
523 |
<a id="Ext.tree.TreeDragZone-afterDragOver"></a>
|
|
|
524 |
<b>afterDragOver</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : void <div class="mdesc">
|
|
|
525 |
<div class="short">An empty function by default, but provided so that you can perform a custom action
|
|
|
526 |
while the dragged item is over the...</div>
|
|
|
527 |
<div class="long">
|
|
|
528 |
An empty function by default, but provided so that you can perform a custom action
|
|
|
529 |
while the dragged item is over the drop target by providing an implementation. <div class="mdetail-params">
|
|
|
530 |
<strong>Parameters:</strong>
|
|
|
531 |
<ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
|
|
|
532 |
<strong>Returns:</strong>
|
|
|
533 |
<ul>
|
|
|
534 |
<li><code>void</code></li>
|
|
|
535 |
</ul>
|
|
|
536 |
</div>
|
|
|
537 |
</div>
|
|
|
538 |
</div>
|
|
|
539 |
</td>
|
|
|
540 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#afterDragOver" href="output/Ext.dd.DragSource.html#afterDragOver">DragSource</a></td>
|
|
|
541 |
</tr>
|
|
|
542 |
<tr class="method-row inherited alt expandable">
|
|
|
543 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
544 |
<td class="sig">
|
|
|
545 |
<a id="Ext.tree.TreeDragZone-afterInvalidDrop"></a>
|
|
|
546 |
<b>afterInvalidDrop</b>( <code>Event e</code>, <code>String id</code> ) : void <div class="mdesc">
|
|
|
547 |
<div class="short">An empty function by default, but provided so that you can perform a custom action
|
|
|
548 |
after an invalid drop has occurred...</div>
|
|
|
549 |
<div class="long">
|
|
|
550 |
An empty function by default, but provided so that you can perform a custom action
|
|
|
551 |
after an invalid drop has occurred by providing an implementation. <div class="mdetail-params">
|
|
|
552 |
<strong>Parameters:</strong>
|
|
|
553 |
<ul><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dropped element</div></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.DragSource" ext:member="#afterInvalidDrop" href="output/Ext.dd.DragSource.html#afterInvalidDrop">DragSource</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.tree.TreeDragZone-afterRepair"></a>
|
|
|
568 |
<b>afterRepair</b>() : void <div class="mdesc">
|
|
|
569 |
<div class="short">Called after a repair of an invalid drop. By default, highlights this.dragData.ddel</div>
|
|
|
570 |
<div class="long">
|
|
|
571 |
Called after a repair of an invalid drop. By default, highlights this.dragData.ddel <div class="mdetail-params">
|
|
|
572 |
<strong>Parameters:</strong>
|
|
|
573 |
<ul><li>None.</li> </ul>
|
|
|
574 |
<strong>Returns:</strong>
|
|
|
575 |
<ul>
|
|
|
576 |
<li><code>void</code></li>
|
|
|
577 |
</ul>
|
|
|
578 |
</div>
|
|
|
579 |
</div>
|
|
|
580 |
</div>
|
|
|
581 |
</td>
|
|
|
582 |
<td class="msource"><a ext:cls="Ext.dd.DragZone" ext:member="#afterRepair" href="output/Ext.dd.DragZone.html#afterRepair">DragZone</a></td>
|
|
|
583 |
</tr>
|
|
|
584 |
<tr class="method-row inherited alt expandable">
|
|
|
585 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
586 |
<td class="sig">
|
|
|
587 |
<a id="Ext.tree.TreeDragZone-alignElWithMouse"></a>
|
|
|
588 |
<b>alignElWithMouse</b>( <code>HTMLElement el</code>, <code>int iPageX</code>, <code>int iPageY</code> ) : void <div class="mdesc">
|
|
|
589 |
<div class="short">Sets the element to the location of the mousedown or click event,
|
|
|
590 |
maintaining the cursor location relative to the loc...</div>
|
|
|
591 |
<div class="long">
|
|
|
592 |
Sets the element to the location of the mousedown or click event,
|
|
|
593 |
maintaining the cursor location relative to the location on the element
|
|
|
594 |
that was clicked. Override this if you want to place the element in a
|
|
|
595 |
location other than where the cursor is. <div class="mdetail-params">
|
|
|
596 |
<strong>Parameters:</strong>
|
|
|
597 |
<ul><li><code>el</code> : HTMLElement<div class="sub-desc">the element to move</div></li><li><code>iPageX</code> : int<div class="sub-desc">the X coordinate of the mousedown or drag event</div></li><li><code>iPageY</code> : int<div class="sub-desc">the Y coordinate of the mousedown or drag 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.DD" ext:member="#alignElWithMouse" href="output/Ext.dd.DD.html#alignElWithMouse">DD</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.tree.TreeDragZone-applyConfig"></a>
|
|
|
612 |
<b>applyConfig</b>() : void <div class="mdesc">
|
|
|
613 |
<div class="short">Applies the configuration parameters that were passed into the constructor.
|
|
|
614 |
This is supposed to happen at each level ...</div>
|
|
|
615 |
<div class="long">
|
|
|
616 |
Applies the configuration parameters that were passed into the constructor.
|
|
|
617 |
This is supposed to happen at each level through the inheritance chain. So
|
|
|
618 |
a DDProxy implentation will execute apply config on DDProxy, DD, and
|
|
|
619 |
DragDrop in order to get all of the parameters that are available in
|
|
|
620 |
each object. <div class="mdetail-params">
|
|
|
621 |
<strong>Parameters:</strong>
|
|
|
622 |
<ul><li>None.</li> </ul>
|
|
|
623 |
<strong>Returns:</strong>
|
|
|
624 |
<ul>
|
|
|
625 |
<li><code>void</code></li>
|
|
|
626 |
</ul>
|
|
|
627 |
</div>
|
|
|
628 |
</div>
|
|
|
629 |
</div>
|
|
|
630 |
</td>
|
|
|
631 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#applyConfig" href="output/Ext.dd.DragDrop.html#applyConfig">DragDrop</a></td>
|
|
|
632 |
</tr>
|
|
|
633 |
<tr class="method-row inherited alt expandable">
|
|
|
634 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
635 |
<td class="sig">
|
|
|
636 |
<a id="Ext.tree.TreeDragZone-autoOffset"></a>
|
|
|
637 |
<b>autoOffset</b>( <code>int iPageX</code>, <code>int iPageY</code> ) : void <div class="mdesc">
|
|
|
638 |
<div class="short">Sets the pointer offset to the distance between the linked element's top
|
|
|
639 |
left corner and the location the element was...</div>
|
|
|
640 |
<div class="long">
|
|
|
641 |
Sets the pointer offset to the distance between the linked element's top
|
|
|
642 |
left corner and the location the element was clicked <div class="mdetail-params">
|
|
|
643 |
<strong>Parameters:</strong>
|
|
|
644 |
<ul><li><code>iPageX</code> : int<div class="sub-desc">the X coordinate of the click</div></li><li><code>iPageY</code> : int<div class="sub-desc">the Y coordinate of the click</div></li> </ul>
|
|
|
645 |
<strong>Returns:</strong>
|
|
|
646 |
<ul>
|
|
|
647 |
<li><code>void</code></li>
|
|
|
648 |
</ul>
|
|
|
649 |
</div>
|
|
|
650 |
</div>
|
|
|
651 |
</div>
|
|
|
652 |
</td>
|
|
|
653 |
<td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#autoOffset" href="output/Ext.dd.DD.html#autoOffset">DD</a></td>
|
|
|
654 |
</tr>
|
|
|
655 |
<tr class="method-row inherited expandable">
|
|
|
656 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
657 |
<td class="sig">
|
|
|
658 |
<a id="Ext.tree.TreeDragZone-beforeDragDrop"></a>
|
|
|
659 |
<b>beforeDragDrop</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : Boolean <div class="mdesc">
|
|
|
660 |
<div class="short">An empty function by default, but provided so that you can perform a custom action before the dragged
|
|
|
661 |
item is dropped...</div>
|
|
|
662 |
<div class="long">
|
|
|
663 |
An empty function by default, but provided so that you can perform a custom action before the dragged
|
|
|
664 |
item is dropped onto the target and optionally cancel the onDragDrop. <div class="mdetail-params">
|
|
|
665 |
<strong>Parameters:</strong>
|
|
|
666 |
<ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
|
|
|
667 |
<strong>Returns:</strong>
|
|
|
668 |
<ul>
|
|
|
669 |
<li><code>Boolean</code><div class="sub-desc">isValid True if the drag drop event is valid, else false to cancel</div></li>
|
|
|
670 |
</ul>
|
|
|
671 |
</div>
|
|
|
672 |
</div>
|
|
|
673 |
</div>
|
|
|
674 |
</td>
|
|
|
675 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeDragDrop" href="output/Ext.dd.DragSource.html#beforeDragDrop">DragSource</a></td>
|
|
|
676 |
</tr>
|
|
|
677 |
<tr class="method-row inherited alt expandable">
|
|
|
678 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
679 |
<td class="sig">
|
|
|
680 |
<a id="Ext.tree.TreeDragZone-beforeDragEnter"></a>
|
|
|
681 |
<b>beforeDragEnter</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : Boolean <div class="mdesc">
|
|
|
682 |
<div class="short">An empty function by default, but provided so that you can perform a custom action
|
|
|
683 |
before the dragged item enters the...</div>
|
|
|
684 |
<div class="long">
|
|
|
685 |
An empty function by default, but provided so that you can perform a custom action
|
|
|
686 |
before the dragged item enters the drop target and optionally cancel the onDragEnter. <div class="mdetail-params">
|
|
|
687 |
<strong>Parameters:</strong>
|
|
|
688 |
<ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
|
|
|
689 |
<strong>Returns:</strong>
|
|
|
690 |
<ul>
|
|
|
691 |
<li><code>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li>
|
|
|
692 |
</ul>
|
|
|
693 |
</div>
|
|
|
694 |
</div>
|
|
|
695 |
</div>
|
|
|
696 |
</td>
|
|
|
697 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeDragEnter" href="output/Ext.dd.DragSource.html#beforeDragEnter">DragSource</a></td>
|
|
|
698 |
</tr>
|
|
|
699 |
<tr class="method-row inherited expandable">
|
|
|
700 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
701 |
<td class="sig">
|
|
|
702 |
<a id="Ext.tree.TreeDragZone-beforeDragOut"></a>
|
|
|
703 |
<b>beforeDragOut</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : Boolean <div class="mdesc">
|
|
|
704 |
<div class="short">An empty function by default, but provided so that you can perform a custom action before the dragged
|
|
|
705 |
item is dragged...</div>
|
|
|
706 |
<div class="long">
|
|
|
707 |
An empty function by default, but provided so that you can perform a custom action before the dragged
|
|
|
708 |
item is dragged out of the target without dropping, and optionally cancel the onDragOut. <div class="mdetail-params">
|
|
|
709 |
<strong>Parameters:</strong>
|
|
|
710 |
<ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
|
|
|
711 |
<strong>Returns:</strong>
|
|
|
712 |
<ul>
|
|
|
713 |
<li><code>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li>
|
|
|
714 |
</ul>
|
|
|
715 |
</div>
|
|
|
716 |
</div>
|
|
|
717 |
</div>
|
|
|
718 |
</td>
|
|
|
719 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeDragOut" href="output/Ext.dd.DragSource.html#beforeDragOut">DragSource</a></td>
|
|
|
720 |
</tr>
|
|
|
721 |
<tr class="method-row inherited alt expandable">
|
|
|
722 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
723 |
<td class="sig">
|
|
|
724 |
<a id="Ext.tree.TreeDragZone-beforeDragOver"></a>
|
|
|
725 |
<b>beforeDragOver</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : Boolean <div class="mdesc">
|
|
|
726 |
<div class="short">An empty function by default, but provided so that you can perform a custom action
|
|
|
727 |
while the dragged item is over the...</div>
|
|
|
728 |
<div class="long">
|
|
|
729 |
An empty function by default, but provided so that you can perform a custom action
|
|
|
730 |
while the dragged item is over the drop target and optionally cancel the onDragOver. <div class="mdetail-params">
|
|
|
731 |
<strong>Parameters:</strong>
|
|
|
732 |
<ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
|
|
|
733 |
<strong>Returns:</strong>
|
|
|
734 |
<ul>
|
|
|
735 |
<li><code>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li>
|
|
|
736 |
</ul>
|
|
|
737 |
</div>
|
|
|
738 |
</div>
|
|
|
739 |
</div>
|
|
|
740 |
</td>
|
|
|
741 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeDragOver" href="output/Ext.dd.DragSource.html#beforeDragOver">DragSource</a></td>
|
|
|
742 |
</tr>
|
|
|
743 |
<tr class="method-row inherited expandable">
|
|
|
744 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
745 |
<td class="sig">
|
|
|
746 |
<a id="Ext.tree.TreeDragZone-beforeInvalidDrop"></a>
|
|
|
747 |
<b>beforeInvalidDrop</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : Boolean <div class="mdesc">
|
|
|
748 |
<div class="short">An empty function by default, but provided so that you can perform a custom action after an invalid
|
|
|
749 |
drop has occurred.</div>
|
|
|
750 |
<div class="long">
|
|
|
751 |
An empty function by default, but provided so that you can perform a custom action after an invalid
|
|
|
752 |
drop has occurred. <div class="mdetail-params">
|
|
|
753 |
<strong>Parameters:</strong>
|
|
|
754 |
<ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
|
|
|
755 |
<strong>Returns:</strong>
|
|
|
756 |
<ul>
|
|
|
757 |
<li><code>Boolean</code><div class="sub-desc">isValid True if the invalid drop should proceed, else false to cancel</div></li>
|
|
|
758 |
</ul>
|
|
|
759 |
</div>
|
|
|
760 |
</div>
|
|
|
761 |
</div>
|
|
|
762 |
</td>
|
|
|
763 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeInvalidDrop" href="output/Ext.dd.DragSource.html#beforeInvalidDrop">DragSource</a></td>
|
|
|
764 |
</tr>
|
|
|
765 |
<tr class="method-row inherited alt expandable">
|
|
|
766 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
767 |
<td class="sig">
|
|
|
768 |
<a id="Ext.tree.TreeDragZone-cachePosition"></a>
|
|
|
769 |
<b>cachePosition</b>( <code>iPageX the</code>, <code>iPageY the</code> ) : void <div class="mdesc">
|
|
|
770 |
<div class="short">Saves the most recent position so that we can reset the constraints and
|
|
|
771 |
tick marks on-demand. We need to know this s...</div>
|
|
|
772 |
<div class="long">
|
|
|
773 |
Saves the most recent position so that we can reset the constraints and
|
|
|
774 |
tick marks on-demand. We need to know this so that we can calculate the
|
|
|
775 |
number of pixels the element is offset from its original position. <div class="mdetail-params">
|
|
|
776 |
<strong>Parameters:</strong>
|
|
|
777 |
<ul><li><code>the</code> : iPageX<div class="sub-desc">current x position (optional, this just makes it so we
|
|
|
778 |
don't have to look it up again)</div></li><li><code>the</code> : iPageY<div class="sub-desc">current y position (optional, this just makes it so we
|
|
|
779 |
don't have to look it up again)</div></li> </ul>
|
|
|
780 |
<strong>Returns:</strong>
|
|
|
781 |
<ul>
|
|
|
782 |
<li><code>void</code></li>
|
|
|
783 |
</ul>
|
|
|
784 |
</div>
|
|
|
785 |
</div>
|
|
|
786 |
</div>
|
|
|
787 |
</td>
|
|
|
788 |
<td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#cachePosition" href="output/Ext.dd.DD.html#cachePosition">DD</a></td>
|
|
|
789 |
</tr>
|
|
|
790 |
<tr class="method-row inherited expandable">
|
|
|
791 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
792 |
<td class="sig">
|
|
|
793 |
<a id="Ext.tree.TreeDragZone-clearConstraints"></a>
|
|
|
794 |
<b>clearConstraints</b>() : void <div class="mdesc">
|
|
|
795 |
<div class="short">Clears any constraints applied to this instance. Also clears ticks
|
|
|
796 |
since they can't exist independent of a constrain...</div>
|
|
|
797 |
<div class="long">
|
|
|
798 |
Clears any constraints applied to this instance. Also clears ticks
|
|
|
799 |
since they can't exist independent of a constraint at this time. <div class="mdetail-params">
|
|
|
800 |
<strong>Parameters:</strong>
|
|
|
801 |
<ul><li>None.</li> </ul>
|
|
|
802 |
<strong>Returns:</strong>
|
|
|
803 |
<ul>
|
|
|
804 |
<li><code>void</code></li>
|
|
|
805 |
</ul>
|
|
|
806 |
</div>
|
|
|
807 |
</div>
|
|
|
808 |
</div>
|
|
|
809 |
</td>
|
|
|
810 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#clearConstraints" href="output/Ext.dd.DragDrop.html#clearConstraints">DragDrop</a></td>
|
|
|
811 |
</tr>
|
|
|
812 |
<tr class="method-row inherited alt expandable">
|
|
|
813 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
814 |
<td class="sig">
|
|
|
815 |
<a id="Ext.tree.TreeDragZone-clearTicks"></a>
|
|
|
816 |
<b>clearTicks</b>() : void <div class="mdesc">
|
|
|
817 |
<div class="short">Clears any tick interval defined for this instance</div>
|
|
|
818 |
<div class="long">
|
|
|
819 |
Clears any tick interval defined for this instance <div class="mdetail-params">
|
|
|
820 |
<strong>Parameters:</strong>
|
|
|
821 |
<ul><li>None.</li> </ul>
|
|
|
822 |
<strong>Returns:</strong>
|
|
|
823 |
<ul>
|
|
|
824 |
<li><code>void</code></li>
|
|
|
825 |
</ul>
|
|
|
826 |
</div>
|
|
|
827 |
</div>
|
|
|
828 |
</div>
|
|
|
829 |
</td>
|
|
|
830 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#clearTicks" href="output/Ext.dd.DragDrop.html#clearTicks">DragDrop</a></td>
|
|
|
831 |
</tr>
|
|
|
832 |
<tr class="method-row inherited expandable">
|
|
|
833 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
834 |
<td class="sig">
|
|
|
835 |
<a id="Ext.tree.TreeDragZone-createFrame"></a>
|
|
|
836 |
<b>createFrame</b>() : void <div class="mdesc">
|
|
|
837 |
<div class="short">Creates the proxy element if it does not yet exist</div>
|
|
|
838 |
<div class="long">
|
|
|
839 |
Creates the proxy element if it does not yet exist <div class="mdetail-params">
|
|
|
840 |
<strong>Parameters:</strong>
|
|
|
841 |
<ul><li>None.</li> </ul>
|
|
|
842 |
<strong>Returns:</strong>
|
|
|
843 |
<ul>
|
|
|
844 |
<li><code>void</code></li>
|
|
|
845 |
</ul>
|
|
|
846 |
</div>
|
|
|
847 |
</div>
|
|
|
848 |
</div>
|
|
|
849 |
</td>
|
|
|
850 |
<td class="msource"><a ext:cls="Ext.dd.DDProxy" ext:member="#createFrame" href="output/Ext.dd.DDProxy.html#createFrame">DDProxy</a></td>
|
|
|
851 |
</tr>
|
|
|
852 |
<tr class="method-row inherited alt expandable">
|
|
|
853 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
854 |
<td class="sig">
|
|
|
855 |
<a id="Ext.tree.TreeDragZone-endDrag"></a>
|
|
|
856 |
<b>endDrag</b>( <code>Event e</code> ) : void <div class="mdesc">
|
|
|
857 |
<div class="short">Fired when we are done dragging the object</div>
|
|
|
858 |
<div class="long">
|
|
|
859 |
Fired when we are done dragging the object <div class="mdetail-params">
|
|
|
860 |
<strong>Parameters:</strong>
|
|
|
861 |
<ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li> </ul>
|
|
|
862 |
<strong>Returns:</strong>
|
|
|
863 |
<ul>
|
|
|
864 |
<li><code>void</code></li>
|
|
|
865 |
</ul>
|
|
|
866 |
</div>
|
|
|
867 |
</div>
|
|
|
868 |
</div>
|
|
|
869 |
</td>
|
|
|
870 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#endDrag" href="output/Ext.dd.DragDrop.html#endDrag">DragDrop</a></td>
|
|
|
871 |
</tr>
|
|
|
872 |
<tr class="method-row inherited expandable">
|
|
|
873 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
874 |
<td class="sig">
|
|
|
875 |
<a id="Ext.tree.TreeDragZone-getDragData"></a>
|
|
|
876 |
<b>getDragData</b>() : Object <div class="mdesc">
|
|
|
877 |
<div class="short">Returns the data object associated with this drag source</div>
|
|
|
878 |
<div class="long">
|
|
|
879 |
Returns the data object associated with this drag source <div class="mdetail-params">
|
|
|
880 |
<strong>Parameters:</strong>
|
|
|
881 |
<ul><li>None.</li> </ul>
|
|
|
882 |
<strong>Returns:</strong>
|
|
|
883 |
<ul>
|
|
|
884 |
<li><code>Object</code><div class="sub-desc">data An object containing arbitrary data</div></li>
|
|
|
885 |
</ul>
|
|
|
886 |
</div>
|
|
|
887 |
</div>
|
|
|
888 |
</div>
|
|
|
889 |
</td>
|
|
|
890 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#getDragData" href="output/Ext.dd.DragSource.html#getDragData">DragSource</a></td>
|
|
|
891 |
</tr>
|
|
|
892 |
<tr class="method-row inherited alt expandable">
|
|
|
893 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
894 |
<td class="sig">
|
|
|
895 |
<a id="Ext.tree.TreeDragZone-getDragEl"></a>
|
|
|
896 |
<b>getDragEl</b>() : HTMLElement <div class="mdesc">
|
|
|
897 |
<div class="short">Returns a reference to the actual element to drag. By default this is
|
|
|
898 |
the same as the html element, but it can be as...</div>
|
|
|
899 |
<div class="long">
|
|
|
900 |
Returns a reference to the actual element to drag. By default this is
|
|
|
901 |
the same as the html element, but it can be assigned to another
|
|
|
902 |
element. An example of this can be found in Ext.dd.DDProxy <div class="mdetail-params">
|
|
|
903 |
<strong>Parameters:</strong>
|
|
|
904 |
<ul><li>None.</li> </ul>
|
|
|
905 |
<strong>Returns:</strong>
|
|
|
906 |
<ul>
|
|
|
907 |
<li><code>HTMLElement</code><div class="sub-desc">the html element</div></li>
|
|
|
908 |
</ul>
|
|
|
909 |
</div>
|
|
|
910 |
</div>
|
|
|
911 |
</div>
|
|
|
912 |
</td>
|
|
|
913 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#getDragEl" href="output/Ext.dd.DragDrop.html#getDragEl">DragDrop</a></td>
|
|
|
914 |
</tr>
|
|
|
915 |
<tr class="method-row inherited expandable">
|
|
|
916 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
917 |
<td class="sig">
|
|
|
918 |
<a id="Ext.tree.TreeDragZone-getEl"></a>
|
|
|
919 |
<b>getEl</b>() : HTMLElement <div class="mdesc">
|
|
|
920 |
<div class="short">Returns a reference to the linked element</div>
|
|
|
921 |
<div class="long">
|
|
|
922 |
Returns a reference to the linked element <div class="mdetail-params">
|
|
|
923 |
<strong>Parameters:</strong>
|
|
|
924 |
<ul><li>None.</li> </ul>
|
|
|
925 |
<strong>Returns:</strong>
|
|
|
926 |
<ul>
|
|
|
927 |
<li><code>HTMLElement</code><div class="sub-desc">the html element</div></li>
|
|
|
928 |
</ul>
|
|
|
929 |
</div>
|
|
|
930 |
</div>
|
|
|
931 |
</div>
|
|
|
932 |
</td>
|
|
|
933 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#getEl" href="output/Ext.dd.DragDrop.html#getEl">DragDrop</a></td>
|
|
|
934 |
</tr>
|
|
|
935 |
<tr class="method-row inherited alt expandable">
|
|
|
936 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
937 |
<td class="sig">
|
|
|
938 |
<a id="Ext.tree.TreeDragZone-getProxy"></a>
|
|
|
939 |
<b>getProxy</b>() : Ext.dd.StatusProxy <div class="mdesc">
|
|
|
940 |
<div class="short">Returns the drag source's underlying <a ext:cls="Ext.dd.StatusProxy" href="output/Ext.dd.StatusProxy.html">Ext.dd.StatusProxy</a></div>
|
|
|
941 |
<div class="long">
|
|
|
942 |
Returns the drag source's underlying <a ext:cls="Ext.dd.StatusProxy" href="output/Ext.dd.StatusProxy.html">Ext.dd.StatusProxy</a> <div class="mdetail-params">
|
|
|
943 |
<strong>Parameters:</strong>
|
|
|
944 |
<ul><li>None.</li> </ul>
|
|
|
945 |
<strong>Returns:</strong>
|
|
|
946 |
<ul>
|
|
|
947 |
<li><code>Ext.dd.StatusProxy</code><div class="sub-desc">proxy The StatusProxy</div></li>
|
|
|
948 |
</ul>
|
|
|
949 |
</div>
|
|
|
950 |
</div>
|
|
|
951 |
</div>
|
|
|
952 |
</td>
|
|
|
953 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#getProxy" href="output/Ext.dd.DragSource.html#getProxy">DragSource</a></td>
|
|
|
954 |
</tr>
|
|
|
955 |
<tr class="method-row inherited expandable">
|
|
|
956 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
957 |
<td class="sig">
|
|
|
958 |
<a id="Ext.tree.TreeDragZone-getRepairXY"></a>
|
|
|
959 |
<b>getRepairXY</b>( <code>EventObject e</code> ) : Array <div class="mdesc">
|
|
|
960 |
<div class="short">Called before a repair of an invalid drop to get the XY to animate to. By default returns
|
|
|
961 |
the XY of this.dragData.ddel</div>
|
|
|
962 |
<div class="long">
|
|
|
963 |
Called before a repair of an invalid drop to get the XY to animate to. By default returns
|
|
|
964 |
the XY of this.dragData.ddel <div class="mdetail-params">
|
|
|
965 |
<strong>Parameters:</strong>
|
|
|
966 |
<ul><li><code>e</code> : EventObject<div class="sub-desc">The mouse up event</div></li> </ul>
|
|
|
967 |
<strong>Returns:</strong>
|
|
|
968 |
<ul>
|
|
|
969 |
<li><code>Array</code><div class="sub-desc">The xy location (e.g. [100, 200])</div></li>
|
|
|
970 |
</ul>
|
|
|
971 |
</div>
|
|
|
972 |
</div>
|
|
|
973 |
</div>
|
|
|
974 |
</td>
|
|
|
975 |
<td class="msource"><a ext:cls="Ext.dd.DragZone" ext:member="#getRepairXY" href="output/Ext.dd.DragZone.html#getRepairXY">DragZone</a></td>
|
|
|
976 |
</tr>
|
|
|
977 |
<tr class="method-row inherited alt expandable">
|
|
|
978 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
979 |
<td class="sig">
|
|
|
980 |
<a id="Ext.tree.TreeDragZone-hideProxy"></a>
|
|
|
981 |
<b>hideProxy</b>() : void <div class="mdesc">
|
|
|
982 |
<div class="short">Hides the drag source's <a ext:cls="Ext.dd.StatusProxy" href="output/Ext.dd.StatusProxy.html">Ext.dd.StatusProxy</a></div>
|
|
|
983 |
<div class="long">
|
|
|
984 |
Hides the drag source's <a ext:cls="Ext.dd.StatusProxy" href="output/Ext.dd.StatusProxy.html">Ext.dd.StatusProxy</a> <div class="mdetail-params">
|
|
|
985 |
<strong>Parameters:</strong>
|
|
|
986 |
<ul><li>None.</li> </ul>
|
|
|
987 |
<strong>Returns:</strong>
|
|
|
988 |
<ul>
|
|
|
989 |
<li><code>void</code></li>
|
|
|
990 |
</ul>
|
|
|
991 |
</div>
|
|
|
992 |
</div>
|
|
|
993 |
</div>
|
|
|
994 |
</td>
|
|
|
995 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#hideProxy" href="output/Ext.dd.DragSource.html#hideProxy">DragSource</a></td>
|
|
|
996 |
</tr>
|
|
|
997 |
<tr class="method-row inherited expandable">
|
|
|
998 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
999 |
<td class="sig">
|
|
|
1000 |
<a id="Ext.tree.TreeDragZone-init"></a>
|
|
|
1001 |
<b>init</b>( <code>id the</code>, <code>String sGroup</code>, <code>object config</code> ) : void <div class="mdesc">
|
|
|
1002 |
<div class="short">Sets up the DragDrop object. Must be called in the constructor of any
|
|
|
1003 |
Ext.dd.DragDrop subclass</div>
|
|
|
1004 |
<div class="long">
|
|
|
1005 |
Sets up the DragDrop object. Must be called in the constructor of any
|
|
|
1006 |
Ext.dd.DragDrop subclass <div class="mdetail-params">
|
|
|
1007 |
<strong>Parameters:</strong>
|
|
|
1008 |
<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>
|
|
|
1009 |
<strong>Returns:</strong>
|
|
|
1010 |
<ul>
|
|
|
1011 |
<li><code>void</code></li>
|
|
|
1012 |
</ul>
|
|
|
1013 |
</div>
|
|
|
1014 |
</div>
|
|
|
1015 |
</div>
|
|
|
1016 |
</td>
|
|
|
1017 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#init" href="output/Ext.dd.DragDrop.html#init">DragDrop</a></td>
|
|
|
1018 |
</tr>
|
|
|
1019 |
<tr class="method-row inherited alt expandable">
|
|
|
1020 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1021 |
<td class="sig">
|
|
|
1022 |
<a id="Ext.tree.TreeDragZone-initFrame"></a>
|
|
|
1023 |
<b>initFrame</b>() : void <div class="mdesc">
|
|
|
1024 |
<div class="short">Initialization for the drag frame element. Must be called in the
|
|
|
1025 |
constructor of all subclasses</div>
|
|
|
1026 |
<div class="long">
|
|
|
1027 |
Initialization for the drag frame element. Must be called in the
|
|
|
1028 |
constructor of all subclasses <div class="mdetail-params">
|
|
|
1029 |
<strong>Parameters:</strong>
|
|
|
1030 |
<ul><li>None.</li> </ul>
|
|
|
1031 |
<strong>Returns:</strong>
|
|
|
1032 |
<ul>
|
|
|
1033 |
<li><code>void</code></li>
|
|
|
1034 |
</ul>
|
|
|
1035 |
</div>
|
|
|
1036 |
</div>
|
|
|
1037 |
</div>
|
|
|
1038 |
</td>
|
|
|
1039 |
<td class="msource"><a ext:cls="Ext.dd.DDProxy" ext:member="#initFrame" href="output/Ext.dd.DDProxy.html#initFrame">DDProxy</a></td>
|
|
|
1040 |
</tr>
|
|
|
1041 |
<tr class="method-row inherited expandable">
|
|
|
1042 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1043 |
<td class="sig">
|
|
|
1044 |
<a id="Ext.tree.TreeDragZone-initTarget"></a>
|
|
|
1045 |
<b>initTarget</b>( <code>id the</code>, <code>String sGroup</code>, <code>object config</code> ) : void <div class="mdesc">
|
|
|
1046 |
<div class="short">Initializes Targeting functionality only... the object does not
|
|
|
1047 |
get a mousedown handler.</div>
|
|
|
1048 |
<div class="long">
|
|
|
1049 |
Initializes Targeting functionality only... the object does not
|
|
|
1050 |
get a mousedown handler. <div class="mdetail-params">
|
|
|
1051 |
<strong>Parameters:</strong>
|
|
|
1052 |
<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>
|
|
|
1053 |
<strong>Returns:</strong>
|
|
|
1054 |
<ul>
|
|
|
1055 |
<li><code>void</code></li>
|
|
|
1056 |
</ul>
|
|
|
1057 |
</div>
|
|
|
1058 |
</div>
|
|
|
1059 |
</div>
|
|
|
1060 |
</td>
|
|
|
1061 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#initTarget" href="output/Ext.dd.DragDrop.html#initTarget">DragDrop</a></td>
|
|
|
1062 |
</tr>
|
|
|
1063 |
<tr class="method-row inherited alt expandable">
|
|
|
1064 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1065 |
<td class="sig">
|
|
|
1066 |
<a id="Ext.tree.TreeDragZone-isLocked"></a>
|
|
|
1067 |
<b>isLocked</b>() : boolean <div class="mdesc">
|
|
|
1068 |
<div class="short">Returns true if this instance is locked, or the drag drop mgr is locked
|
|
|
1069 |
(meaning that all drag/drop is disabled on th...</div>
|
|
|
1070 |
<div class="long">
|
|
|
1071 |
Returns true if this instance is locked, or the drag drop mgr is locked
|
|
|
1072 |
(meaning that all drag/drop is disabled on the page.) <div class="mdetail-params">
|
|
|
1073 |
<strong>Parameters:</strong>
|
|
|
1074 |
<ul><li>None.</li> </ul>
|
|
|
1075 |
<strong>Returns:</strong>
|
|
|
1076 |
<ul>
|
|
|
1077 |
<li><code>boolean</code><div class="sub-desc">true if this obj or all drag/drop is locked, else false</div></li>
|
|
|
1078 |
</ul>
|
|
|
1079 |
</div>
|
|
|
1080 |
</div>
|
|
|
1081 |
</div>
|
|
|
1082 |
</td>
|
|
|
1083 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#isLocked" href="output/Ext.dd.DragDrop.html#isLocked">DragDrop</a></td>
|
|
|
1084 |
</tr>
|
|
|
1085 |
<tr class="method-row inherited expandable">
|
|
|
1086 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1087 |
<td class="sig">
|
|
|
1088 |
<a id="Ext.tree.TreeDragZone-isValidHandleChild"></a>
|
|
|
1089 |
<b>isValidHandleChild</b>( <code>HTMLElement node</code> ) : boolean <div class="mdesc">
|
|
|
1090 |
<div class="short">Checks the tag exclusion list to see if this click should be ignored</div>
|
|
|
1091 |
<div class="long">
|
|
|
1092 |
Checks the tag exclusion list to see if this click should be ignored <div class="mdetail-params">
|
|
|
1093 |
<strong>Parameters:</strong>
|
|
|
1094 |
<ul><li><code>node</code> : HTMLElement<div class="sub-desc">the HTMLElement to evaluate</div></li> </ul>
|
|
|
1095 |
<strong>Returns:</strong>
|
|
|
1096 |
<ul>
|
|
|
1097 |
<li><code>boolean</code><div class="sub-desc">true if this is a valid tag type, false if not</div></li>
|
|
|
1098 |
</ul>
|
|
|
1099 |
</div>
|
|
|
1100 |
</div>
|
|
|
1101 |
</div>
|
|
|
1102 |
</td>
|
|
|
1103 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#isValidHandleChild" href="output/Ext.dd.DragDrop.html#isValidHandleChild">DragDrop</a></td>
|
|
|
1104 |
</tr>
|
|
|
1105 |
<tr class="method-row inherited alt expandable">
|
|
|
1106 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1107 |
<td class="sig">
|
|
|
1108 |
<a id="Ext.tree.TreeDragZone-lock"></a>
|
|
|
1109 |
<b>lock</b>() : void <div class="mdesc">
|
|
|
1110 |
<div class="short">Lock this instance</div>
|
|
|
1111 |
<div class="long">
|
|
|
1112 |
Lock this instance <div class="mdetail-params">
|
|
|
1113 |
<strong>Parameters:</strong>
|
|
|
1114 |
<ul><li>None.</li> </ul>
|
|
|
1115 |
<strong>Returns:</strong>
|
|
|
1116 |
<ul>
|
|
|
1117 |
<li><code>void</code></li>
|
|
|
1118 |
</ul>
|
|
|
1119 |
</div>
|
|
|
1120 |
</div>
|
|
|
1121 |
</div>
|
|
|
1122 |
</td>
|
|
|
1123 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#lock" href="output/Ext.dd.DragDrop.html#lock">DragDrop</a></td>
|
|
|
1124 |
</tr>
|
|
|
1125 |
<tr class="method-row inherited expandable">
|
|
|
1126 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1127 |
<td class="sig">
|
|
|
1128 |
<a id="Ext.tree.TreeDragZone-onAvailable"></a>
|
|
|
1129 |
<b>onAvailable</b>() : void <div class="mdesc">
|
|
|
1130 |
<div class="short">Override the onAvailable method to do what is needed after the initial
|
|
|
1131 |
position was determined.</div>
|
|
|
1132 |
<div class="long">
|
|
|
1133 |
Override the onAvailable method to do what is needed after the initial
|
|
|
1134 |
position was determined. <div class="mdetail-params">
|
|
|
1135 |
<strong>Parameters:</strong>
|
|
|
1136 |
<ul><li>None.</li> </ul>
|
|
|
1137 |
<strong>Returns:</strong>
|
|
|
1138 |
<ul>
|
|
|
1139 |
<li><code>void</code></li>
|
|
|
1140 |
</ul>
|
|
|
1141 |
</div>
|
|
|
1142 |
</div>
|
|
|
1143 |
</div>
|
|
|
1144 |
</td>
|
|
|
1145 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onAvailable" href="output/Ext.dd.DragDrop.html#onAvailable">DragDrop</a></td>
|
|
|
1146 |
</tr>
|
|
|
1147 |
<tr class="method-row inherited alt expandable">
|
|
|
1148 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1149 |
<td class="sig">
|
|
|
1150 |
<a id="Ext.tree.TreeDragZone-onBeforeDrag"></a>
|
|
|
1151 |
<b>onBeforeDrag</b>( <code>Object data</code>, <code>Event e</code> ) : Boolean <div class="mdesc">
|
|
|
1152 |
<div class="short">An empty function by default, but provided so that you can perform a custom action before the initial
|
|
|
1153 |
drag event begi...</div>
|
|
|
1154 |
<div class="long">
|
|
|
1155 |
An empty function by default, but provided so that you can perform a custom action before the initial
|
|
|
1156 |
drag event begins and optionally cancel it. <div class="mdetail-params">
|
|
|
1157 |
<strong>Parameters:</strong>
|
|
|
1158 |
<ul><li><code>data</code> : Object<div class="sub-desc">An object containing arbitrary data to be shared with drop targets</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li> </ul>
|
|
|
1159 |
<strong>Returns:</strong>
|
|
|
1160 |
<ul>
|
|
|
1161 |
<li><code>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li>
|
|
|
1162 |
</ul>
|
|
|
1163 |
</div>
|
|
|
1164 |
</div>
|
|
|
1165 |
</div>
|
|
|
1166 |
</td>
|
|
|
1167 |
<td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#onBeforeDrag" href="output/Ext.dd.DragSource.html#onBeforeDrag">DragSource</a></td>
|
|
|
1168 |
</tr>
|
|
|
1169 |
<tr class="method-row inherited expandable">
|
|
|
1170 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1171 |
<td class="sig">
|
|
|
1172 |
<a id="Ext.tree.TreeDragZone-onDrag"></a>
|
|
|
1173 |
<b>onDrag</b>( <code>Event e</code> ) : void <div class="mdesc">
|
|
|
1174 |
<div class="short">Abstract method called during the onMouseMove event while dragging an
|
|
|
1175 |
object.</div>
|
|
|
1176 |
<div class="long">
|
|
|
1177 |
Abstract method called during the onMouseMove event while dragging an
|
|
|
1178 |
object. <div class="mdetail-params">
|
|
|
1179 |
<strong>Parameters:</strong>
|
|
|
1180 |
<ul><li><code>e</code> : Event<div class="sub-desc">the mousemove event</div></li> </ul>
|
|
|
1181 |
<strong>Returns:</strong>
|
|
|
1182 |
<ul>
|
|
|
1183 |
<li><code>void</code></li>
|
|
|
1184 |
</ul>
|
|
|
1185 |
</div>
|
|
|
1186 |
</div>
|
|
|
1187 |
</div>
|
|
|
1188 |
</td>
|
|
|
1189 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDrag" href="output/Ext.dd.DragDrop.html#onDrag">DragDrop</a></td>
|
|
|
1190 |
</tr>
|
|
|
1191 |
<tr class="method-row inherited alt expandable">
|
|
|
1192 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1193 |
<td class="sig">
|
|
|
1194 |
<a id="Ext.tree.TreeDragZone-onDragDrop"></a>
|
|
|
1195 |
<b>onDragDrop</b>( <code>Event e</code>, <code>String|DragDrop[] id</code> ) : void <div class="mdesc">
|
|
|
1196 |
<div class="short">Abstract method called when this item is dropped on another DragDrop
|
|
|
1197 |
obj</div>
|
|
|
1198 |
<div class="long">
|
|
|
1199 |
Abstract method called when this item is dropped on another DragDrop
|
|
|
1200 |
obj <div class="mdetail-params">
|
|
|
1201 |
<strong>Parameters:</strong>
|
|
|
1202 |
<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
|
|
|
1203 |
id this was dropped on. In INTERSECT mode, an array of dd items this
|
|
|
1204 |
was dropped on.</div></li> </ul>
|
|
|
1205 |
<strong>Returns:</strong>
|
|
|
1206 |
<ul>
|
|
|
1207 |
<li><code>void</code></li>
|
|
|
1208 |
</ul>
|
|
|
1209 |
</div>
|
|
|
1210 |
</div>
|
|
|
1211 |
</div>
|
|
|
1212 |
</td>
|
|
|
1213 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragDrop" href="output/Ext.dd.DragDrop.html#onDragDrop">DragDrop</a></td>
|
|
|
1214 |
</tr>
|
|
|
1215 |
<tr class="method-row inherited expandable">
|
|
|
1216 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1217 |
<td class="sig">
|
|
|
1218 |
<a id="Ext.tree.TreeDragZone-onDragEnter"></a>
|
|
|
1219 |
<b>onDragEnter</b>( <code>Event e</code>, <code>String|DragDrop[] id</code> ) : void <div class="mdesc">
|
|
|
1220 |
<div class="short">Abstract method called when this element fist begins hovering over
|
|
|
1221 |
another DragDrop obj</div>
|
|
|
1222 |
<div class="long">
|
|
|
1223 |
Abstract method called when this element fist begins hovering over
|
|
|
1224 |
another DragDrop obj <div class="mdetail-params">
|
|
|
1225 |
<strong>Parameters:</strong>
|
|
|
1226 |
<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
|
|
|
1227 |
id this is hovering over. In INTERSECT mode, an array of one or more
|
|
|
1228 |
dragdrop items being hovered over.</div></li> </ul>
|
|
|
1229 |
<strong>Returns:</strong>
|
|
|
1230 |
<ul>
|
|
|
1231 |
<li><code>void</code></li>
|
|
|
1232 |
</ul>
|
|
|
1233 |
</div>
|
|
|
1234 |
</div>
|
|
|
1235 |
</div>
|
|
|
1236 |
</td>
|
|
|
1237 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragEnter" href="output/Ext.dd.DragDrop.html#onDragEnter">DragDrop</a></td>
|
|
|
1238 |
</tr>
|
|
|
1239 |
<tr class="method-row inherited alt expandable">
|
|
|
1240 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1241 |
<td class="sig">
|
|
|
1242 |
<a id="Ext.tree.TreeDragZone-onDragOut"></a>
|
|
|
1243 |
<b>onDragOut</b>( <code>Event e</code>, <code>String|DragDrop[] id</code> ) : void <div class="mdesc">
|
|
|
1244 |
<div class="short">Abstract method called when we are no longer hovering over an element</div>
|
|
|
1245 |
<div class="long">
|
|
|
1246 |
Abstract method called when we are no longer hovering over an element <div class="mdetail-params">
|
|
|
1247 |
<strong>Parameters:</strong>
|
|
|
1248 |
<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
|
|
|
1249 |
id this was hovering over. In INTERSECT mode, an array of dd items
|
|
|
1250 |
that the mouse is no longer over.</div></li> </ul>
|
|
|
1251 |
<strong>Returns:</strong>
|
|
|
1252 |
<ul>
|
|
|
1253 |
<li><code>void</code></li>
|
|
|
1254 |
</ul>
|
|
|
1255 |
</div>
|
|
|
1256 |
</div>
|
|
|
1257 |
</div>
|
|
|
1258 |
</td>
|
|
|
1259 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragOut" href="output/Ext.dd.DragDrop.html#onDragOut">DragDrop</a></td>
|
|
|
1260 |
</tr>
|
|
|
1261 |
<tr class="method-row inherited expandable">
|
|
|
1262 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1263 |
<td class="sig">
|
|
|
1264 |
<a id="Ext.tree.TreeDragZone-onDragOver"></a>
|
|
|
1265 |
<b>onDragOver</b>( <code>Event e</code>, <code>String|DragDrop[] id</code> ) : void <div class="mdesc">
|
|
|
1266 |
<div class="short">Abstract method called when this element is hovering over another
|
|
|
1267 |
DragDrop obj</div>
|
|
|
1268 |
<div class="long">
|
|
|
1269 |
Abstract method called when this element is hovering over another
|
|
|
1270 |
DragDrop obj <div class="mdetail-params">
|
|
|
1271 |
<strong>Parameters:</strong>
|
|
|
1272 |
<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
|
|
|
1273 |
id this is hovering over. In INTERSECT mode, an array of dd items
|
|
|
1274 |
being hovered over.</div></li> </ul>
|
|
|
1275 |
<strong>Returns:</strong>
|
|
|
1276 |
<ul>
|
|
|
1277 |
<li><code>void</code></li>
|
|
|
1278 |
</ul>
|
|
|
1279 |
</div>
|
|
|
1280 |
</div>
|
|
|
1281 |
</div>
|
|
|
1282 |
</td>
|
|
|
1283 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragOver" href="output/Ext.dd.DragDrop.html#onDragOver">DragDrop</a></td>
|
|
|
1284 |
</tr>
|
|
|
1285 |
<tr class="method-row inherited alt expandable">
|
|
|
1286 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1287 |
<td class="sig">
|
|
|
1288 |
<a id="Ext.tree.TreeDragZone-onInitDrag"></a>
|
|
|
1289 |
<b>onInitDrag</b>( <code>Number x</code>, <code>Number y</code> ) : Boolean <div class="mdesc">
|
|
|
1290 |
<div class="short">Called once drag threshold has been reached to initialize the proxy element. By default, it clones the
|
|
|
1291 |
this.dragData....</div>
|
|
|
1292 |
<div class="long">
|
|
|
1293 |
Called once drag threshold has been reached to initialize the proxy element. By default, it clones the
|
|
|
1294 |
this.dragData.ddel <div class="mdetail-params">
|
|
|
1295 |
<strong>Parameters:</strong>
|
|
|
1296 |
<ul><li><code>x</code> : Number<div class="sub-desc">The x position of the click on the dragged object</div></li><li><code>y</code> : Number<div class="sub-desc">The y position of the click on the dragged object</div></li> </ul>
|
|
|
1297 |
<strong>Returns:</strong>
|
|
|
1298 |
<ul>
|
|
|
1299 |
<li><code>Boolean</code><div class="sub-desc">true to continue the drag, false to cancel</div></li>
|
|
|
1300 |
</ul>
|
|
|
1301 |
</div>
|
|
|
1302 |
</div>
|
|
|
1303 |
</div>
|
|
|
1304 |
</td>
|
|
|
1305 |
<td class="msource"><a ext:cls="Ext.dd.DragZone" ext:member="#onInitDrag" href="output/Ext.dd.DragZone.html#onInitDrag">DragZone</a></td>
|
|
|
1306 |
</tr>
|
|
|
1307 |
<tr class="method-row inherited expandable">
|
|
|
1308 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1309 |
<td class="sig">
|
|
|
1310 |
<a id="Ext.tree.TreeDragZone-onInvalidDrop"></a>
|
|
|
1311 |
<b>onInvalidDrop</b>( <code>Event e</code> ) : void <div class="mdesc">
|
|
|
1312 |
<div class="short">Abstract method called when this item is dropped on an area with no
|
|
|
1313 |
drop target</div>
|
|
|
1314 |
<div class="long">
|
|
|
1315 |
Abstract method called when this item is dropped on an area with no
|
|
|
1316 |
drop target <div class="mdetail-params">
|
|
|
1317 |
<strong>Parameters:</strong>
|
|
|
1318 |
<ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li> </ul>
|
|
|
1319 |
<strong>Returns:</strong>
|
|
|
1320 |
<ul>
|
|
|
1321 |
<li><code>void</code></li>
|
|
|
1322 |
</ul>
|
|
|
1323 |
</div>
|
|
|
1324 |
</div>
|
|
|
1325 |
</div>
|
|
|
1326 |
</td>
|
|
|
1327 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onInvalidDrop" href="output/Ext.dd.DragDrop.html#onInvalidDrop">DragDrop</a></td>
|
|
|
1328 |
</tr>
|
|
|
1329 |
<tr class="method-row inherited alt expandable">
|
|
|
1330 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1331 |
<td class="sig">
|
|
|
1332 |
<a id="Ext.tree.TreeDragZone-onMouseDown"></a>
|
|
|
1333 |
<b>onMouseDown</b>( <code>Event e</code> ) : void <div class="mdesc">
|
|
|
1334 |
<div class="short">Event handler that fires when a drag/drop obj gets a mousedown</div>
|
|
|
1335 |
<div class="long">
|
|
|
1336 |
Event handler that fires when a drag/drop obj gets a mousedown <div class="mdetail-params">
|
|
|
1337 |
<strong>Parameters:</strong>
|
|
|
1338 |
<ul><li><code>e</code> : Event<div class="sub-desc">the mousedown event</div></li> </ul>
|
|
|
1339 |
<strong>Returns:</strong>
|
|
|
1340 |
<ul>
|
|
|
1341 |
<li><code>void</code></li>
|
|
|
1342 |
</ul>
|
|
|
1343 |
</div>
|
|
|
1344 |
</div>
|
|
|
1345 |
</div>
|
|
|
1346 |
</td>
|
|
|
1347 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onMouseDown" href="output/Ext.dd.DragDrop.html#onMouseDown">DragDrop</a></td>
|
|
|
1348 |
</tr>
|
|
|
1349 |
<tr class="method-row inherited expandable">
|
|
|
1350 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1351 |
<td class="sig">
|
|
|
1352 |
<a id="Ext.tree.TreeDragZone-onMouseUp"></a>
|
|
|
1353 |
<b>onMouseUp</b>( <code>Event e</code> ) : void <div class="mdesc">
|
|
|
1354 |
<div class="short">Event handler that fires when a drag/drop obj gets a mouseup</div>
|
|
|
1355 |
<div class="long">
|
|
|
1356 |
Event handler that fires when a drag/drop obj gets a mouseup <div class="mdetail-params">
|
|
|
1357 |
<strong>Parameters:</strong>
|
|
|
1358 |
<ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li> </ul>
|
|
|
1359 |
<strong>Returns:</strong>
|
|
|
1360 |
<ul>
|
|
|
1361 |
<li><code>void</code></li>
|
|
|
1362 |
</ul>
|
|
|
1363 |
</div>
|
|
|
1364 |
</div>
|
|
|
1365 |
</div>
|
|
|
1366 |
</td>
|
|
|
1367 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onMouseUp" href="output/Ext.dd.DragDrop.html#onMouseUp">DragDrop</a></td>
|
|
|
1368 |
</tr>
|
|
|
1369 |
<tr class="method-row inherited alt expandable">
|
|
|
1370 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1371 |
<td class="sig">
|
|
|
1372 |
<a id="Ext.tree.TreeDragZone-removeFromGroup"></a>
|
|
|
1373 |
<b>removeFromGroup</b>( <code>string sGroup</code> ) : void <div class="mdesc">
|
|
|
1374 |
<div class="short">Remove's this instance from the supplied interaction group</div>
|
|
|
1375 |
<div class="long">
|
|
|
1376 |
Remove's this instance from the supplied interaction group <div class="mdetail-params">
|
|
|
1377 |
<strong>Parameters:</strong>
|
|
|
1378 |
<ul><li><code>sGroup</code> : string<div class="sub-desc">The group to drop</div></li> </ul>
|
|
|
1379 |
<strong>Returns:</strong>
|
|
|
1380 |
<ul>
|
|
|
1381 |
<li><code>void</code></li>
|
|
|
1382 |
</ul>
|
|
|
1383 |
</div>
|
|
|
1384 |
</div>
|
|
|
1385 |
</div>
|
|
|
1386 |
</td>
|
|
|
1387 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeFromGroup" href="output/Ext.dd.DragDrop.html#removeFromGroup">DragDrop</a></td>
|
|
|
1388 |
</tr>
|
|
|
1389 |
<tr class="method-row inherited expandable">
|
|
|
1390 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1391 |
<td class="sig">
|
|
|
1392 |
<a id="Ext.tree.TreeDragZone-removeInvalidHandleClass"></a>
|
|
|
1393 |
<b>removeInvalidHandleClass</b>( <code>string cssClass</code> ) : void <div class="mdesc">
|
|
|
1394 |
<div class="short">Unsets an invalid css class</div>
|
|
|
1395 |
<div class="long">
|
|
|
1396 |
Unsets an invalid css class <div class="mdetail-params">
|
|
|
1397 |
<strong>Parameters:</strong>
|
|
|
1398 |
<ul><li><code>cssClass</code> : string<div class="sub-desc">the class of the element(s) you wish to
|
|
|
1399 |
re-enable</div></li> </ul>
|
|
|
1400 |
<strong>Returns:</strong>
|
|
|
1401 |
<ul>
|
|
|
1402 |
<li><code>void</code></li>
|
|
|
1403 |
</ul>
|
|
|
1404 |
</div>
|
|
|
1405 |
</div>
|
|
|
1406 |
</div>
|
|
|
1407 |
</td>
|
|
|
1408 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeInvalidHandleClass" href="output/Ext.dd.DragDrop.html#removeInvalidHandleClass">DragDrop</a></td>
|
|
|
1409 |
</tr>
|
|
|
1410 |
<tr class="method-row inherited alt expandable">
|
|
|
1411 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1412 |
<td class="sig">
|
|
|
1413 |
<a id="Ext.tree.TreeDragZone-removeInvalidHandleId"></a>
|
|
|
1414 |
<b>removeInvalidHandleId</b>( <code>string id</code> ) : void <div class="mdesc">
|
|
|
1415 |
<div class="short">Unsets an invalid handle id</div>
|
|
|
1416 |
<div class="long">
|
|
|
1417 |
Unsets an invalid handle id <div class="mdetail-params">
|
|
|
1418 |
<strong>Parameters:</strong>
|
|
|
1419 |
<ul><li><code>id</code> : string<div class="sub-desc">the id of the element to re-enable</div></li> </ul>
|
|
|
1420 |
<strong>Returns:</strong>
|
|
|
1421 |
<ul>
|
|
|
1422 |
<li><code>void</code></li>
|
|
|
1423 |
</ul>
|
|
|
1424 |
</div>
|
|
|
1425 |
</div>
|
|
|
1426 |
</div>
|
|
|
1427 |
</td>
|
|
|
1428 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeInvalidHandleId" href="output/Ext.dd.DragDrop.html#removeInvalidHandleId">DragDrop</a></td>
|
|
|
1429 |
</tr>
|
|
|
1430 |
<tr class="method-row inherited expandable">
|
|
|
1431 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1432 |
<td class="sig">
|
|
|
1433 |
<a id="Ext.tree.TreeDragZone-removeInvalidHandleType"></a>
|
|
|
1434 |
<b>removeInvalidHandleType</b>( <code>string tagName</code> ) : void <div class="mdesc">
|
|
|
1435 |
<div class="short">Unsets an excluded tag name set by addInvalidHandleType</div>
|
|
|
1436 |
<div class="long">
|
|
|
1437 |
Unsets an excluded tag name set by addInvalidHandleType <div class="mdetail-params">
|
|
|
1438 |
<strong>Parameters:</strong>
|
|
|
1439 |
<ul><li><code>tagName</code> : string<div class="sub-desc">the type of element to unexclude</div></li> </ul>
|
|
|
1440 |
<strong>Returns:</strong>
|
|
|
1441 |
<ul>
|
|
|
1442 |
<li><code>void</code></li>
|
|
|
1443 |
</ul>
|
|
|
1444 |
</div>
|
|
|
1445 |
</div>
|
|
|
1446 |
</div>
|
|
|
1447 |
</td>
|
|
|
1448 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeInvalidHandleType" href="output/Ext.dd.DragDrop.html#removeInvalidHandleType">DragDrop</a></td>
|
|
|
1449 |
</tr>
|
|
|
1450 |
<tr class="method-row inherited alt expandable">
|
|
|
1451 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1452 |
<td class="sig">
|
|
|
1453 |
<a id="Ext.tree.TreeDragZone-resetConstraints"></a>
|
|
|
1454 |
<b>resetConstraints</b>( <code>boolean maintainOffset</code> ) : void <div class="mdesc">
|
|
|
1455 |
<div class="short">resetConstraints must be called if you manually reposition a dd element.</div>
|
|
|
1456 |
<div class="long">
|
|
|
1457 |
resetConstraints must be called if you manually reposition a dd element. <div class="mdetail-params">
|
|
|
1458 |
<strong>Parameters:</strong>
|
|
|
1459 |
<ul><li><code>maintainOffset</code> : boolean<div class="sub-desc"></div></li> </ul>
|
|
|
1460 |
<strong>Returns:</strong>
|
|
|
1461 |
<ul>
|
|
|
1462 |
<li><code>void</code></li>
|
|
|
1463 |
</ul>
|
|
|
1464 |
</div>
|
|
|
1465 |
</div>
|
|
|
1466 |
</div>
|
|
|
1467 |
</td>
|
|
|
1468 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#resetConstraints" href="output/Ext.dd.DragDrop.html#resetConstraints">DragDrop</a></td>
|
|
|
1469 |
</tr>
|
|
|
1470 |
<tr class="method-row inherited expandable">
|
|
|
1471 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1472 |
<td class="sig">
|
|
|
1473 |
<a id="Ext.tree.TreeDragZone-setDelta"></a>
|
|
|
1474 |
<b>setDelta</b>( <code>int iDeltaX</code>, <code>int iDeltaY</code> ) : void <div class="mdesc">
|
|
|
1475 |
<div class="short">Sets the pointer offset. You can call this directly to force the
|
|
|
1476 |
offset to be in a particular location (e.g., pass i...</div>
|
|
|
1477 |
<div class="long">
|
|
|
1478 |
Sets the pointer offset. You can call this directly to force the
|
|
|
1479 |
offset to be in a particular location (e.g., pass in 0,0 to set it
|
|
|
1480 |
to the center of the object) <div class="mdetail-params">
|
|
|
1481 |
<strong>Parameters:</strong>
|
|
|
1482 |
<ul><li><code>iDeltaX</code> : int<div class="sub-desc">the distance from the left</div></li><li><code>iDeltaY</code> : int<div class="sub-desc">the distance from the top</div></li> </ul>
|
|
|
1483 |
<strong>Returns:</strong>
|
|
|
1484 |
<ul>
|
|
|
1485 |
<li><code>void</code></li>
|
|
|
1486 |
</ul>
|
|
|
1487 |
</div>
|
|
|
1488 |
</div>
|
|
|
1489 |
</div>
|
|
|
1490 |
</td>
|
|
|
1491 |
<td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#setDelta" href="output/Ext.dd.DD.html#setDelta">DD</a></td>
|
|
|
1492 |
</tr>
|
|
|
1493 |
<tr class="method-row inherited alt expandable">
|
|
|
1494 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1495 |
<td class="sig">
|
|
|
1496 |
<a id="Ext.tree.TreeDragZone-setDragElId"></a>
|
|
|
1497 |
<b>setDragElId</b>( <code>id {string}</code> ) : void <div class="mdesc">
|
|
|
1498 |
<div class="short">Allows you to specify that an element other than the linked element
|
|
|
1499 |
will be moved with the cursor during a drag</div>
|
|
|
1500 |
<div class="long">
|
|
|
1501 |
Allows you to specify that an element other than the linked element
|
|
|
1502 |
will be moved with the cursor during a drag <div class="mdetail-params">
|
|
|
1503 |
<strong>Parameters:</strong>
|
|
|
1504 |
<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>
|
|
|
1505 |
<strong>Returns:</strong>
|
|
|
1506 |
<ul>
|
|
|
1507 |
<li><code>void</code></li>
|
|
|
1508 |
</ul>
|
|
|
1509 |
</div>
|
|
|
1510 |
</div>
|
|
|
1511 |
</div>
|
|
|
1512 |
</td>
|
|
|
1513 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setDragElId" href="output/Ext.dd.DragDrop.html#setDragElId">DragDrop</a></td>
|
|
|
1514 |
</tr>
|
|
|
1515 |
<tr class="method-row inherited expandable">
|
|
|
1516 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1517 |
<td class="sig">
|
|
|
1518 |
<a id="Ext.tree.TreeDragZone-setDragElPos"></a>
|
|
|
1519 |
<b>setDragElPos</b>( <code>int iPageX</code>, <code>int iPageY</code> ) : void <div class="mdesc">
|
|
|
1520 |
<div class="short">Sets the drag element to the location of the mousedown or click event,
|
|
|
1521 |
maintaining the cursor location relative to th...</div>
|
|
|
1522 |
<div class="long">
|
|
|
1523 |
Sets the drag element to the location of the mousedown or click event,
|
|
|
1524 |
maintaining the cursor location relative to the location on the element
|
|
|
1525 |
that was clicked. Override this if you want to place the element in a
|
|
|
1526 |
location other than where the cursor is. <div class="mdetail-params">
|
|
|
1527 |
<strong>Parameters:</strong>
|
|
|
1528 |
<ul><li><code>iPageX</code> : int<div class="sub-desc">the X coordinate of the mousedown or drag event</div></li><li><code>iPageY</code> : int<div class="sub-desc">the Y coordinate of the mousedown or drag event</div></li> </ul>
|
|
|
1529 |
<strong>Returns:</strong>
|
|
|
1530 |
<ul>
|
|
|
1531 |
<li><code>void</code></li>
|
|
|
1532 |
</ul>
|
|
|
1533 |
</div>
|
|
|
1534 |
</div>
|
|
|
1535 |
</div>
|
|
|
1536 |
</td>
|
|
|
1537 |
<td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#setDragElPos" href="output/Ext.dd.DD.html#setDragElPos">DD</a></td>
|
|
|
1538 |
</tr>
|
|
|
1539 |
<tr class="method-row inherited alt expandable">
|
|
|
1540 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1541 |
<td class="sig">
|
|
|
1542 |
<a id="Ext.tree.TreeDragZone-setHandleElId"></a>
|
|
|
1543 |
<b>setHandleElId</b>( <code>id {string}</code> ) : void <div class="mdesc">
|
|
|
1544 |
<div class="short">Allows you to specify a child of the linked element that should be
|
|
|
1545 |
used to initiate the drag operation. An example o...</div>
|
|
|
1546 |
<div class="long">
|
|
|
1547 |
Allows you to specify a child of the linked element that should be
|
|
|
1548 |
used to initiate the drag operation. An example of this would be if
|
|
|
1549 |
you have a content div with text and links. Clicking anywhere in the
|
|
|
1550 |
content area would normally start the drag operation. Use this method
|
|
|
1551 |
to specify that an element inside of the content div is the element
|
|
|
1552 |
that starts the drag operation. <div class="mdetail-params">
|
|
|
1553 |
<strong>Parameters:</strong>
|
|
|
1554 |
<ul><li><code>{string}</code> : id<div class="sub-desc">the id of the element that will be used to
|
|
|
1555 |
initiate the drag.</div></li> </ul>
|
|
|
1556 |
<strong>Returns:</strong>
|
|
|
1557 |
<ul>
|
|
|
1558 |
<li><code>void</code></li>
|
|
|
1559 |
</ul>
|
|
|
1560 |
</div>
|
|
|
1561 |
</div>
|
|
|
1562 |
</div>
|
|
|
1563 |
</td>
|
|
|
1564 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setHandleElId" href="output/Ext.dd.DragDrop.html#setHandleElId">DragDrop</a></td>
|
|
|
1565 |
</tr>
|
|
|
1566 |
<tr class="method-row inherited expandable">
|
|
|
1567 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1568 |
<td class="sig">
|
|
|
1569 |
<a id="Ext.tree.TreeDragZone-setInitialPosition"></a>
|
|
|
1570 |
<b>setInitialPosition</b>( <code>int diffX</code>, <code>int diffY</code> ) : void <div class="mdesc">
|
|
|
1571 |
<div class="short">Stores the initial placement of the linked element.</div>
|
|
|
1572 |
<div class="long">
|
|
|
1573 |
Stores the initial placement of the linked element. <div class="mdetail-params">
|
|
|
1574 |
<strong>Parameters:</strong>
|
|
|
1575 |
<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>
|
|
|
1576 |
<strong>Returns:</strong>
|
|
|
1577 |
<ul>
|
|
|
1578 |
<li><code>void</code></li>
|
|
|
1579 |
</ul>
|
|
|
1580 |
</div>
|
|
|
1581 |
</div>
|
|
|
1582 |
</div>
|
|
|
1583 |
</td>
|
|
|
1584 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setInitialPosition" href="output/Ext.dd.DragDrop.html#setInitialPosition">DragDrop</a></td>
|
|
|
1585 |
</tr>
|
|
|
1586 |
<tr class="method-row inherited alt expandable">
|
|
|
1587 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1588 |
<td class="sig">
|
|
|
1589 |
<a id="Ext.tree.TreeDragZone-setOuterHandleElId"></a>
|
|
|
1590 |
<b>setOuterHandleElId</b>( <code>id the</code> ) : void <div class="mdesc">
|
|
|
1591 |
<div class="short">Allows you to set an element outside of the linked element as a drag
|
|
|
1592 |
handle</div>
|
|
|
1593 |
<div class="long">
|
|
|
1594 |
Allows you to set an element outside of the linked element as a drag
|
|
|
1595 |
handle <div class="mdetail-params">
|
|
|
1596 |
<strong>Parameters:</strong>
|
|
|
1597 |
<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>
|
|
|
1598 |
<strong>Returns:</strong>
|
|
|
1599 |
<ul>
|
|
|
1600 |
<li><code>void</code></li>
|
|
|
1601 |
</ul>
|
|
|
1602 |
</div>
|
|
|
1603 |
</div>
|
|
|
1604 |
</div>
|
|
|
1605 |
</td>
|
|
|
1606 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setOuterHandleElId" href="output/Ext.dd.DragDrop.html#setOuterHandleElId">DragDrop</a></td>
|
|
|
1607 |
</tr>
|
|
|
1608 |
<tr class="method-row inherited expandable">
|
|
|
1609 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1610 |
<td class="sig">
|
|
|
1611 |
<a id="Ext.tree.TreeDragZone-setPadding"></a>
|
|
|
1612 |
<b>setPadding</b>( <code>int iTop</code>, <code>int iRight</code>, <code>int iBot</code>, <code>int iLeft</code> ) : void <div class="mdesc">
|
|
|
1613 |
<div class="short">Configures the padding for the target zone in px. Effectively expands
|
|
|
1614 |
(or reduces) the virtual object size for targe...</div>
|
|
|
1615 |
<div class="long">
|
|
|
1616 |
Configures the padding for the target zone in px. Effectively expands
|
|
|
1617 |
(or reduces) the virtual object size for targeting calculations.
|
|
|
1618 |
Supports css-style shorthand; if only one parameter is passed, all sides
|
|
|
1619 |
will have that padding, and if only two are passed, the top and bottom
|
|
|
1620 |
will have the first param, the left and right the second. <div class="mdetail-params">
|
|
|
1621 |
<strong>Parameters:</strong>
|
|
|
1622 |
<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>
|
|
|
1623 |
<strong>Returns:</strong>
|
|
|
1624 |
<ul>
|
|
|
1625 |
<li><code>void</code></li>
|
|
|
1626 |
</ul>
|
|
|
1627 |
</div>
|
|
|
1628 |
</div>
|
|
|
1629 |
</div>
|
|
|
1630 |
</td>
|
|
|
1631 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setPadding" href="output/Ext.dd.DragDrop.html#setPadding">DragDrop</a></td>
|
|
|
1632 |
</tr>
|
|
|
1633 |
<tr class="method-row inherited alt expandable">
|
|
|
1634 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1635 |
<td class="sig">
|
|
|
1636 |
<a id="Ext.tree.TreeDragZone-setXConstraint"></a>
|
|
|
1637 |
<b>setXConstraint</b>( <code>int iLeft</code>, <code>int iRight</code>, <code>int iTickSize</code> ) : void <div class="mdesc">
|
|
|
1638 |
<div class="short">By default, the element can be dragged any place on the screen. Use
|
|
|
1639 |
this method to limit the horizontal travel of th...</div>
|
|
|
1640 |
<div class="long">
|
|
|
1641 |
By default, the element can be dragged any place on the screen. Use
|
|
|
1642 |
this method to limit the horizontal travel of the element. Pass in
|
|
|
1643 |
0,0 for the parameters if you want to lock the drag to the y axis. <div class="mdetail-params">
|
|
|
1644 |
<strong>Parameters:</strong>
|
|
|
1645 |
<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
|
|
|
1646 |
right</div></li><li><code>iTickSize</code> : int<div class="sub-desc">optional parameter for specifying that the
|
|
|
1647 |
element
|
|
|
1648 |
should move iTickSize pixels at a time.</div></li> </ul>
|
|
|
1649 |
<strong>Returns:</strong>
|
|
|
1650 |
<ul>
|
|
|
1651 |
<li><code>void</code></li>
|
|
|
1652 |
</ul>
|
|
|
1653 |
</div>
|
|
|
1654 |
</div>
|
|
|
1655 |
</div>
|
|
|
1656 |
</td>
|
|
|
1657 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setXConstraint" href="output/Ext.dd.DragDrop.html#setXConstraint">DragDrop</a></td>
|
|
|
1658 |
</tr>
|
|
|
1659 |
<tr class="method-row inherited expandable">
|
|
|
1660 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1661 |
<td class="sig">
|
|
|
1662 |
<a id="Ext.tree.TreeDragZone-setYConstraint"></a>
|
|
|
1663 |
<b>setYConstraint</b>( <code>int iUp</code>, <code>int iDown</code>, <code>int iTickSize</code> ) : void <div class="mdesc">
|
|
|
1664 |
<div class="short">By default, the element can be dragged any place on the screen. Set
|
|
|
1665 |
this to limit the vertical travel of the element...</div>
|
|
|
1666 |
<div class="long">
|
|
|
1667 |
By default, the element can be dragged any place on the screen. Set
|
|
|
1668 |
this to limit the vertical travel of the element. Pass in 0,0 for the
|
|
|
1669 |
parameters if you want to lock the drag to the x axis. <div class="mdetail-params">
|
|
|
1670 |
<strong>Parameters:</strong>
|
|
|
1671 |
<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
|
|
|
1672 |
element should move iTickSize pixels at a time.</div></li> </ul>
|
|
|
1673 |
<strong>Returns:</strong>
|
|
|
1674 |
<ul>
|
|
|
1675 |
<li><code>void</code></li>
|
|
|
1676 |
</ul>
|
|
|
1677 |
</div>
|
|
|
1678 |
</div>
|
|
|
1679 |
</div>
|
|
|
1680 |
</td>
|
|
|
1681 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setYConstraint" href="output/Ext.dd.DragDrop.html#setYConstraint">DragDrop</a></td>
|
|
|
1682 |
</tr>
|
|
|
1683 |
<tr class="method-row inherited alt expandable">
|
|
|
1684 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1685 |
<td class="sig">
|
|
|
1686 |
<a id="Ext.tree.TreeDragZone-startDrag"></a>
|
|
|
1687 |
<b>startDrag</b>( <code>int X</code>, <code>int Y</code> ) : void <div class="mdesc">
|
|
|
1688 |
<div class="short">Abstract method called after a drag/drop object is clicked
|
|
|
1689 |
and the drag or mousedown time thresholds have beeen met.</div>
|
|
|
1690 |
<div class="long">
|
|
|
1691 |
Abstract method called after a drag/drop object is clicked
|
|
|
1692 |
and the drag or mousedown time thresholds have beeen met. <div class="mdetail-params">
|
|
|
1693 |
<strong>Parameters:</strong>
|
|
|
1694 |
<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>
|
|
|
1695 |
<strong>Returns:</strong>
|
|
|
1696 |
<ul>
|
|
|
1697 |
<li><code>void</code></li>
|
|
|
1698 |
</ul>
|
|
|
1699 |
</div>
|
|
|
1700 |
</div>
|
|
|
1701 |
</div>
|
|
|
1702 |
</td>
|
|
|
1703 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#startDrag" href="output/Ext.dd.DragDrop.html#startDrag">DragDrop</a></td>
|
|
|
1704 |
</tr>
|
|
|
1705 |
<tr class="method-row inherited expandable">
|
|
|
1706 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1707 |
<td class="sig">
|
|
|
1708 |
<a id="Ext.tree.TreeDragZone-toString"></a>
|
|
|
1709 |
<b>toString</b>() : string <div class="mdesc">
|
|
|
1710 |
<div class="short">toString method</div>
|
|
|
1711 |
<div class="long">
|
|
|
1712 |
toString method <div class="mdetail-params">
|
|
|
1713 |
<strong>Parameters:</strong>
|
|
|
1714 |
<ul><li>None.</li> </ul>
|
|
|
1715 |
<strong>Returns:</strong>
|
|
|
1716 |
<ul>
|
|
|
1717 |
<li><code>string</code><div class="sub-desc">string representation of the dd obj</div></li>
|
|
|
1718 |
</ul>
|
|
|
1719 |
</div>
|
|
|
1720 |
</div>
|
|
|
1721 |
</div>
|
|
|
1722 |
</td>
|
|
|
1723 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#toString" href="output/Ext.dd.DragDrop.html#toString">DragDrop</a></td>
|
|
|
1724 |
</tr>
|
|
|
1725 |
<tr class="method-row inherited alt expandable">
|
|
|
1726 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1727 |
<td class="sig">
|
|
|
1728 |
<a id="Ext.tree.TreeDragZone-unlock"></a>
|
|
|
1729 |
<b>unlock</b>() : void <div class="mdesc">
|
|
|
1730 |
<div class="short">Unlock this instace</div>
|
|
|
1731 |
<div class="long">
|
|
|
1732 |
Unlock this instace <div class="mdetail-params">
|
|
|
1733 |
<strong>Parameters:</strong>
|
|
|
1734 |
<ul><li>None.</li> </ul>
|
|
|
1735 |
<strong>Returns:</strong>
|
|
|
1736 |
<ul>
|
|
|
1737 |
<li><code>void</code></li>
|
|
|
1738 |
</ul>
|
|
|
1739 |
</div>
|
|
|
1740 |
</div>
|
|
|
1741 |
</div>
|
|
|
1742 |
</td>
|
|
|
1743 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#unlock" href="output/Ext.dd.DragDrop.html#unlock">DragDrop</a></td>
|
|
|
1744 |
</tr>
|
|
|
1745 |
<tr class="method-row inherited expandable">
|
|
|
1746 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
1747 |
<td class="sig">
|
|
|
1748 |
<a id="Ext.tree.TreeDragZone-unreg"></a>
|
|
|
1749 |
<b>unreg</b>() : void <div class="mdesc">
|
|
|
1750 |
<div class="short">Remove all drag and drop hooks for this element</div>
|
|
|
1751 |
<div class="long">
|
|
|
1752 |
Remove all drag and drop hooks for this element <div class="mdetail-params">
|
|
|
1753 |
<strong>Parameters:</strong>
|
|
|
1754 |
<ul><li>None.</li> </ul>
|
|
|
1755 |
<strong>Returns:</strong>
|
|
|
1756 |
<ul>
|
|
|
1757 |
<li><code>void</code></li>
|
|
|
1758 |
</ul>
|
|
|
1759 |
</div>
|
|
|
1760 |
</div>
|
|
|
1761 |
</div>
|
|
|
1762 |
</td>
|
|
|
1763 |
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#unreg" href="output/Ext.dd.DragDrop.html#unreg">DragDrop</a></td>
|
|
|
1764 |
</tr>
|
|
|
1765 |
</table>
|
|
|
1766 |
<a id="Ext.tree.TreeDragZone-events"></a>
|
|
|
1767 |
<h2>Public Events</h2>
|
|
|
1768 |
<div class="no-members">This class has no public events.</div>
|
|
|
1769 |
</div>
|