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