enable grammerly in editor
[roojs1] / docs / symbols / Roo.dd.DD.json
1 {
2   "name" : "Roo.dd.DD",
3   "augments" : [
4     "Roo.dd.DragDrop",
5     "Roo.util.Observable"
6   ],
7   "desc" : "A DragDrop implementation where the linked element follows the\nmouse cursor during a drag.",
8   "isSingleton" : false,
9   "isStatic" : false,
10   "isBuiltin" : false,
11   "memberOf" : "DD",
12   "example" : "",
13   "deprecated" : "",
14   "since" : "",
15   "see" : "",
16   "params" : [
17     {
18       "name" : "id",
19       "type" : "String",
20       "desc" : "the id of the linked element",
21       "isOptional" : false
22     },
23     {
24       "name" : "sGroup",
25       "type" : "String",
26       "desc" : "the group of related DragDrop items",
27       "isOptional" : false
28     },
29     {
30       "name" : "config",
31       "type" : "object",
32       "desc" : "an object containing configurable attributes\n               Valid properties for DD:\n                   scroll",
33       "isOptional" : false
34     }
35   ],
36   "returns" : [],
37   "config" : [
38     {
39       "name" : "listeners",
40       "type" : "Object",
41       "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n    listeners :  { \n       'click' : function(e) {\n           ..... \n        } ,\n        .... \n    } \n  </code></pre>",
42       "memberOf" : "Roo.util.Observable",
43       "optvals" : []
44     }
45   ],
46   "methods" : [
47     {
48       "name" : "alignElWithMouse",
49       "desc" : "Sets the element to the location of the mousedown or click event,\nmaintaining the cursor location relative to the location on the element\nthat was clicked.  Override this if you want to place the element in a\nlocation other than where the cursor is.",
50       "isStatic" : false,
51       "isConstructor" : false,
52       "isPrivate" : false,
53       "memberOf" : "Roo.dd.DD",
54       "example" : "",
55       "deprecated" : "",
56       "since" : "",
57       "see" : "",
58       "params" : [
59         {
60           "name" : "el",
61           "type" : "HTMLElement",
62           "desc" : "the element to move",
63           "isOptional" : false
64         },
65         {
66           "name" : "iPageX",
67           "type" : "int",
68           "desc" : "the X coordinate of the mousedown or drag event",
69           "isOptional" : false
70         },
71         {
72           "name" : "iPageY",
73           "type" : "int",
74           "desc" : "the Y coordinate of the mousedown or drag event",
75           "isOptional" : false
76         }
77       ],
78       "returns" : []
79     },
80     {
81       "name" : "setDelta",
82       "desc" : "Sets the pointer offset.  You can call this directly to force the\noffset to be in a particular location (e.g., pass in 0,0 to set it\nto the center of the object)",
83       "isStatic" : false,
84       "isConstructor" : false,
85       "isPrivate" : false,
86       "memberOf" : "Roo.dd.DD",
87       "example" : "",
88       "deprecated" : "",
89       "since" : "",
90       "see" : "",
91       "params" : [
92         {
93           "name" : "iDeltaX",
94           "type" : "int",
95           "desc" : "the distance from the left",
96           "isOptional" : false
97         },
98         {
99           "name" : "iDeltaY",
100           "type" : "int",
101           "desc" : "the distance from the top",
102           "isOptional" : false
103         }
104       ],
105       "returns" : []
106     },
107     {
108       "name" : "autoOffset",
109       "desc" : "Sets the pointer offset to the distance between the linked element's top\nleft corner and the location the element was clicked",
110       "isStatic" : false,
111       "isConstructor" : false,
112       "isPrivate" : false,
113       "memberOf" : "Roo.dd.DD",
114       "example" : "",
115       "deprecated" : "",
116       "since" : "",
117       "see" : "",
118       "params" : [
119         {
120           "name" : "iPageX",
121           "type" : "int",
122           "desc" : "the X coordinate of the click",
123           "isOptional" : false
124         },
125         {
126           "name" : "iPageY",
127           "type" : "int",
128           "desc" : "the Y coordinate of the click",
129           "isOptional" : false
130         }
131       ],
132       "returns" : []
133     },
134     {
135       "name" : "setDragElPos",
136       "desc" : "Sets the drag element to the location of the mousedown or click event,\nmaintaining the cursor location relative to the location on the element\nthat was clicked.  Override this if you want to place the element in a\nlocation other than where the cursor is.",
137       "isStatic" : false,
138       "isConstructor" : false,
139       "isPrivate" : false,
140       "memberOf" : "Roo.dd.DD",
141       "example" : "",
142       "deprecated" : "",
143       "since" : "",
144       "see" : "",
145       "params" : [
146         {
147           "name" : "iPageX",
148           "type" : "int",
149           "desc" : "the X coordinate of the mousedown or drag event",
150           "isOptional" : false
151         },
152         {
153           "name" : "iPageY",
154           "type" : "int",
155           "desc" : "the Y coordinate of the mousedown or drag event",
156           "isOptional" : false
157         }
158       ],
159       "returns" : []
160     },
161     {
162       "name" : "cachePosition",
163       "desc" : "Saves the most recent position so that we can reset the constraints and\ntick marks on-demand.  We need to know this so that we can calculate the\nnumber of pixels the element is offset from its original position.",
164       "isStatic" : false,
165       "isConstructor" : false,
166       "isPrivate" : false,
167       "memberOf" : "Roo.dd.DD",
168       "example" : "",
169       "deprecated" : "",
170       "since" : "",
171       "see" : "",
172       "params" : [
173         {
174           "name" : "iPageX",
175           "type" : "",
176           "desc" : "the current x position (optional, this just makes it so we\ndon't have to look it up again)",
177           "isOptional" : false
178         },
179         {
180           "name" : "iPageY",
181           "type" : "",
182           "desc" : "the current y position (optional, this just makes it so we\ndon't have to look it up again)",
183           "isOptional" : false
184         }
185       ],
186       "returns" : []
187     },
188     {
189       "name" : "setHandleElId",
190       "desc" : "Allows you to specify a child of the linked element that should be\nused to initiate the drag operation.  An example of this would be if\nyou have a content div with text and links.  Clicking anywhere in the\ncontent area would normally start the drag operation.  Use this method\nto specify that an element inside of the content div is the element\nthat starts the drag operation.",
191       "isStatic" : false,
192       "isConstructor" : false,
193       "isPrivate" : false,
194       "memberOf" : "Roo.dd.DragDrop",
195       "example" : "",
196       "deprecated" : "",
197       "since" : "",
198       "see" : "",
199       "params" : [
200         {
201           "name" : "id",
202           "type" : "",
203           "desc" : "{string} the id of the element that will be used to\ninitiate the drag.",
204           "isOptional" : false
205         }
206       ],
207       "returns" : []
208     },
209     {
210       "name" : "init",
211       "desc" : "Sets up the DragDrop object.  Must be called in the constructor of any\nRoo.dd.DragDrop subclass",
212       "isStatic" : false,
213       "isConstructor" : false,
214       "isPrivate" : false,
215       "memberOf" : "Roo.dd.DragDrop",
216       "example" : "",
217       "deprecated" : "",
218       "since" : "",
219       "see" : "",
220       "params" : [
221         {
222           "name" : "id",
223           "type" : "",
224           "desc" : "the id of the linked element",
225           "isOptional" : false
226         },
227         {
228           "name" : "sGroup",
229           "type" : "String",
230           "desc" : "the group of related items",
231           "isOptional" : false
232         },
233         {
234           "name" : "config",
235           "type" : "object",
236           "desc" : "configuration attributes",
237           "isOptional" : false
238         }
239       ],
240       "returns" : []
241     },
242     {
243       "name" : "removeInvalidHandleType",
244       "desc" : "Unsets an excluded tag name set by addInvalidHandleType",
245       "isStatic" : false,
246       "isConstructor" : false,
247       "isPrivate" : false,
248       "memberOf" : "Roo.dd.DragDrop",
249       "example" : "",
250       "deprecated" : "",
251       "since" : "",
252       "see" : "",
253       "params" : [
254         {
255           "name" : "tagName",
256           "type" : "string",
257           "desc" : "the type of element to unexclude",
258           "isOptional" : false
259         }
260       ],
261       "returns" : []
262     },
263     {
264       "name" : "unreg",
265       "desc" : "Remove all drag and drop hooks for this element",
266       "isStatic" : false,
267       "isConstructor" : false,
268       "isPrivate" : false,
269       "memberOf" : "Roo.dd.DragDrop",
270       "example" : "",
271       "deprecated" : "",
272       "since" : "",
273       "see" : "",
274       "params" : [],
275       "returns" : []
276     },
277     {
278       "name" : "addInvalidHandleType",
279       "desc" : "Allows you to specify a tag name that should not start a drag operation\nwhen clicked.  This is designed to facilitate embedding links within a\ndrag handle that do something other than start the drag.",
280       "isStatic" : false,
281       "isConstructor" : false,
282       "isPrivate" : false,
283       "memberOf" : "Roo.dd.DragDrop",
284       "example" : "",
285       "deprecated" : "",
286       "since" : "",
287       "see" : "",
288       "params" : [
289         {
290           "name" : "tagName",
291           "type" : "string",
292           "desc" : "the type of element to exclude",
293           "isOptional" : false
294         }
295       ],
296       "returns" : []
297     },
298     {
299       "name" : "onDragDrop",
300       "desc" : "Abstract method called when this item is dropped on another DragDrop\nobj",
301       "isStatic" : false,
302       "isConstructor" : false,
303       "isPrivate" : false,
304       "memberOf" : "Roo.dd.DragDrop",
305       "example" : "",
306       "deprecated" : "",
307       "since" : "",
308       "see" : "",
309       "params" : [
310         {
311           "name" : "e",
312           "type" : "Event",
313           "desc" : "the mouseup event",
314           "isOptional" : false
315         },
316         {
317           "name" : "id",
318           "type" : "String|DragDrop[]",
319           "desc" : "In POINT mode, the element\nid this was dropped on.  In INTERSECT mode, an array of dd items this\nwas dropped on.",
320           "isOptional" : false
321         }
322       ],
323       "returns" : []
324     },
325     {
326       "name" : "removeInvalidHandleId",
327       "desc" : "Unsets an invalid handle id",
328       "isStatic" : false,
329       "isConstructor" : false,
330       "isPrivate" : false,
331       "memberOf" : "Roo.dd.DragDrop",
332       "example" : "",
333       "deprecated" : "",
334       "since" : "",
335       "see" : "",
336       "params" : [
337         {
338           "name" : "id",
339           "type" : "string",
340           "desc" : "the id of the element to re-enable",
341           "isOptional" : false
342         }
343       ],
344       "returns" : []
345     },
346     {
347       "name" : "onAvailable",
348       "desc" : "Override the onAvailable method to do what is needed after the initial\nposition was determined.",
349       "isStatic" : false,
350       "isConstructor" : false,
351       "isPrivate" : false,
352       "memberOf" : "Roo.dd.DragDrop",
353       "example" : "",
354       "deprecated" : "",
355       "since" : "",
356       "see" : "",
357       "params" : [],
358       "returns" : []
359     },
360     {
361       "name" : "setOuterHandleElId",
362       "desc" : "Allows you to set an element outside of the linked element as a drag\nhandle",
363       "isStatic" : false,
364       "isConstructor" : false,
365       "isPrivate" : false,
366       "memberOf" : "Roo.dd.DragDrop",
367       "example" : "",
368       "deprecated" : "",
369       "since" : "",
370       "see" : "",
371       "params" : [
372         {
373           "name" : "id",
374           "type" : "",
375           "desc" : "the id of the element that will be used to initiate the drag",
376           "isOptional" : false
377         }
378       ],
379       "returns" : []
380     },
381     {
382       "name" : "onMouseUp",
383       "desc" : "Event handler that fires when a drag/drop obj gets a mouseup",
384       "isStatic" : false,
385       "isConstructor" : false,
386       "isPrivate" : false,
387       "memberOf" : "Roo.dd.DragDrop",
388       "example" : "",
389       "deprecated" : "",
390       "since" : "",
391       "see" : "",
392       "params" : [
393         {
394           "name" : "e",
395           "type" : "Event",
396           "desc" : "the mouseup event",
397           "isOptional" : false
398         }
399       ],
400       "returns" : []
401     },
402     {
403       "name" : "getDragEl",
404       "desc" : "Returns a reference to the actual element to drag.  By default this is\nthe same as the html element, but it can be assigned to another\nelement. An example of this can be found in Roo.dd.DDProxy",
405       "isStatic" : false,
406       "isConstructor" : false,
407       "isPrivate" : false,
408       "memberOf" : "Roo.dd.DragDrop",
409       "example" : "",
410       "deprecated" : "",
411       "since" : "",
412       "see" : "",
413       "params" : [],
414       "returns" : [
415         {
416           "name" : "",
417           "type" : "HTMLElement",
418           "desc" : "the html element"
419         }
420       ]
421     },
422     {
423       "name" : "setYConstraint",
424       "desc" : "By default, the element can be dragged any place on the screen.  Set\nthis to limit the vertical travel of the element.  Pass in 0,0 for the\nparameters if you want to lock the drag to the x axis.",
425       "isStatic" : false,
426       "isConstructor" : false,
427       "isPrivate" : false,
428       "memberOf" : "Roo.dd.DragDrop",
429       "example" : "",
430       "deprecated" : "",
431       "since" : "",
432       "see" : "",
433       "params" : [
434         {
435           "name" : "iUp",
436           "type" : "int",
437           "desc" : "the number of pixels the element can move up",
438           "isOptional" : false
439         },
440         {
441           "name" : "iDown",
442           "type" : "int",
443           "desc" : "the number of pixels the element can move down",
444           "isOptional" : false
445         },
446         {
447           "name" : "iTickSize",
448           "type" : "int",
449           "desc" : "optional parameter for specifying that the\nelement should move iTickSize pixels at a time.",
450           "isOptional" : false
451         }
452       ],
453       "returns" : []
454     },
455     {
456       "name" : "clearConstraints",
457       "desc" : "Clears any constraints applied to this instance.  Also clears ticks\nsince they can't exist independent of a constraint at this time.",
458       "isStatic" : false,
459       "isConstructor" : false,
460       "isPrivate" : false,
461       "memberOf" : "Roo.dd.DragDrop",
462       "example" : "",
463       "deprecated" : "",
464       "since" : "",
465       "see" : "",
466       "params" : [],
467       "returns" : []
468     },
469     {
470       "name" : "onInvalidDrop",
471       "desc" : "Abstract method called when this item is dropped on an area with no\ndrop target",
472       "isStatic" : false,
473       "isConstructor" : false,
474       "isPrivate" : false,
475       "memberOf" : "Roo.dd.DragDrop",
476       "example" : "",
477       "deprecated" : "",
478       "since" : "",
479       "see" : "",
480       "params" : [
481         {
482           "name" : "e",
483           "type" : "Event",
484           "desc" : "the mouseup event",
485           "isOptional" : false
486         }
487       ],
488       "returns" : []
489     },
490     {
491       "name" : "addInvalidHandleId",
492       "desc" : "Lets you to specify an element id for a child of a drag handle\nthat should not initiate a drag",
493       "isStatic" : false,
494       "isConstructor" : false,
495       "isPrivate" : false,
496       "memberOf" : "Roo.dd.DragDrop",
497       "example" : "",
498       "deprecated" : "",
499       "since" : "",
500       "see" : "",
501       "params" : [
502         {
503           "name" : "id",
504           "type" : "string",
505           "desc" : "the element id of the element you wish to ignore",
506           "isOptional" : false
507         }
508       ],
509       "returns" : []
510     },
511     {
512       "name" : "removeInvalidHandleClass",
513       "desc" : "Unsets an invalid css class",
514       "isStatic" : false,
515       "isConstructor" : false,
516       "isPrivate" : false,
517       "memberOf" : "Roo.dd.DragDrop",
518       "example" : "",
519       "deprecated" : "",
520       "since" : "",
521       "see" : "",
522       "params" : [
523         {
524           "name" : "cssClass",
525           "type" : "string",
526           "desc" : "the class of the element(s) you wish to\nre-enable",
527           "isOptional" : false
528         }
529       ],
530       "returns" : []
531     },
532     {
533       "name" : "onDragOut",
534       "desc" : "Abstract method called when we are no longer hovering over an element",
535       "isStatic" : false,
536       "isConstructor" : false,
537       "isPrivate" : false,
538       "memberOf" : "Roo.dd.DragDrop",
539       "example" : "",
540       "deprecated" : "",
541       "since" : "",
542       "see" : "",
543       "params" : [
544         {
545           "name" : "e",
546           "type" : "Event",
547           "desc" : "the mousemove event",
548           "isOptional" : false
549         },
550         {
551           "name" : "id",
552           "type" : "String|DragDrop[]",
553           "desc" : "In POINT mode, the element\nid this was hovering over.  In INTERSECT mode, an array of dd items\nthat the mouse is no longer over.",
554           "isOptional" : false
555         }
556       ],
557       "returns" : []
558     },
559     {
560       "name" : "setDragElId",
561       "desc" : "Allows you to specify that an element other than the linked element\nwill be moved with the cursor during a drag",
562       "isStatic" : false,
563       "isConstructor" : false,
564       "isPrivate" : false,
565       "memberOf" : "Roo.dd.DragDrop",
566       "example" : "",
567       "deprecated" : "",
568       "since" : "",
569       "see" : "",
570       "params" : [
571         {
572           "name" : "id",
573           "type" : "",
574           "desc" : "{string} the id of the element that will be used to initiate the drag",
575           "isOptional" : false
576         }
577       ],
578       "returns" : []
579     },
580     {
581       "name" : "endDrag",
582       "desc" : "Fired when we are done dragging the object",
583       "isStatic" : false,
584       "isConstructor" : false,
585       "isPrivate" : false,
586       "memberOf" : "Roo.dd.DragDrop",
587       "example" : "",
588       "deprecated" : "",
589       "since" : "",
590       "see" : "",
591       "params" : [
592         {
593           "name" : "e",
594           "type" : "Event",
595           "desc" : "the mouseup event",
596           "isOptional" : false
597         }
598       ],
599       "returns" : []
600     },
601     {
602       "name" : "getEl",
603       "desc" : "Returns a reference to the linked element",
604       "isStatic" : false,
605       "isConstructor" : false,
606       "isPrivate" : false,
607       "memberOf" : "Roo.dd.DragDrop",
608       "example" : "",
609       "deprecated" : "",
610       "since" : "",
611       "see" : "",
612       "params" : [],
613       "returns" : [
614         {
615           "name" : "",
616           "type" : "HTMLElement",
617           "desc" : "the html element"
618         }
619       ]
620     },
621     {
622       "name" : "onDrag",
623       "desc" : "Abstract method called during the onMouseMove event while dragging an\nobject.",
624       "isStatic" : false,
625       "isConstructor" : false,
626       "isPrivate" : false,
627       "memberOf" : "Roo.dd.DragDrop",
628       "example" : "",
629       "deprecated" : "",
630       "since" : "",
631       "see" : "",
632       "params" : [
633         {
634           "name" : "e",
635           "type" : "Event",
636           "desc" : "the mousemove event",
637           "isOptional" : false
638         }
639       ],
640       "returns" : []
641     },
642     {
643       "name" : "onDragEnter",
644       "desc" : "Abstract method called when this element fist begins hovering over\nanother DragDrop obj",
645       "isStatic" : false,
646       "isConstructor" : false,
647       "isPrivate" : false,
648       "memberOf" : "Roo.dd.DragDrop",
649       "example" : "",
650       "deprecated" : "",
651       "since" : "",
652       "see" : "",
653       "params" : [
654         {
655           "name" : "e",
656           "type" : "Event",
657           "desc" : "the mousemove event",
658           "isOptional" : false
659         },
660         {
661           "name" : "id",
662           "type" : "String|DragDrop[]",
663           "desc" : "In POINT mode, the element\nid this is hovering over.  In INTERSECT mode, an array of one or more\ndragdrop items being hovered over.",
664           "isOptional" : false
665         }
666       ],
667       "returns" : []
668     },
669     {
670       "name" : "lock",
671       "desc" : "Lock this instance",
672       "isStatic" : false,
673       "isConstructor" : false,
674       "isPrivate" : false,
675       "memberOf" : "Roo.dd.DragDrop",
676       "example" : "",
677       "deprecated" : "",
678       "since" : "",
679       "see" : "",
680       "params" : [],
681       "returns" : []
682     },
683     {
684       "name" : "onMouseDown",
685       "desc" : "Event handler that fires when a drag/drop obj gets a mousedown",
686       "isStatic" : false,
687       "isConstructor" : false,
688       "isPrivate" : false,
689       "memberOf" : "Roo.dd.DragDrop",
690       "example" : "",
691       "deprecated" : "",
692       "since" : "",
693       "see" : "",
694       "params" : [
695         {
696           "name" : "e",
697           "type" : "Event",
698           "desc" : "the mousedown event",
699           "isOptional" : false
700         }
701       ],
702       "returns" : []
703     },
704     {
705       "name" : "applyConfig",
706       "desc" : "Applies the configuration parameters that were passed into the constructor.\nThis is supposed to happen at each level through the inheritance chain.  So\na DDProxy implentation will execute apply config on DDProxy, DD, and\nDragDrop in order to get all of the parameters that are available in\neach object.",
707       "isStatic" : false,
708       "isConstructor" : false,
709       "isPrivate" : false,
710       "memberOf" : "Roo.dd.DragDrop",
711       "example" : "",
712       "deprecated" : "",
713       "since" : "",
714       "see" : "",
715       "params" : [],
716       "returns" : []
717     },
718     {
719       "name" : "unlock",
720       "desc" : "Unlock this instace",
721       "isStatic" : false,
722       "isConstructor" : false,
723       "isPrivate" : false,
724       "memberOf" : "Roo.dd.DragDrop",
725       "example" : "",
726       "deprecated" : "",
727       "since" : "",
728       "see" : "",
729       "params" : [],
730       "returns" : []
731     },
732     {
733       "name" : "isTarget",
734       "desc" : "By default, all insances can be a drop target.  This can be disabled by\nsetting isTarget to false.",
735       "isStatic" : false,
736       "isConstructor" : false,
737       "isPrivate" : false,
738       "memberOf" : "Roo.dd.DragDrop",
739       "example" : "",
740       "deprecated" : "",
741       "since" : "",
742       "see" : "",
743       "params" : [],
744       "returns" : []
745     },
746     {
747       "name" : "setInitPosition",
748       "desc" : "Stores the initial placement of the linked element.",
749       "isStatic" : false,
750       "isConstructor" : false,
751       "isPrivate" : false,
752       "memberOf" : "Roo.dd.DragDrop",
753       "example" : "",
754       "deprecated" : "",
755       "since" : "",
756       "see" : "",
757       "params" : [
758         {
759           "name" : "diffX",
760           "type" : "int",
761           "desc" : "the X offset, default 0",
762           "isOptional" : false
763         },
764         {
765           "name" : "diffY",
766           "type" : "int",
767           "desc" : "the Y offset, default 0",
768           "isOptional" : false
769         }
770       ],
771       "returns" : []
772     },
773     {
774       "name" : "initTarget",
775       "desc" : "Initializes Targeting functionality only... the object does not\nget a mousedown handler.",
776       "isStatic" : false,
777       "isConstructor" : false,
778       "isPrivate" : false,
779       "memberOf" : "Roo.dd.DragDrop",
780       "example" : "",
781       "deprecated" : "",
782       "since" : "",
783       "see" : "",
784       "params" : [
785         {
786           "name" : "id",
787           "type" : "",
788           "desc" : "the id of the linked element",
789           "isOptional" : false
790         },
791         {
792           "name" : "sGroup",
793           "type" : "String",
794           "desc" : "the group of related items",
795           "isOptional" : false
796         },
797         {
798           "name" : "config",
799           "type" : "object",
800           "desc" : "configuration attributes",
801           "isOptional" : false
802         }
803       ],
804       "returns" : []
805     },
806     {
807       "name" : "addToGroup",
808       "desc" : "Add this instance to a group of related drag/drop objects.  All\ninstances belong to at least one group, and can belong to as many\ngroups as needed.",
809       "isStatic" : false,
810       "isConstructor" : false,
811       "isPrivate" : false,
812       "memberOf" : "Roo.dd.DragDrop",
813       "example" : "",
814       "deprecated" : "",
815       "since" : "",
816       "see" : "",
817       "params" : [
818         {
819           "name" : "sGroup",
820           "type" : "",
821           "desc" : "{string} the name of the group",
822           "isOptional" : false
823         }
824       ],
825       "returns" : []
826     },
827     {
828       "name" : "onDragOver",
829       "desc" : "Abstract method called when this element is hovering over another\nDragDrop obj",
830       "isStatic" : false,
831       "isConstructor" : false,
832       "isPrivate" : false,
833       "memberOf" : "Roo.dd.DragDrop",
834       "example" : "",
835       "deprecated" : "",
836       "since" : "",
837       "see" : "",
838       "params" : [
839         {
840           "name" : "e",
841           "type" : "Event",
842           "desc" : "the mousemove event",
843           "isOptional" : false
844         },
845         {
846           "name" : "id",
847           "type" : "String|DragDrop[]",
848           "desc" : "In POINT mode, the element\nid this is hovering over.  In INTERSECT mode, an array of dd items\nbeing hovered over.",
849           "isOptional" : false
850         }
851       ],
852       "returns" : []
853     },
854     {
855       "name" : "toString",
856       "desc" : "toString method",
857       "isStatic" : false,
858       "isConstructor" : false,
859       "isPrivate" : false,
860       "memberOf" : "Roo.dd.DragDrop",
861       "example" : "",
862       "deprecated" : "",
863       "since" : "",
864       "see" : "",
865       "params" : [],
866       "returns" : [
867         {
868           "name" : "",
869           "type" : "string",
870           "desc" : "string representation of the dd obj"
871         }
872       ]
873     },
874     {
875       "name" : "setPadding",
876       "desc" : "Configures the padding for the target zone in px.  Effectively expands\n(or reduces) the virtual object size for targeting calculations.\nSupports css-style shorthand; if only one parameter is passed, all sides\nwill have that padding, and if only two are passed, the top and bottom\nwill have the first param, the left and right the second.",
877       "isStatic" : false,
878       "isConstructor" : false,
879       "isPrivate" : false,
880       "memberOf" : "Roo.dd.DragDrop",
881       "example" : "",
882       "deprecated" : "",
883       "since" : "",
884       "see" : "",
885       "params" : [
886         {
887           "name" : "iTop",
888           "type" : "int",
889           "desc" : "Top pad",
890           "isOptional" : false
891         },
892         {
893           "name" : "iRight",
894           "type" : "int",
895           "desc" : "Right pad",
896           "isOptional" : false
897         },
898         {
899           "name" : "iBot",
900           "type" : "int",
901           "desc" : "Bot pad",
902           "isOptional" : false
903         },
904         {
905           "name" : "iLeft",
906           "type" : "int",
907           "desc" : "Left pad",
908           "isOptional" : false
909         }
910       ],
911       "returns" : []
912     },
913     {
914       "name" : "removeFromGroup",
915       "desc" : "Remove's this instance from the supplied interaction group",
916       "isStatic" : false,
917       "isConstructor" : false,
918       "isPrivate" : false,
919       "memberOf" : "Roo.dd.DragDrop",
920       "example" : "",
921       "deprecated" : "",
922       "since" : "",
923       "see" : "",
924       "params" : [
925         {
926           "name" : "sGroup",
927           "type" : "string",
928           "desc" : "The group to drop",
929           "isOptional" : false
930         }
931       ],
932       "returns" : []
933     },
934     {
935       "name" : "addInvalidHandleClass",
936       "desc" : "Lets you specify a css class of elements that will not initiate a drag",
937       "isStatic" : false,
938       "isConstructor" : false,
939       "isPrivate" : false,
940       "memberOf" : "Roo.dd.DragDrop",
941       "example" : "",
942       "deprecated" : "",
943       "since" : "",
944       "see" : "",
945       "params" : [
946         {
947           "name" : "cssClass",
948           "type" : "string",
949           "desc" : "the class of the elements you wish to ignore",
950           "isOptional" : false
951         }
952       ],
953       "returns" : []
954     },
955     {
956       "name" : "startDrag",
957       "desc" : "Abstract method called after a drag/drop object is clicked\nand the drag or mousedown time thresholds have beeen met.",
958       "isStatic" : false,
959       "isConstructor" : false,
960       "isPrivate" : false,
961       "memberOf" : "Roo.dd.DragDrop",
962       "example" : "",
963       "deprecated" : "",
964       "since" : "",
965       "see" : "",
966       "params" : [
967         {
968           "name" : "X",
969           "type" : "int",
970           "desc" : "click location",
971           "isOptional" : false
972         },
973         {
974           "name" : "Y",
975           "type" : "int",
976           "desc" : "click location",
977           "isOptional" : false
978         }
979       ],
980       "returns" : []
981     },
982     {
983       "name" : "padding",
984       "desc" : "The padding configured for this drag and drop object for calculating\nthe drop zone intersection with this object.",
985       "isStatic" : false,
986       "isConstructor" : false,
987       "isPrivate" : false,
988       "memberOf" : "Roo.dd.DragDrop",
989       "example" : "",
990       "deprecated" : "",
991       "since" : "",
992       "see" : "",
993       "params" : [],
994       "returns" : []
995     },
996     {
997       "name" : "resetConstraints",
998       "desc" : "resetConstraints must be called if you manually reposition a dd element.",
999       "isStatic" : false,
1000       "isConstructor" : false,
1001       "isPrivate" : false,
1002       "memberOf" : "Roo.dd.DragDrop",
1003       "example" : "",
1004       "deprecated" : "",
1005       "since" : "",
1006       "see" : "",
1007       "params" : [
1008         {
1009           "name" : "maintainOffset",
1010           "type" : "boolean",
1011           "desc" : "",
1012           "isOptional" : false
1013         }
1014       ],
1015       "returns" : []
1016     },
1017     {
1018       "name" : "clearTicks",
1019       "desc" : "Clears any tick interval defined for this instance",
1020       "isStatic" : false,
1021       "isConstructor" : false,
1022       "isPrivate" : false,
1023       "memberOf" : "Roo.dd.DragDrop",
1024       "example" : "",
1025       "deprecated" : "",
1026       "since" : "",
1027       "see" : "",
1028       "params" : [],
1029       "returns" : []
1030     },
1031     {
1032       "name" : "isLocked",
1033       "desc" : "Returns true if this instance is locked, or the drag drop mgr is locked\n(meaning that all drag/drop is disabled on the page.)",
1034       "isStatic" : false,
1035       "isConstructor" : false,
1036       "isPrivate" : false,
1037       "memberOf" : "Roo.dd.DragDrop",
1038       "example" : "",
1039       "deprecated" : "",
1040       "since" : "",
1041       "see" : "",
1042       "params" : [],
1043       "returns" : [
1044         {
1045           "name" : "",
1046           "type" : "boolean",
1047           "desc" : "true if this obj or all drag/drop is locked, else\nfalse"
1048         }
1049       ]
1050     },
1051     {
1052       "name" : "setXConstraint",
1053       "desc" : "By default, the element can be dragged any place on the screen.  Use\nthis method to limit the horizontal travel of the element.  Pass in\n0,0 for the parameters if you want to lock the drag to the y axis.",
1054       "isStatic" : false,
1055       "isConstructor" : false,
1056       "isPrivate" : false,
1057       "memberOf" : "Roo.dd.DragDrop",
1058       "example" : "",
1059       "deprecated" : "",
1060       "since" : "",
1061       "see" : "",
1062       "params" : [
1063         {
1064           "name" : "iLeft",
1065           "type" : "int",
1066           "desc" : "the number of pixels the element can move to the left",
1067           "isOptional" : false
1068         },
1069         {
1070           "name" : "iRight",
1071           "type" : "int",
1072           "desc" : "the number of pixels the element can move to the\nright",
1073           "isOptional" : false
1074         },
1075         {
1076           "name" : "iTickSize",
1077           "type" : "int",
1078           "desc" : "optional parameter for specifying that the\nelement\nshould move iTickSize pixels at a time.",
1079           "isOptional" : false
1080         }
1081       ],
1082       "returns" : []
1083     },
1084     {
1085       "name" : "isValidHandleChild",
1086       "desc" : "Checks the tag exclusion list to see if this click should be ignored",
1087       "isStatic" : false,
1088       "isConstructor" : false,
1089       "isPrivate" : false,
1090       "memberOf" : "Roo.dd.DragDrop",
1091       "example" : "",
1092       "deprecated" : "",
1093       "since" : "",
1094       "see" : "",
1095       "params" : [
1096         {
1097           "name" : "node",
1098           "type" : "HTMLElement",
1099           "desc" : "the HTMLElement to evaluate",
1100           "isOptional" : false
1101         }
1102       ],
1103       "returns" : [
1104         {
1105           "name" : "",
1106           "type" : "boolean",
1107           "desc" : "true if this is a valid tag type, false if not"
1108         }
1109       ]
1110     },
1111     {
1112       "name" : "purgeListeners",
1113       "desc" : "Removes all listeners for this object",
1114       "isStatic" : false,
1115       "isConstructor" : false,
1116       "isPrivate" : false,
1117       "memberOf" : "Roo.util.Observable",
1118       "example" : "",
1119       "deprecated" : "",
1120       "since" : "",
1121       "see" : "",
1122       "params" : [],
1123       "returns" : []
1124     },
1125     {
1126       "name" : "on",
1127       "desc" : "Appends an event handler to this element (shorthand for addListener)",
1128       "isStatic" : false,
1129       "isConstructor" : false,
1130       "isPrivate" : false,
1131       "memberOf" : "Roo.util.Observable",
1132       "example" : "",
1133       "deprecated" : "",
1134       "since" : "",
1135       "see" : "",
1136       "params" : [
1137         {
1138           "name" : "eventName",
1139           "type" : "String",
1140           "desc" : "The type of event to listen for",
1141           "isOptional" : false
1142         },
1143         {
1144           "name" : "handler",
1145           "type" : "Function",
1146           "desc" : "The method the event invokes",
1147           "isOptional" : false
1148         },
1149         {
1150           "name" : "scope",
1151           "type" : "Object",
1152           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1153           "isOptional" : false
1154         },
1155         {
1156           "name" : "options",
1157           "type" : "Object",
1158           "desc" : "(optional)",
1159           "isOptional" : false
1160         }
1161       ],
1162       "returns" : []
1163     },
1164     {
1165       "name" : "un",
1166       "desc" : "Removes a listener (shorthand for removeListener)",
1167       "isStatic" : false,
1168       "isConstructor" : false,
1169       "isPrivate" : false,
1170       "memberOf" : "Roo.util.Observable",
1171       "example" : "",
1172       "deprecated" : "",
1173       "since" : "",
1174       "see" : "",
1175       "params" : [
1176         {
1177           "name" : "eventName",
1178           "type" : "String",
1179           "desc" : "The type of event to listen for",
1180           "isOptional" : false
1181         },
1182         {
1183           "name" : "handler",
1184           "type" : "Function",
1185           "desc" : "The handler to remove",
1186           "isOptional" : false
1187         },
1188         {
1189           "name" : "scope",
1190           "type" : "Object",
1191           "desc" : "(optional) The scope (this object) for the handler",
1192           "isOptional" : false
1193         }
1194       ],
1195       "returns" : []
1196     },
1197     {
1198       "name" : "addEvents",
1199       "desc" : "Used to define events on this Observable",
1200       "isStatic" : false,
1201       "isConstructor" : false,
1202       "isPrivate" : false,
1203       "memberOf" : "Roo.util.Observable",
1204       "example" : "",
1205       "deprecated" : "",
1206       "since" : "",
1207       "see" : "",
1208       "params" : [
1209         {
1210           "name" : "object",
1211           "type" : "Object",
1212           "desc" : "The object with the events defined",
1213           "isOptional" : false
1214         }
1215       ],
1216       "returns" : []
1217     },
1218     {
1219       "name" : "releaseCapture",
1220       "desc" : "Removes <b>all</b> added captures from the Observable.",
1221       "isStatic" : true,
1222       "isConstructor" : false,
1223       "isPrivate" : false,
1224       "memberOf" : "Roo.util.Observable",
1225       "example" : "",
1226       "deprecated" : "",
1227       "since" : "",
1228       "see" : "",
1229       "params" : [
1230         {
1231           "name" : "o",
1232           "type" : "Observable",
1233           "desc" : "The Observable to release",
1234           "isOptional" : false
1235         }
1236       ],
1237       "returns" : []
1238     },
1239     {
1240       "name" : "removeListener",
1241       "desc" : "Removes a listener",
1242       "isStatic" : false,
1243       "isConstructor" : false,
1244       "isPrivate" : false,
1245       "memberOf" : "Roo.util.Observable",
1246       "example" : "",
1247       "deprecated" : "",
1248       "since" : "",
1249       "see" : "",
1250       "params" : [
1251         {
1252           "name" : "eventName",
1253           "type" : "String",
1254           "desc" : "The type of event to listen for",
1255           "isOptional" : false
1256         },
1257         {
1258           "name" : "handler",
1259           "type" : "Function",
1260           "desc" : "The handler to remove",
1261           "isOptional" : false
1262         },
1263         {
1264           "name" : "scope",
1265           "type" : "Object",
1266           "desc" : "(optional) The scope (this object) for the handler",
1267           "isOptional" : false
1268         }
1269       ],
1270       "returns" : []
1271     },
1272     {
1273       "name" : "fireEvent",
1274       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
1275       "isStatic" : false,
1276       "isConstructor" : false,
1277       "isPrivate" : false,
1278       "memberOf" : "Roo.util.Observable",
1279       "example" : "",
1280       "deprecated" : "",
1281       "since" : "",
1282       "see" : "",
1283       "params" : [
1284         {
1285           "name" : "eventName",
1286           "type" : "String",
1287           "desc" : "",
1288           "isOptional" : false
1289         },
1290         {
1291           "name" : "args",
1292           "type" : "Object...",
1293           "desc" : "Variable number of parameters are passed to handlers",
1294           "isOptional" : false
1295         }
1296       ],
1297       "returns" : [
1298         {
1299           "name" : "",
1300           "type" : "Boolean",
1301           "desc" : "returns false if any of the handlers return false otherwise it returns true"
1302         }
1303       ]
1304     },
1305     {
1306       "name" : "hasListener",
1307       "desc" : "Checks to see if this object has any listeners for a specified event",
1308       "isStatic" : false,
1309       "isConstructor" : false,
1310       "isPrivate" : false,
1311       "memberOf" : "Roo.util.Observable",
1312       "example" : "",
1313       "deprecated" : "",
1314       "since" : "",
1315       "see" : "",
1316       "params" : [
1317         {
1318           "name" : "eventName",
1319           "type" : "String",
1320           "desc" : "The name of the event to check for",
1321           "isOptional" : false
1322         }
1323       ],
1324       "returns" : [
1325         {
1326           "name" : "",
1327           "type" : "Boolean",
1328           "desc" : "True if the event is being listened for, else false"
1329         }
1330       ]
1331     },
1332     {
1333       "name" : "capture",
1334       "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
1335       "isStatic" : true,
1336       "isConstructor" : false,
1337       "isPrivate" : false,
1338       "memberOf" : "Roo.util.Observable",
1339       "example" : "",
1340       "deprecated" : "",
1341       "since" : "",
1342       "see" : "",
1343       "params" : [
1344         {
1345           "name" : "o",
1346           "type" : "Observable",
1347           "desc" : "The Observable to capture",
1348           "isOptional" : false
1349         },
1350         {
1351           "name" : "fn",
1352           "type" : "Function",
1353           "desc" : "The function to call",
1354           "isOptional" : false
1355         },
1356         {
1357           "name" : "scope",
1358           "type" : "Object",
1359           "desc" : "(optional) The scope (this object) for the fn",
1360           "isOptional" : false
1361         }
1362       ],
1363       "returns" : []
1364     },
1365     {
1366       "name" : "addListener",
1367       "desc" : "Appends an event handler to this component",
1368       "isStatic" : false,
1369       "isConstructor" : false,
1370       "isPrivate" : false,
1371       "memberOf" : "Roo.util.Observable",
1372       "example" : "",
1373       "deprecated" : "",
1374       "since" : "",
1375       "see" : "",
1376       "params" : [
1377         {
1378           "name" : "eventName",
1379           "type" : "String",
1380           "desc" : "The type of event to listen for",
1381           "isOptional" : false
1382         },
1383         {
1384           "name" : "handler",
1385           "type" : "Function",
1386           "desc" : "The method the event invokes",
1387           "isOptional" : false
1388         },
1389         {
1390           "name" : "scope",
1391           "type" : "Object",
1392           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1393           "isOptional" : false
1394         },
1395         {
1396           "name" : "options",
1397           "type" : "Object",
1398           "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:<ul>\n<li>scope {Object} The scope in which to execute the handler function. The handler function's \"this\" context.</li>\n<li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li>\n<li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li>\n<li>buffer {Number} Causes the handler to be scheduled to run in an {@link Roo.util.DelayedTask} delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>\n</ul><br>\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t<pre><code>\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n    \t\tdelay: 100,\n    \t\tforumId: 4\n\t\t});\n\t\t</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n<pre><code>\n\t\tel.on({\n\t\t\t'click': {\n        \t\tfn: this.onClick,\n        \t\tscope: this,\n        \t\tdelay: 100\n    \t\t}, \n    \t\t'mouseover': {\n        \t\tfn: this.onMouseOver,\n        \t\tscope: this\n    \t\t},\n    \t\t'mouseout': {\n        \t\tfn: this.onMouseOut,\n        \t\tscope: this\n    \t\t}\n\t\t});\n\t\t</code></pre>\n<p>\nOr a shorthand syntax which passes the same scope object to all handlers:\n     \t<pre><code>\n\t\tel.on({\n\t\t\t'click': this.onClick,\n    \t\t'mouseover': this.onMouseOver,\n    \t\t'mouseout': this.onMouseOut,\n    \t\tscope: this\n\t\t});\n\t\t</code></pre>",
1399           "isOptional" : false
1400         }
1401       ],
1402       "returns" : []
1403     }
1404   ],
1405   "events" : []
1406 }