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