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