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