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