docs/src/Roo_bootstrap_Card.js.html
[roojs1] / docs / symbols / Roo.dd.DragZone.json
1 {
2   "name" : "Roo.dd.DragZone",
3   "augments" : [
4     "Roo.dd.DragSource",
5     "Roo.dd.DDProxy",
6     "Roo.dd.DD",
7     "Roo.dd.DragDrop",
8     "Roo.util.Observable"
9   ],
10   "desc" : "This class provides a container DD instance that proxies for multiple child node sources.<br />\nBy default, this class requires that draggable child nodes are registered with {@link Roo.dd.Registry}.",
11   "isSingleton" : false,
12   "isStatic" : false,
13   "isBuiltin" : false,
14   "memberOf" : "DragZone",
15   "example" : "",
16   "deprecated" : "",
17   "since" : "",
18   "see" : "",
19   "params" : [
20     {
21       "name" : "el",
22       "type" : "String/HTMLElement/Element",
23       "desc" : "The container element",
24       "isOptional" : false
25     },
26     {
27       "name" : "config",
28       "type" : "Object",
29       "desc" : "",
30       "isOptional" : false
31     }
32   ],
33   "returns" : [
34   ],
35   "config" : [
36     {
37       "name" : "listeners",
38       "type" : "Object",
39       "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>",
40       "memberOf" : "Roo.util.Observable",
41       "optvals" : [
42       ]
43     },
44     {
45       "name" : "dropNotAllowed",
46       "type" : "String",
47       "desc" : "The CSS class returned to the drag source when drop is not allowed (defaults to \"x-dd-drop-nodrop\").",
48       "memberOf" : "Roo.dd.DragSource",
49       "optvals" : [
50       ]
51     },
52     {
53       "name" : "hlColor",
54       "type" : "String",
55       "desc" : "The color to use when visually highlighting the drag source in the afterRepair\nmethod after a failed drop (defaults to \"c3daf9\" - light blue)",
56       "memberOf" : "Roo.dd.DragZone",
57       "optvals" : [
58       ]
59     },
60     {
61       "name" : "dropAllowed",
62       "type" : "String",
63       "desc" : "The CSS class returned to the drag source when drop is allowed (defaults to \"x-dd-drop-ok\").",
64       "memberOf" : "Roo.dd.DragSource",
65       "optvals" : [
66       ]
67     },
68     {
69       "name" : "containerScroll",
70       "type" : "Boolean",
71       "desc" : "True to register this container with the Scrollmanager\nfor auto scrolling during drag operations.",
72       "memberOf" : "Roo.dd.DragZone",
73       "optvals" : [
74       ]
75     }
76   ],
77   "methods" : [
78     {
79       "name" : "getRepairXY",
80       "desc" : "Called before a repair of an invalid drop to get the XY to animate to. By default returns\nthe XY of this.dragData.ddel",
81       "isStatic" : false,
82       "isConstructor" : false,
83       "isPrivate" : false,
84       "memberOf" : "Roo.dd.DragZone",
85       "example" : "",
86       "deprecated" : "",
87       "since" : "",
88       "see" : "",
89       "params" : [
90         {
91           "name" : "e",
92           "type" : "EventObject",
93           "desc" : "The mouse up event",
94           "isOptional" : false
95         }
96       ],
97       "returns" : [
98         {
99           "name" : "",
100           "type" : "Array",
101           "desc" : "The xy location (e.g. [100, 200])"
102         }
103       ]
104     },
105     {
106       "name" : "afterRepair",
107       "desc" : "Called after a repair of an invalid drop. By default, highlights this.dragData.ddel",
108       "isStatic" : false,
109       "isConstructor" : false,
110       "isPrivate" : false,
111       "memberOf" : "Roo.dd.DragZone",
112       "example" : "",
113       "deprecated" : "",
114       "since" : "",
115       "see" : "",
116       "params" : [
117       ],
118       "returns" : [
119       ]
120     },
121     {
122       "name" : "getDragData",
123       "desc" : "Called when a mousedown occurs in this container. Looks in {@link Roo.dd.Registry}\nfor a valid target to drag based on the mouse down. Override this method\nto provide your own lookup logic (e.g. finding a child by class name). Make sure your returned\nobject has a \"ddel\" attribute (with an HTML Element) for other functions to work.",
124       "isStatic" : false,
125       "isConstructor" : false,
126       "isPrivate" : false,
127       "memberOf" : "Roo.dd.DragZone",
128       "example" : "",
129       "deprecated" : "",
130       "since" : "",
131       "see" : "",
132       "params" : [
133         {
134           "name" : "e",
135           "type" : "EventObject",
136           "desc" : "The mouse down event",
137           "isOptional" : false
138         }
139       ],
140       "returns" : [
141         {
142           "name" : "",
143           "type" : "Object",
144           "desc" : "The dragData"
145         }
146       ]
147     },
148     {
149       "name" : "onInitDrag",
150       "desc" : "Called once drag threshold has been reached to initialize the proxy element. By default, it clones the\nthis.dragData.ddel",
151       "isStatic" : false,
152       "isConstructor" : false,
153       "isPrivate" : false,
154       "memberOf" : "Roo.dd.DragZone",
155       "example" : "",
156       "deprecated" : "",
157       "since" : "",
158       "see" : "",
159       "params" : [
160         {
161           "name" : "x",
162           "type" : "Number",
163           "desc" : "The x position of the click on the dragged object",
164           "isOptional" : false
165         },
166         {
167           "name" : "y",
168           "type" : "Number",
169           "desc" : "The y position of the click on the dragged object",
170           "isOptional" : false
171         }
172       ],
173       "returns" : [
174         {
175           "name" : "",
176           "type" : "Boolean",
177           "desc" : "true to continue the drag, false to cancel"
178         }
179       ]
180     },
181     {
182       "name" : "beforeDragEnter",
183       "desc" : "An empty function by default, but provided so that you can perform a custom action\nbefore the dragged item enters the drop target and optionally cancel the onDragEnter.",
184       "isStatic" : false,
185       "isConstructor" : false,
186       "isPrivate" : false,
187       "memberOf" : "Roo.dd.DragSource",
188       "example" : "",
189       "deprecated" : "",
190       "since" : "",
191       "see" : "",
192       "params" : [
193         {
194           "name" : "target",
195           "type" : "Roo.dd.DragDrop",
196           "desc" : "The drop target",
197           "isOptional" : false
198         },
199         {
200           "name" : "e",
201           "type" : "Event",
202           "desc" : "The event object",
203           "isOptional" : false
204         },
205         {
206           "name" : "id",
207           "type" : "String",
208           "desc" : "The id of the dragged element",
209           "isOptional" : false
210         }
211       ],
212       "returns" : [
213         {
214           "name" : "",
215           "type" : "Boolean",
216           "desc" : "isValid True if the drag event is valid, else false to cancel"
217         }
218       ]
219     },
220     {
221       "name" : "hideProxy",
222       "desc" : "Hides the drag source's {@link Roo.dd.StatusProxy}",
223       "isStatic" : false,
224       "isConstructor" : false,
225       "isPrivate" : false,
226       "memberOf" : "Roo.dd.DragSource",
227       "example" : "",
228       "deprecated" : "",
229       "since" : "",
230       "see" : "",
231       "params" : [
232       ],
233       "returns" : [
234       ]
235     },
236     {
237       "name" : "beforeDragOut",
238       "desc" : "An empty function by default, but provided so that you can perform a custom action before the dragged\nitem is dragged out of the target without dropping, and optionally cancel the onDragOut.",
239       "isStatic" : false,
240       "isConstructor" : false,
241       "isPrivate" : false,
242       "memberOf" : "Roo.dd.DragSource",
243       "example" : "",
244       "deprecated" : "",
245       "since" : "",
246       "see" : "",
247       "params" : [
248         {
249           "name" : "target",
250           "type" : "Roo.dd.DragDrop",
251           "desc" : "The drop target",
252           "isOptional" : false
253         },
254         {
255           "name" : "e",
256           "type" : "Event",
257           "desc" : "The event object",
258           "isOptional" : false
259         },
260         {
261           "name" : "id",
262           "type" : "String",
263           "desc" : "The id of the dragged element",
264           "isOptional" : false
265         }
266       ],
267       "returns" : [
268         {
269           "name" : "",
270           "type" : "Boolean",
271           "desc" : "isValid True if the drag event is valid, else false to cancel"
272         }
273       ]
274     },
275     {
276       "name" : "beforeInvalidDrop",
277       "desc" : "An empty function by default, but provided so that you can perform a custom action after an invalid\ndrop has occurred.",
278       "isStatic" : false,
279       "isConstructor" : false,
280       "isPrivate" : false,
281       "memberOf" : "Roo.dd.DragSource",
282       "example" : "",
283       "deprecated" : "",
284       "since" : "",
285       "see" : "",
286       "params" : [
287         {
288           "name" : "target",
289           "type" : "Roo.dd.DragDrop",
290           "desc" : "The drop target",
291           "isOptional" : false
292         },
293         {
294           "name" : "e",
295           "type" : "Event",
296           "desc" : "The event object",
297           "isOptional" : false
298         },
299         {
300           "name" : "id",
301           "type" : "String",
302           "desc" : "The id of the dragged element",
303           "isOptional" : false
304         }
305       ],
306       "returns" : [
307         {
308           "name" : "",
309           "type" : "Boolean",
310           "desc" : "isValid True if the invalid drop should proceed, else false to cancel"
311         }
312       ]
313     },
314     {
315       "name" : "beforeDragDrop",
316       "desc" : "An empty function by default, but provided so that you can perform a custom action before the dragged\nitem is dropped onto the target and optionally cancel the onDragDrop.",
317       "isStatic" : false,
318       "isConstructor" : false,
319       "isPrivate" : false,
320       "memberOf" : "Roo.dd.DragSource",
321       "example" : "",
322       "deprecated" : "",
323       "since" : "",
324       "see" : "",
325       "params" : [
326         {
327           "name" : "target",
328           "type" : "Roo.dd.DragDrop",
329           "desc" : "The drop target",
330           "isOptional" : false
331         },
332         {
333           "name" : "e",
334           "type" : "Event",
335           "desc" : "The event object",
336           "isOptional" : false
337         },
338         {
339           "name" : "id",
340           "type" : "String",
341           "desc" : "The id of the dragged element",
342           "isOptional" : false
343         }
344       ],
345       "returns" : [
346         {
347           "name" : "",
348           "type" : "Boolean",
349           "desc" : "isValid True if the drag drop event is valid, else false to cancel"
350         }
351       ]
352     },
353     {
354       "name" : "getProxy",
355       "desc" : "Returns the drag source's underlying {@link Roo.dd.StatusProxy}",
356       "isStatic" : false,
357       "isConstructor" : false,
358       "isPrivate" : false,
359       "memberOf" : "Roo.dd.DragSource",
360       "example" : "",
361       "deprecated" : "",
362       "since" : "",
363       "see" : "",
364       "params" : [
365       ],
366       "returns" : [
367         {
368           "name" : "",
369           "type" : "Roo.dd.StatusProxy",
370           "desc" : "proxy The StatusProxy"
371         }
372       ]
373     },
374     {
375       "name" : "onBeforeDrag",
376       "desc" : "An empty function by default, but provided so that you can perform a custom action before the initial\ndrag event begins and optionally cancel it.",
377       "isStatic" : false,
378       "isConstructor" : false,
379       "isPrivate" : false,
380       "memberOf" : "Roo.dd.DragSource",
381       "example" : "",
382       "deprecated" : "",
383       "since" : "",
384       "see" : "",
385       "params" : [
386         {
387           "name" : "data",
388           "type" : "Object",
389           "desc" : "An object containing arbitrary data to be shared with drop targets",
390           "isOptional" : false
391         },
392         {
393           "name" : "e",
394           "type" : "Event",
395           "desc" : "The event object",
396           "isOptional" : false
397         }
398       ],
399       "returns" : [
400         {
401           "name" : "",
402           "type" : "Boolean",
403           "desc" : "isValid True if the drag event is valid, else false to cancel"
404         }
405       ]
406     },
407     {
408       "name" : "onStartDrag",
409       "desc" : "An empty function by default, but provided so that you can perform a custom action once the initial\ndrag event has begun.  The drag cannot be canceled from this function.",
410       "isStatic" : false,
411       "isConstructor" : false,
412       "isPrivate" : false,
413       "memberOf" : "Roo.dd.DragSource",
414       "example" : "",
415       "deprecated" : "",
416       "since" : "",
417       "see" : "",
418       "params" : [
419         {
420           "name" : "x",
421           "type" : "Number",
422           "desc" : "The x position of the click on the dragged object",
423           "isOptional" : false
424         },
425         {
426           "name" : "y",
427           "type" : "Number",
428           "desc" : "The y position of the click on the dragged object",
429           "isOptional" : false
430         }
431       ],
432       "returns" : [
433       ]
434     },
435     {
436       "name" : "beforeDragOver",
437       "desc" : "An empty function by default, but provided so that you can perform a custom action\nwhile the dragged item is over the drop target and optionally cancel the onDragOver.",
438       "isStatic" : false,
439       "isConstructor" : false,
440       "isPrivate" : false,
441       "memberOf" : "Roo.dd.DragSource",
442       "example" : "",
443       "deprecated" : "",
444       "since" : "",
445       "see" : "",
446       "params" : [
447         {
448           "name" : "target",
449           "type" : "Roo.dd.DragDrop",
450           "desc" : "The drop target",
451           "isOptional" : false
452         },
453         {
454           "name" : "e",
455           "type" : "Event",
456           "desc" : "The event object",
457           "isOptional" : false
458         },
459         {
460           "name" : "id",
461           "type" : "String",
462           "desc" : "The id of the dragged element",
463           "isOptional" : false
464         }
465       ],
466       "returns" : [
467         {
468           "name" : "",
469           "type" : "Boolean",
470           "desc" : "isValid True if the drag event is valid, else false to cancel"
471         }
472       ]
473     },
474     {
475       "name" : "initFrame",
476       "desc" : "Initialization for the drag frame element.  Must be called in the\nconstructor of all subclasses",
477       "isStatic" : false,
478       "isConstructor" : false,
479       "isPrivate" : false,
480       "memberOf" : "Roo.dd.DDProxy",
481       "example" : "",
482       "deprecated" : "",
483       "since" : "",
484       "see" : "",
485       "params" : [
486       ],
487       "returns" : [
488       ]
489     },
490     {
491       "name" : "createFrame",
492       "desc" : "Creates the proxy element if it does not yet exist",
493       "isStatic" : false,
494       "isConstructor" : false,
495       "isPrivate" : false,
496       "memberOf" : "Roo.dd.DDProxy",
497       "example" : "",
498       "deprecated" : "",
499       "since" : "",
500       "see" : "",
501       "params" : [
502       ],
503       "returns" : [
504       ]
505     },
506     {
507       "name" : "alignElWithMouse",
508       "desc" : "Sets the element to the location of the mousedown or click event,\nmaintaining the cursor location relative to the location on the element\nthat was clicked.  Override this if you want to place the element in a\nlocation other than where the cursor is.",
509       "isStatic" : false,
510       "isConstructor" : false,
511       "isPrivate" : false,
512       "memberOf" : "Roo.dd.DD",
513       "example" : "",
514       "deprecated" : "",
515       "since" : "",
516       "see" : "",
517       "params" : [
518         {
519           "name" : "el",
520           "type" : "HTMLElement",
521           "desc" : "the element to move",
522           "isOptional" : false
523         },
524         {
525           "name" : "iPageX",
526           "type" : "int",
527           "desc" : "the X coordinate of the mousedown or drag event",
528           "isOptional" : false
529         },
530         {
531           "name" : "iPageY",
532           "type" : "int",
533           "desc" : "the Y coordinate of the mousedown or drag event",
534           "isOptional" : false
535         }
536       ],
537       "returns" : [
538       ]
539     },
540     {
541       "name" : "setDelta",
542       "desc" : "Sets the pointer offset.  You can call this directly to force the\noffset to be in a particular location (e.g., pass in 0,0 to set it\nto the center of the object)",
543       "isStatic" : false,
544       "isConstructor" : false,
545       "isPrivate" : false,
546       "memberOf" : "Roo.dd.DD",
547       "example" : "",
548       "deprecated" : "",
549       "since" : "",
550       "see" : "",
551       "params" : [
552         {
553           "name" : "iDeltaX",
554           "type" : "int",
555           "desc" : "the distance from the left",
556           "isOptional" : false
557         },
558         {
559           "name" : "iDeltaY",
560           "type" : "int",
561           "desc" : "the distance from the top",
562           "isOptional" : false
563         }
564       ],
565       "returns" : [
566       ]
567     },
568     {
569       "name" : "autoOffset",
570       "desc" : "Sets the pointer offset to the distance between the linked element's top\nleft corner and the location the element was clicked",
571       "isStatic" : false,
572       "isConstructor" : false,
573       "isPrivate" : false,
574       "memberOf" : "Roo.dd.DD",
575       "example" : "",
576       "deprecated" : "",
577       "since" : "",
578       "see" : "",
579       "params" : [
580         {
581           "name" : "iPageX",
582           "type" : "int",
583           "desc" : "the X coordinate of the click",
584           "isOptional" : false
585         },
586         {
587           "name" : "iPageY",
588           "type" : "int",
589           "desc" : "the Y coordinate of the click",
590           "isOptional" : false
591         }
592       ],
593       "returns" : [
594       ]
595     },
596     {
597       "name" : "setDragElPos",
598       "desc" : "Sets the drag element to the location of the mousedown or click event,\nmaintaining the cursor location relative to the location on the element\nthat was clicked.  Override this if you want to place the element in a\nlocation other than where the cursor is.",
599       "isStatic" : false,
600       "isConstructor" : false,
601       "isPrivate" : false,
602       "memberOf" : "Roo.dd.DD",
603       "example" : "",
604       "deprecated" : "",
605       "since" : "",
606       "see" : "",
607       "params" : [
608         {
609           "name" : "iPageX",
610           "type" : "int",
611           "desc" : "the X coordinate of the mousedown or drag event",
612           "isOptional" : false
613         },
614         {
615           "name" : "iPageY",
616           "type" : "int",
617           "desc" : "the Y coordinate of the mousedown or drag event",
618           "isOptional" : false
619         }
620       ],
621       "returns" : [
622       ]
623     },
624     {
625       "name" : "cachePosition",
626       "desc" : "Saves the most recent position so that we can reset the constraints and\ntick marks on-demand.  We need to know this so that we can calculate the\nnumber of pixels the element is offset from its original position.",
627       "isStatic" : false,
628       "isConstructor" : false,
629       "isPrivate" : false,
630       "memberOf" : "Roo.dd.DD",
631       "example" : "",
632       "deprecated" : "",
633       "since" : "",
634       "see" : "",
635       "params" : [
636         {
637           "name" : "iPageX",
638           "type" : "",
639           "desc" : "the current x position (optional, this just makes it so we\ndon't have to look it up again)",
640           "isOptional" : false
641         },
642         {
643           "name" : "iPageY",
644           "type" : "",
645           "desc" : "the current y position (optional, this just makes it so we\ndon't have to look it up again)",
646           "isOptional" : false
647         }
648       ],
649       "returns" : [
650       ]
651     },
652     {
653       "name" : "setHandleElId",
654       "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.",
655       "isStatic" : false,
656       "isConstructor" : false,
657       "isPrivate" : false,
658       "memberOf" : "Roo.dd.DragDrop",
659       "example" : "",
660       "deprecated" : "",
661       "since" : "",
662       "see" : "",
663       "params" : [
664         {
665           "name" : "id",
666           "type" : "",
667           "desc" : "{string} the id of the element that will be used to\ninitiate the drag.",
668           "isOptional" : false
669         }
670       ],
671       "returns" : [
672       ]
673     },
674     {
675       "name" : "init",
676       "desc" : "Sets up the DragDrop object.  Must be called in the constructor of any\nRoo.dd.DragDrop subclass",
677       "isStatic" : false,
678       "isConstructor" : false,
679       "isPrivate" : false,
680       "memberOf" : "Roo.dd.DragDrop",
681       "example" : "",
682       "deprecated" : "",
683       "since" : "",
684       "see" : "",
685       "params" : [
686         {
687           "name" : "id",
688           "type" : "",
689           "desc" : "the id of the linked element",
690           "isOptional" : false
691         },
692         {
693           "name" : "sGroup",
694           "type" : "String",
695           "desc" : "the group of related items",
696           "isOptional" : false
697         },
698         {
699           "name" : "config",
700           "type" : "object",
701           "desc" : "configuration attributes",
702           "isOptional" : false
703         }
704       ],
705       "returns" : [
706       ]
707     },
708     {
709       "name" : "removeInvalidHandleType",
710       "desc" : "Unsets an excluded tag name set by addInvalidHandleType",
711       "isStatic" : false,
712       "isConstructor" : false,
713       "isPrivate" : false,
714       "memberOf" : "Roo.dd.DragDrop",
715       "example" : "",
716       "deprecated" : "",
717       "since" : "",
718       "see" : "",
719       "params" : [
720         {
721           "name" : "tagName",
722           "type" : "string",
723           "desc" : "the type of element to unexclude",
724           "isOptional" : false
725         }
726       ],
727       "returns" : [
728       ]
729     },
730     {
731       "name" : "unreg",
732       "desc" : "Remove all drag and drop hooks for this element",
733       "isStatic" : false,
734       "isConstructor" : false,
735       "isPrivate" : false,
736       "memberOf" : "Roo.dd.DragDrop",
737       "example" : "",
738       "deprecated" : "",
739       "since" : "",
740       "see" : "",
741       "params" : [
742       ],
743       "returns" : [
744       ]
745     },
746     {
747       "name" : "addInvalidHandleType",
748       "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.",
749       "isStatic" : false,
750       "isConstructor" : false,
751       "isPrivate" : false,
752       "memberOf" : "Roo.dd.DragDrop",
753       "example" : "",
754       "deprecated" : "",
755       "since" : "",
756       "see" : "",
757       "params" : [
758         {
759           "name" : "tagName",
760           "type" : "string",
761           "desc" : "the type of element to exclude",
762           "isOptional" : false
763         }
764       ],
765       "returns" : [
766       ]
767     },
768     {
769       "name" : "onDragDrop",
770       "desc" : "Abstract method called when this item is dropped on another DragDrop\nobj",
771       "isStatic" : false,
772       "isConstructor" : false,
773       "isPrivate" : false,
774       "memberOf" : "Roo.dd.DragDrop",
775       "example" : "",
776       "deprecated" : "",
777       "since" : "",
778       "see" : "",
779       "params" : [
780         {
781           "name" : "e",
782           "type" : "Event",
783           "desc" : "the mouseup event",
784           "isOptional" : false
785         },
786         {
787           "name" : "id",
788           "type" : "String|DragDrop[]",
789           "desc" : "In POINT mode, the element\nid this was dropped on.  In INTERSECT mode, an array of dd items this\nwas dropped on.",
790           "isOptional" : false
791         }
792       ],
793       "returns" : [
794       ]
795     },
796     {
797       "name" : "removeInvalidHandleId",
798       "desc" : "Unsets an invalid handle id",
799       "isStatic" : false,
800       "isConstructor" : false,
801       "isPrivate" : false,
802       "memberOf" : "Roo.dd.DragDrop",
803       "example" : "",
804       "deprecated" : "",
805       "since" : "",
806       "see" : "",
807       "params" : [
808         {
809           "name" : "id",
810           "type" : "string",
811           "desc" : "the id of the element to re-enable",
812           "isOptional" : false
813         }
814       ],
815       "returns" : [
816       ]
817     },
818     {
819       "name" : "onAvailable",
820       "desc" : "Override the onAvailable method to do what is needed after the initial\nposition was determined.",
821       "isStatic" : false,
822       "isConstructor" : false,
823       "isPrivate" : false,
824       "memberOf" : "Roo.dd.DragDrop",
825       "example" : "",
826       "deprecated" : "",
827       "since" : "",
828       "see" : "",
829       "params" : [
830       ],
831       "returns" : [
832       ]
833     },
834     {
835       "name" : "setOuterHandleElId",
836       "desc" : "Allows you to set an element outside of the linked element as a drag\nhandle",
837       "isStatic" : false,
838       "isConstructor" : false,
839       "isPrivate" : false,
840       "memberOf" : "Roo.dd.DragDrop",
841       "example" : "",
842       "deprecated" : "",
843       "since" : "",
844       "see" : "",
845       "params" : [
846         {
847           "name" : "id",
848           "type" : "",
849           "desc" : "the id of the element that will be used to initiate the drag",
850           "isOptional" : false
851         }
852       ],
853       "returns" : [
854       ]
855     },
856     {
857       "name" : "onMouseUp",
858       "desc" : "Event handler that fires when a drag/drop obj gets a mouseup",
859       "isStatic" : false,
860       "isConstructor" : false,
861       "isPrivate" : false,
862       "memberOf" : "Roo.dd.DragDrop",
863       "example" : "",
864       "deprecated" : "",
865       "since" : "",
866       "see" : "",
867       "params" : [
868         {
869           "name" : "e",
870           "type" : "Event",
871           "desc" : "the mouseup event",
872           "isOptional" : false
873         }
874       ],
875       "returns" : [
876       ]
877     },
878     {
879       "name" : "getDragEl",
880       "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",
881       "isStatic" : false,
882       "isConstructor" : false,
883       "isPrivate" : false,
884       "memberOf" : "Roo.dd.DragDrop",
885       "example" : "",
886       "deprecated" : "",
887       "since" : "",
888       "see" : "",
889       "params" : [
890       ],
891       "returns" : [
892         {
893           "name" : "",
894           "type" : "HTMLElement",
895           "desc" : "the html element"
896         }
897       ]
898     },
899     {
900       "name" : "setYConstraint",
901       "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.",
902       "isStatic" : false,
903       "isConstructor" : false,
904       "isPrivate" : false,
905       "memberOf" : "Roo.dd.DragDrop",
906       "example" : "",
907       "deprecated" : "",
908       "since" : "",
909       "see" : "",
910       "params" : [
911         {
912           "name" : "iUp",
913           "type" : "int",
914           "desc" : "the number of pixels the element can move up",
915           "isOptional" : false
916         },
917         {
918           "name" : "iDown",
919           "type" : "int",
920           "desc" : "the number of pixels the element can move down",
921           "isOptional" : false
922         },
923         {
924           "name" : "iTickSize",
925           "type" : "int",
926           "desc" : "optional parameter for specifying that the\nelement should move iTickSize pixels at a time.",
927           "isOptional" : false
928         }
929       ],
930       "returns" : [
931       ]
932     },
933     {
934       "name" : "clearConstraints",
935       "desc" : "Clears any constraints applied to this instance.  Also clears ticks\nsince they can't exist independent of a constraint at this time.",
936       "isStatic" : false,
937       "isConstructor" : false,
938       "isPrivate" : false,
939       "memberOf" : "Roo.dd.DragDrop",
940       "example" : "",
941       "deprecated" : "",
942       "since" : "",
943       "see" : "",
944       "params" : [
945       ],
946       "returns" : [
947       ]
948     },
949     {
950       "name" : "onInvalidDrop",
951       "desc" : "Abstract method called when this item is dropped on an area with no\ndrop target",
952       "isStatic" : false,
953       "isConstructor" : false,
954       "isPrivate" : false,
955       "memberOf" : "Roo.dd.DragDrop",
956       "example" : "",
957       "deprecated" : "",
958       "since" : "",
959       "see" : "",
960       "params" : [
961         {
962           "name" : "e",
963           "type" : "Event",
964           "desc" : "the mouseup event",
965           "isOptional" : false
966         }
967       ],
968       "returns" : [
969       ]
970     },
971     {
972       "name" : "addInvalidHandleId",
973       "desc" : "Lets you to specify an element id for a child of a drag handle\nthat should not initiate a drag",
974       "isStatic" : false,
975       "isConstructor" : false,
976       "isPrivate" : false,
977       "memberOf" : "Roo.dd.DragDrop",
978       "example" : "",
979       "deprecated" : "",
980       "since" : "",
981       "see" : "",
982       "params" : [
983         {
984           "name" : "id",
985           "type" : "string",
986           "desc" : "the element id of the element you wish to ignore",
987           "isOptional" : false
988         }
989       ],
990       "returns" : [
991       ]
992     },
993     {
994       "name" : "removeInvalidHandleClass",
995       "desc" : "Unsets an invalid css class",
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           "name" : "cssClass",
1007           "type" : "string",
1008           "desc" : "the class of the element(s) you wish to\nre-enable",
1009           "isOptional" : false
1010         }
1011       ],
1012       "returns" : [
1013       ]
1014     },
1015     {
1016       "name" : "onDragOut",
1017       "desc" : "Abstract method called when we are no longer hovering over an element",
1018       "isStatic" : false,
1019       "isConstructor" : false,
1020       "isPrivate" : false,
1021       "memberOf" : "Roo.dd.DragDrop",
1022       "example" : "",
1023       "deprecated" : "",
1024       "since" : "",
1025       "see" : "",
1026       "params" : [
1027         {
1028           "name" : "e",
1029           "type" : "Event",
1030           "desc" : "the mousemove event",
1031           "isOptional" : false
1032         },
1033         {
1034           "name" : "id",
1035           "type" : "String|DragDrop[]",
1036           "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.",
1037           "isOptional" : false
1038         }
1039       ],
1040       "returns" : [
1041       ]
1042     },
1043     {
1044       "name" : "setDragElId",
1045       "desc" : "Allows you to specify that an element other than the linked element\nwill be moved with the cursor during a drag",
1046       "isStatic" : false,
1047       "isConstructor" : false,
1048       "isPrivate" : false,
1049       "memberOf" : "Roo.dd.DragDrop",
1050       "example" : "",
1051       "deprecated" : "",
1052       "since" : "",
1053       "see" : "",
1054       "params" : [
1055         {
1056           "name" : "id",
1057           "type" : "",
1058           "desc" : "{string} the id of the element that will be used to initiate the drag",
1059           "isOptional" : false
1060         }
1061       ],
1062       "returns" : [
1063       ]
1064     },
1065     {
1066       "name" : "endDrag",
1067       "desc" : "Fired when we are done dragging the object",
1068       "isStatic" : false,
1069       "isConstructor" : false,
1070       "isPrivate" : false,
1071       "memberOf" : "Roo.dd.DragDrop",
1072       "example" : "",
1073       "deprecated" : "",
1074       "since" : "",
1075       "see" : "",
1076       "params" : [
1077         {
1078           "name" : "e",
1079           "type" : "Event",
1080           "desc" : "the mouseup event",
1081           "isOptional" : false
1082         }
1083       ],
1084       "returns" : [
1085       ]
1086     },
1087     {
1088       "name" : "getEl",
1089       "desc" : "Returns a reference to the linked element",
1090       "isStatic" : false,
1091       "isConstructor" : false,
1092       "isPrivate" : false,
1093       "memberOf" : "Roo.dd.DragDrop",
1094       "example" : "",
1095       "deprecated" : "",
1096       "since" : "",
1097       "see" : "",
1098       "params" : [
1099       ],
1100       "returns" : [
1101         {
1102           "name" : "",
1103           "type" : "HTMLElement",
1104           "desc" : "the html element"
1105         }
1106       ]
1107     },
1108     {
1109       "name" : "onDrag",
1110       "desc" : "Abstract method called during the onMouseMove event while dragging an\nobject.",
1111       "isStatic" : false,
1112       "isConstructor" : false,
1113       "isPrivate" : false,
1114       "memberOf" : "Roo.dd.DragDrop",
1115       "example" : "",
1116       "deprecated" : "",
1117       "since" : "",
1118       "see" : "",
1119       "params" : [
1120         {
1121           "name" : "e",
1122           "type" : "Event",
1123           "desc" : "the mousemove event",
1124           "isOptional" : false
1125         }
1126       ],
1127       "returns" : [
1128       ]
1129     },
1130     {
1131       "name" : "onDragEnter",
1132       "desc" : "Abstract method called when this element fist begins hovering over\nanother DragDrop obj",
1133       "isStatic" : false,
1134       "isConstructor" : false,
1135       "isPrivate" : false,
1136       "memberOf" : "Roo.dd.DragDrop",
1137       "example" : "",
1138       "deprecated" : "",
1139       "since" : "",
1140       "see" : "",
1141       "params" : [
1142         {
1143           "name" : "e",
1144           "type" : "Event",
1145           "desc" : "the mousemove event",
1146           "isOptional" : false
1147         },
1148         {
1149           "name" : "id",
1150           "type" : "String|DragDrop[]",
1151           "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.",
1152           "isOptional" : false
1153         }
1154       ],
1155       "returns" : [
1156       ]
1157     },
1158     {
1159       "name" : "lock",
1160       "desc" : "Lock this instance",
1161       "isStatic" : false,
1162       "isConstructor" : false,
1163       "isPrivate" : false,
1164       "memberOf" : "Roo.dd.DragDrop",
1165       "example" : "",
1166       "deprecated" : "",
1167       "since" : "",
1168       "see" : "",
1169       "params" : [
1170       ],
1171       "returns" : [
1172       ]
1173     },
1174     {
1175       "name" : "onMouseDown",
1176       "desc" : "Event handler that fires when a drag/drop obj gets a mousedown",
1177       "isStatic" : false,
1178       "isConstructor" : false,
1179       "isPrivate" : false,
1180       "memberOf" : "Roo.dd.DragDrop",
1181       "example" : "",
1182       "deprecated" : "",
1183       "since" : "",
1184       "see" : "",
1185       "params" : [
1186         {
1187           "name" : "e",
1188           "type" : "Event",
1189           "desc" : "the mousedown event",
1190           "isOptional" : false
1191         }
1192       ],
1193       "returns" : [
1194       ]
1195     },
1196     {
1197       "name" : "applyConfig",
1198       "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.",
1199       "isStatic" : false,
1200       "isConstructor" : false,
1201       "isPrivate" : false,
1202       "memberOf" : "Roo.dd.DragDrop",
1203       "example" : "",
1204       "deprecated" : "",
1205       "since" : "",
1206       "see" : "",
1207       "params" : [
1208       ],
1209       "returns" : [
1210       ]
1211     },
1212     {
1213       "name" : "unlock",
1214       "desc" : "Unlock this instace",
1215       "isStatic" : false,
1216       "isConstructor" : false,
1217       "isPrivate" : false,
1218       "memberOf" : "Roo.dd.DragDrop",
1219       "example" : "",
1220       "deprecated" : "",
1221       "since" : "",
1222       "see" : "",
1223       "params" : [
1224       ],
1225       "returns" : [
1226       ]
1227     },
1228     {
1229       "name" : "isTarget",
1230       "desc" : "By default, all insances can be a drop target.  This can be disabled by\nsetting isTarget to false.",
1231       "isStatic" : false,
1232       "isConstructor" : false,
1233       "isPrivate" : false,
1234       "memberOf" : "Roo.dd.DragDrop",
1235       "example" : "",
1236       "deprecated" : "",
1237       "since" : "",
1238       "see" : "",
1239       "params" : [
1240       ],
1241       "returns" : [
1242       ]
1243     },
1244     {
1245       "name" : "setInitPosition",
1246       "desc" : "Stores the initial placement of the linked element.",
1247       "isStatic" : false,
1248       "isConstructor" : false,
1249       "isPrivate" : false,
1250       "memberOf" : "Roo.dd.DragDrop",
1251       "example" : "",
1252       "deprecated" : "",
1253       "since" : "",
1254       "see" : "",
1255       "params" : [
1256         {
1257           "name" : "diffX",
1258           "type" : "int",
1259           "desc" : "the X offset, default 0",
1260           "isOptional" : false
1261         },
1262         {
1263           "name" : "diffY",
1264           "type" : "int",
1265           "desc" : "the Y offset, default 0",
1266           "isOptional" : false
1267         }
1268       ],
1269       "returns" : [
1270       ]
1271     },
1272     {
1273       "name" : "initTarget",
1274       "desc" : "Initializes Targeting functionality only... the object does not\nget a mousedown handler.",
1275       "isStatic" : false,
1276       "isConstructor" : false,
1277       "isPrivate" : false,
1278       "memberOf" : "Roo.dd.DragDrop",
1279       "example" : "",
1280       "deprecated" : "",
1281       "since" : "",
1282       "see" : "",
1283       "params" : [
1284         {
1285           "name" : "id",
1286           "type" : "",
1287           "desc" : "the id of the linked element",
1288           "isOptional" : false
1289         },
1290         {
1291           "name" : "sGroup",
1292           "type" : "String",
1293           "desc" : "the group of related items",
1294           "isOptional" : false
1295         },
1296         {
1297           "name" : "config",
1298           "type" : "object",
1299           "desc" : "configuration attributes",
1300           "isOptional" : false
1301         }
1302       ],
1303       "returns" : [
1304       ]
1305     },
1306     {
1307       "name" : "addToGroup",
1308       "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.",
1309       "isStatic" : false,
1310       "isConstructor" : false,
1311       "isPrivate" : false,
1312       "memberOf" : "Roo.dd.DragDrop",
1313       "example" : "",
1314       "deprecated" : "",
1315       "since" : "",
1316       "see" : "",
1317       "params" : [
1318         {
1319           "name" : "sGroup",
1320           "type" : "",
1321           "desc" : "{string} the name of the group",
1322           "isOptional" : false
1323         }
1324       ],
1325       "returns" : [
1326       ]
1327     },
1328     {
1329       "name" : "onDragOver",
1330       "desc" : "Abstract method called when this element is hovering over another\nDragDrop obj",
1331       "isStatic" : false,
1332       "isConstructor" : false,
1333       "isPrivate" : false,
1334       "memberOf" : "Roo.dd.DragDrop",
1335       "example" : "",
1336       "deprecated" : "",
1337       "since" : "",
1338       "see" : "",
1339       "params" : [
1340         {
1341           "name" : "e",
1342           "type" : "Event",
1343           "desc" : "the mousemove event",
1344           "isOptional" : false
1345         },
1346         {
1347           "name" : "id",
1348           "type" : "String|DragDrop[]",
1349           "desc" : "In POINT mode, the element\nid this is hovering over.  In INTERSECT mode, an array of dd items\nbeing hovered over.",
1350           "isOptional" : false
1351         }
1352       ],
1353       "returns" : [
1354       ]
1355     },
1356     {
1357       "name" : "toString",
1358       "desc" : "toString method",
1359       "isStatic" : false,
1360       "isConstructor" : false,
1361       "isPrivate" : false,
1362       "memberOf" : "Roo.dd.DragDrop",
1363       "example" : "",
1364       "deprecated" : "",
1365       "since" : "",
1366       "see" : "",
1367       "params" : [
1368       ],
1369       "returns" : [
1370         {
1371           "name" : "",
1372           "type" : "string",
1373           "desc" : "string representation of the dd obj"
1374         }
1375       ]
1376     },
1377     {
1378       "name" : "setPadding",
1379       "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.",
1380       "isStatic" : false,
1381       "isConstructor" : false,
1382       "isPrivate" : false,
1383       "memberOf" : "Roo.dd.DragDrop",
1384       "example" : "",
1385       "deprecated" : "",
1386       "since" : "",
1387       "see" : "",
1388       "params" : [
1389         {
1390           "name" : "iTop",
1391           "type" : "int",
1392           "desc" : "Top pad",
1393           "isOptional" : false
1394         },
1395         {
1396           "name" : "iRight",
1397           "type" : "int",
1398           "desc" : "Right pad",
1399           "isOptional" : false
1400         },
1401         {
1402           "name" : "iBot",
1403           "type" : "int",
1404           "desc" : "Bot pad",
1405           "isOptional" : false
1406         },
1407         {
1408           "name" : "iLeft",
1409           "type" : "int",
1410           "desc" : "Left pad",
1411           "isOptional" : false
1412         }
1413       ],
1414       "returns" : [
1415       ]
1416     },
1417     {
1418       "name" : "removeFromGroup",
1419       "desc" : "Remove's this instance from the supplied interaction group",
1420       "isStatic" : false,
1421       "isConstructor" : false,
1422       "isPrivate" : false,
1423       "memberOf" : "Roo.dd.DragDrop",
1424       "example" : "",
1425       "deprecated" : "",
1426       "since" : "",
1427       "see" : "",
1428       "params" : [
1429         {
1430           "name" : "sGroup",
1431           "type" : "string",
1432           "desc" : "The group to drop",
1433           "isOptional" : false
1434         }
1435       ],
1436       "returns" : [
1437       ]
1438     },
1439     {
1440       "name" : "addInvalidHandleClass",
1441       "desc" : "Lets you specify a css class of elements that will not initiate a drag",
1442       "isStatic" : false,
1443       "isConstructor" : false,
1444       "isPrivate" : false,
1445       "memberOf" : "Roo.dd.DragDrop",
1446       "example" : "",
1447       "deprecated" : "",
1448       "since" : "",
1449       "see" : "",
1450       "params" : [
1451         {
1452           "name" : "cssClass",
1453           "type" : "string",
1454           "desc" : "the class of the elements you wish to ignore",
1455           "isOptional" : false
1456         }
1457       ],
1458       "returns" : [
1459       ]
1460     },
1461     {
1462       "name" : "startDrag",
1463       "desc" : "Abstract method called after a drag/drop object is clicked\nand the drag or mousedown time thresholds have beeen met.",
1464       "isStatic" : false,
1465       "isConstructor" : false,
1466       "isPrivate" : false,
1467       "memberOf" : "Roo.dd.DragDrop",
1468       "example" : "",
1469       "deprecated" : "",
1470       "since" : "",
1471       "see" : "",
1472       "params" : [
1473         {
1474           "name" : "X",
1475           "type" : "int",
1476           "desc" : "click location",
1477           "isOptional" : false
1478         },
1479         {
1480           "name" : "Y",
1481           "type" : "int",
1482           "desc" : "click location",
1483           "isOptional" : false
1484         }
1485       ],
1486       "returns" : [
1487       ]
1488     },
1489     {
1490       "name" : "padding",
1491       "desc" : "The padding configured for this drag and drop object for calculating\nthe drop zone intersection with this object.",
1492       "isStatic" : false,
1493       "isConstructor" : false,
1494       "isPrivate" : false,
1495       "memberOf" : "Roo.dd.DragDrop",
1496       "example" : "",
1497       "deprecated" : "",
1498       "since" : "",
1499       "see" : "",
1500       "params" : [
1501       ],
1502       "returns" : [
1503       ]
1504     },
1505     {
1506       "name" : "resetConstraints",
1507       "desc" : "resetConstraints must be called if you manually reposition a dd element.",
1508       "isStatic" : false,
1509       "isConstructor" : false,
1510       "isPrivate" : false,
1511       "memberOf" : "Roo.dd.DragDrop",
1512       "example" : "",
1513       "deprecated" : "",
1514       "since" : "",
1515       "see" : "",
1516       "params" : [
1517         {
1518           "name" : "maintainOffset",
1519           "type" : "boolean",
1520           "desc" : "",
1521           "isOptional" : false
1522         }
1523       ],
1524       "returns" : [
1525       ]
1526     },
1527     {
1528       "name" : "clearTicks",
1529       "desc" : "Clears any tick interval defined for this instance",
1530       "isStatic" : false,
1531       "isConstructor" : false,
1532       "isPrivate" : false,
1533       "memberOf" : "Roo.dd.DragDrop",
1534       "example" : "",
1535       "deprecated" : "",
1536       "since" : "",
1537       "see" : "",
1538       "params" : [
1539       ],
1540       "returns" : [
1541       ]
1542     },
1543     {
1544       "name" : "isLocked",
1545       "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.)",
1546       "isStatic" : false,
1547       "isConstructor" : false,
1548       "isPrivate" : false,
1549       "memberOf" : "Roo.dd.DragDrop",
1550       "example" : "",
1551       "deprecated" : "",
1552       "since" : "",
1553       "see" : "",
1554       "params" : [
1555       ],
1556       "returns" : [
1557         {
1558           "name" : "",
1559           "type" : "boolean",
1560           "desc" : "true if this obj or all drag/drop is locked, else\nfalse"
1561         }
1562       ]
1563     },
1564     {
1565       "name" : "setXConstraint",
1566       "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.",
1567       "isStatic" : false,
1568       "isConstructor" : false,
1569       "isPrivate" : false,
1570       "memberOf" : "Roo.dd.DragDrop",
1571       "example" : "",
1572       "deprecated" : "",
1573       "since" : "",
1574       "see" : "",
1575       "params" : [
1576         {
1577           "name" : "iLeft",
1578           "type" : "int",
1579           "desc" : "the number of pixels the element can move to the left",
1580           "isOptional" : false
1581         },
1582         {
1583           "name" : "iRight",
1584           "type" : "int",
1585           "desc" : "the number of pixels the element can move to the\nright",
1586           "isOptional" : false
1587         },
1588         {
1589           "name" : "iTickSize",
1590           "type" : "int",
1591           "desc" : "optional parameter for specifying that the\nelement\nshould move iTickSize pixels at a time.",
1592           "isOptional" : false
1593         }
1594       ],
1595       "returns" : [
1596       ]
1597     },
1598     {
1599       "name" : "isValidHandleChild",
1600       "desc" : "Checks the tag exclusion list to see if this click should be ignored",
1601       "isStatic" : false,
1602       "isConstructor" : false,
1603       "isPrivate" : false,
1604       "memberOf" : "Roo.dd.DragDrop",
1605       "example" : "",
1606       "deprecated" : "",
1607       "since" : "",
1608       "see" : "",
1609       "params" : [
1610         {
1611           "name" : "node",
1612           "type" : "HTMLElement",
1613           "desc" : "the HTMLElement to evaluate",
1614           "isOptional" : false
1615         }
1616       ],
1617       "returns" : [
1618         {
1619           "name" : "",
1620           "type" : "boolean",
1621           "desc" : "true if this is a valid tag type, false if not"
1622         }
1623       ]
1624     },
1625     {
1626       "name" : "purgeListeners",
1627       "desc" : "Removes all listeners for this object",
1628       "isStatic" : false,
1629       "isConstructor" : false,
1630       "isPrivate" : false,
1631       "memberOf" : "Roo.util.Observable",
1632       "example" : "",
1633       "deprecated" : "",
1634       "since" : "",
1635       "see" : "",
1636       "params" : [
1637       ],
1638       "returns" : [
1639       ]
1640     },
1641     {
1642       "name" : "on",
1643       "desc" : "Appends an event handler to this element (shorthand for addListener)",
1644       "isStatic" : false,
1645       "isConstructor" : false,
1646       "isPrivate" : false,
1647       "memberOf" : "Roo.util.Observable",
1648       "example" : "",
1649       "deprecated" : "",
1650       "since" : "",
1651       "see" : "",
1652       "params" : [
1653         {
1654           "name" : "eventName",
1655           "type" : "String",
1656           "desc" : "The type of event to listen for",
1657           "isOptional" : false
1658         },
1659         {
1660           "name" : "handler",
1661           "type" : "Function",
1662           "desc" : "The method the event invokes",
1663           "isOptional" : false
1664         },
1665         {
1666           "name" : "scope",
1667           "type" : "Object",
1668           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1669           "isOptional" : false
1670         },
1671         {
1672           "name" : "options",
1673           "type" : "Object",
1674           "desc" : "(optional)",
1675           "isOptional" : false
1676         }
1677       ],
1678       "returns" : [
1679       ]
1680     },
1681     {
1682       "name" : "un",
1683       "desc" : "Removes a listener (shorthand for removeListener)",
1684       "isStatic" : false,
1685       "isConstructor" : false,
1686       "isPrivate" : false,
1687       "memberOf" : "Roo.util.Observable",
1688       "example" : "",
1689       "deprecated" : "",
1690       "since" : "",
1691       "see" : "",
1692       "params" : [
1693         {
1694           "name" : "eventName",
1695           "type" : "String",
1696           "desc" : "The type of event to listen for",
1697           "isOptional" : false
1698         },
1699         {
1700           "name" : "handler",
1701           "type" : "Function",
1702           "desc" : "The handler to remove",
1703           "isOptional" : false
1704         },
1705         {
1706           "name" : "scope",
1707           "type" : "Object",
1708           "desc" : "(optional) The scope (this object) for the handler",
1709           "isOptional" : false
1710         }
1711       ],
1712       "returns" : [
1713       ]
1714     },
1715     {
1716       "name" : "addEvents",
1717       "desc" : "Used to define events on this Observable",
1718       "isStatic" : false,
1719       "isConstructor" : false,
1720       "isPrivate" : false,
1721       "memberOf" : "Roo.util.Observable",
1722       "example" : "",
1723       "deprecated" : "",
1724       "since" : "",
1725       "see" : "",
1726       "params" : [
1727         {
1728           "name" : "object",
1729           "type" : "Object",
1730           "desc" : "The object with the events defined",
1731           "isOptional" : false
1732         }
1733       ],
1734       "returns" : [
1735       ]
1736     },
1737     {
1738       "name" : "releaseCapture",
1739       "desc" : "Removes <b>all</b> added captures from the Observable.",
1740       "isStatic" : true,
1741       "isConstructor" : false,
1742       "isPrivate" : false,
1743       "memberOf" : "Roo.util.Observable",
1744       "example" : "",
1745       "deprecated" : "",
1746       "since" : "",
1747       "see" : "",
1748       "params" : [
1749         {
1750           "name" : "o",
1751           "type" : "Observable",
1752           "desc" : "The Observable to release",
1753           "isOptional" : false
1754         }
1755       ],
1756       "returns" : [
1757       ]
1758     },
1759     {
1760       "name" : "removeListener",
1761       "desc" : "Removes a listener",
1762       "isStatic" : false,
1763       "isConstructor" : false,
1764       "isPrivate" : false,
1765       "memberOf" : "Roo.util.Observable",
1766       "example" : "",
1767       "deprecated" : "",
1768       "since" : "",
1769       "see" : "",
1770       "params" : [
1771         {
1772           "name" : "eventName",
1773           "type" : "String",
1774           "desc" : "The type of event to listen for",
1775           "isOptional" : false
1776         },
1777         {
1778           "name" : "handler",
1779           "type" : "Function",
1780           "desc" : "The handler to remove",
1781           "isOptional" : false
1782         },
1783         {
1784           "name" : "scope",
1785           "type" : "Object",
1786           "desc" : "(optional) The scope (this object) for the handler",
1787           "isOptional" : false
1788         }
1789       ],
1790       "returns" : [
1791       ]
1792     },
1793     {
1794       "name" : "fireEvent",
1795       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
1796       "isStatic" : false,
1797       "isConstructor" : false,
1798       "isPrivate" : false,
1799       "memberOf" : "Roo.util.Observable",
1800       "example" : "",
1801       "deprecated" : "",
1802       "since" : "",
1803       "see" : "",
1804       "params" : [
1805         {
1806           "name" : "eventName",
1807           "type" : "String",
1808           "desc" : "",
1809           "isOptional" : false
1810         },
1811         {
1812           "name" : "args",
1813           "type" : "Object...",
1814           "desc" : "Variable number of parameters are passed to handlers",
1815           "isOptional" : false
1816         }
1817       ],
1818       "returns" : [
1819         {
1820           "name" : "",
1821           "type" : "Boolean",
1822           "desc" : "returns false if any of the handlers return false otherwise it returns true"
1823         }
1824       ]
1825     },
1826     {
1827       "name" : "hasListener",
1828       "desc" : "Checks to see if this object has any listeners for a specified event",
1829       "isStatic" : false,
1830       "isConstructor" : false,
1831       "isPrivate" : false,
1832       "memberOf" : "Roo.util.Observable",
1833       "example" : "",
1834       "deprecated" : "",
1835       "since" : "",
1836       "see" : "",
1837       "params" : [
1838         {
1839           "name" : "eventName",
1840           "type" : "String",
1841           "desc" : "The name of the event to check for",
1842           "isOptional" : false
1843         }
1844       ],
1845       "returns" : [
1846         {
1847           "name" : "",
1848           "type" : "Boolean",
1849           "desc" : "True if the event is being listened for, else false"
1850         }
1851       ]
1852     },
1853     {
1854       "name" : "capture",
1855       "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.",
1856       "isStatic" : true,
1857       "isConstructor" : false,
1858       "isPrivate" : false,
1859       "memberOf" : "Roo.util.Observable",
1860       "example" : "",
1861       "deprecated" : "",
1862       "since" : "",
1863       "see" : "",
1864       "params" : [
1865         {
1866           "name" : "o",
1867           "type" : "Observable",
1868           "desc" : "The Observable to capture",
1869           "isOptional" : false
1870         },
1871         {
1872           "name" : "fn",
1873           "type" : "Function",
1874           "desc" : "The function to call",
1875           "isOptional" : false
1876         },
1877         {
1878           "name" : "scope",
1879           "type" : "Object",
1880           "desc" : "(optional) The scope (this object) for the fn",
1881           "isOptional" : false
1882         }
1883       ],
1884       "returns" : [
1885       ]
1886     },
1887     {
1888       "name" : "addListener",
1889       "desc" : "Appends an event handler to this component",
1890       "isStatic" : false,
1891       "isConstructor" : false,
1892       "isPrivate" : false,
1893       "memberOf" : "Roo.util.Observable",
1894       "example" : "",
1895       "deprecated" : "",
1896       "since" : "",
1897       "see" : "",
1898       "params" : [
1899         {
1900           "name" : "eventName",
1901           "type" : "String",
1902           "desc" : "The type of event to listen for",
1903           "isOptional" : false
1904         },
1905         {
1906           "name" : "handler",
1907           "type" : "Function",
1908           "desc" : "The method the event invokes",
1909           "isOptional" : false
1910         },
1911         {
1912           "name" : "scope",
1913           "type" : "Object",
1914           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1915           "isOptional" : false
1916         },
1917         {
1918           "name" : "options",
1919           "type" : "Object",
1920           "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>",
1921           "isOptional" : false
1922         }
1923       ],
1924       "returns" : [
1925       ]
1926     }
1927   ],
1928   "events" : [
1929   ]
1930 }