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