Partial Fix #5654 - roojspacker - get it working as a doc tool...
[roojs1] / docs2 / symbols / Roo.BoxComponent.json
1 {
2   "name" : "Roo.BoxComponent",
3   "augments" : [
4     "Roo.Component",
5     "Roo.util.Observable"
6   ],
7   "desc" : "Base class for any visual {@link Roo.Component} that uses a box container.  BoxComponent provides automatic box\nmodel adjustments for sizing and positioning and will work correctly withnin the Component rendering model.  All\ncontainer classes should subclass BoxComponent so that they will work consistently when nested within other Ext\nlayout containers.",
8   "isSingleton" : false,
9   "isStatic" : true,
10   "isBuiltin" : false,
11   "config" : [
12     {
13       "name" : "listeners",
14       "type" : "Object",
15       "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>",
16       "memberOf" : "Roo.util.Observable",
17       "values" : [
18       ]
19     },
20     {
21       "name" : "hideMode",
22       "type" : "String",
23       "desc" : "How this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
24       "memberOf" : "Roo.Component",
25       "values" : [
26         "(display",
27         "visibility)"
28       ]
29     },
30     {
31       "name" : "allowDomMove",
32       "type" : "Boolean",
33       "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
34       "memberOf" : "Roo.Component",
35       "values" : [
36       ]
37     },
38     {
39       "name" : "actionMode",
40       "type" : "String",
41       "desc" : "which property holds the element that used for  hide() / show() / disable() / enable()\ndefault is 'el'",
42       "memberOf" : "Roo.Component",
43       "values" : [
44       ]
45     },
46     {
47       "name" : "width",
48       "type" : "Number",
49       "desc" : "width (optional) size of component",
50       "memberOf" : "Roo.BoxComponent",
51       "values" : [
52       ]
53     },
54     {
55       "name" : "height",
56       "type" : "Number",
57       "desc" : "height (optional) size of component",
58       "memberOf" : "Roo.BoxComponent",
59       "values" : [
60       ]
61     },
62     {
63       "name" : "disableClass",
64       "type" : "String",
65       "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
66       "memberOf" : "Roo.Component",
67       "values" : [
68       ]
69     }
70   ],
71   "methods" : [
72     {
73       "name" : "updateBox",
74       "desc" : "Sets the current box measurements of the component's underlying element.",
75       "isStatic" : false,
76       "isConstructor" : false,
77       "isPrivate" : false,
78       "memberOf" : "Roo.BoxComponent",
79       "example" : "",
80       "deprecated" : "",
81       "since" : "",
82       "see" : "",
83       "params" : [
84         {
85           "name" : "box",
86           "type" : "Object",
87           "desc" : "An object in the format {x, y, width, height}",
88           "isOptional" : false
89         }
90       ],
91       "returns" : [
92       ]
93     },
94     {
95       "name" : "setPagePosition",
96       "desc" : "Sets the page XY position of the component.  To set the left and top instead, use {@link #setPosition}.\nThis method fires the move event.",
97       "isStatic" : false,
98       "isConstructor" : false,
99       "isPrivate" : false,
100       "memberOf" : "Roo.BoxComponent",
101       "example" : "",
102       "deprecated" : "",
103       "since" : "",
104       "see" : "",
105       "params" : [
106         {
107           "name" : "x",
108           "type" : "Number",
109           "desc" : "The new x position",
110           "isOptional" : false
111         },
112         {
113           "name" : "y",
114           "type" : "Number",
115           "desc" : "The new y position",
116           "isOptional" : false
117         }
118       ],
119       "returns" : [
120       ]
121     },
122     {
123       "name" : "syncSize",
124       "desc" : "Force the component's size to recalculate based on the underlying element's current height and width.",
125       "isStatic" : false,
126       "isConstructor" : false,
127       "isPrivate" : false,
128       "memberOf" : "Roo.BoxComponent",
129       "example" : "",
130       "deprecated" : "",
131       "since" : "",
132       "see" : "",
133       "params" : [
134       ],
135       "returns" : [
136       ]
137     },
138     {
139       "name" : "setSize",
140       "desc" : "Sets the width and height of the component.  This method fires the resize event.  This method can accept\neither width and height as separate numeric arguments, or you can pass a size object like {width:10, height:20}.",
141       "isStatic" : false,
142       "isConstructor" : false,
143       "isPrivate" : false,
144       "memberOf" : "Roo.BoxComponent",
145       "example" : "",
146       "deprecated" : "",
147       "since" : "",
148       "see" : "",
149       "params" : [
150         {
151           "name" : "width",
152           "type" : "Number/Object",
153           "desc" : "The new width to set, or a size object in the format {width, height}",
154           "isOptional" : false
155         },
156         {
157           "name" : "height",
158           "type" : "Number",
159           "desc" : "The new height to set (not required if a size object is passed as the first arg)",
160           "isOptional" : false
161         }
162       ],
163       "returns" : [
164         {
165           "name" : "",
166           "type" : "Roo.BoxComponent",
167           "desc" : "this"
168         }
169       ]
170     },
171     {
172       "name" : "getPosition",
173       "desc" : "Gets the current XY position of the component's underlying element.",
174       "isStatic" : false,
175       "isConstructor" : false,
176       "isPrivate" : false,
177       "memberOf" : "Roo.BoxComponent",
178       "example" : "",
179       "deprecated" : "",
180       "since" : "",
181       "see" : "",
182       "params" : [
183         {
184           "name" : "local",
185           "type" : "Boolean",
186           "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
187           "isOptional" : false
188         }
189       ],
190       "returns" : [
191         {
192           "name" : "",
193           "type" : "Array",
194           "desc" : "The XY position of the element (e.g., [100, 200])"
195         }
196       ]
197     },
198     {
199       "name" : "onResize",
200       "desc" : "Called after the component is resized, this method is empty by default but can be implemented by any\nsubclass that needs to perform custom logic after a resize occurs.",
201       "isStatic" : false,
202       "isConstructor" : false,
203       "isPrivate" : false,
204       "memberOf" : "Roo.BoxComponent",
205       "example" : "",
206       "deprecated" : "",
207       "since" : "",
208       "see" : "",
209       "params" : [
210         {
211           "name" : "adjWidth",
212           "type" : "Number",
213           "desc" : "The box-adjusted width that was set",
214           "isOptional" : false
215         },
216         {
217           "name" : "adjHeight",
218           "type" : "Number",
219           "desc" : "The box-adjusted height that was set",
220           "isOptional" : false
221         },
222         {
223           "name" : "rawWidth",
224           "type" : "Number",
225           "desc" : "The width that was originally specified",
226           "isOptional" : false
227         },
228         {
229           "name" : "rawHeight",
230           "type" : "Number",
231           "desc" : "The height that was originally specified",
232           "isOptional" : false
233         }
234       ],
235       "returns" : [
236       ]
237     },
238     {
239       "name" : "getBox",
240       "desc" : "Gets the current box measurements of the component's underlying element.",
241       "isStatic" : false,
242       "isConstructor" : false,
243       "isPrivate" : false,
244       "memberOf" : "Roo.BoxComponent",
245       "example" : "",
246       "deprecated" : "",
247       "since" : "",
248       "see" : "",
249       "params" : [
250         {
251           "name" : "local",
252           "type" : "Boolean",
253           "desc" : "(optional) If true the element's left and top are returned instead of page XY (defaults to false)",
254           "isOptional" : false
255         }
256       ],
257       "returns" : [
258       ]
259     },
260     {
261       "name" : "getSize",
262       "desc" : "Gets the current size of the component's underlying element.",
263       "isStatic" : false,
264       "isConstructor" : false,
265       "isPrivate" : false,
266       "memberOf" : "Roo.BoxComponent",
267       "example" : "",
268       "deprecated" : "",
269       "since" : "",
270       "see" : "",
271       "params" : [
272       ],
273       "returns" : [
274         {
275           "name" : "",
276           "type" : "Object",
277           "desc" : "An object containing the element's size {width: (element width), height: (element height)}"
278         }
279       ]
280     },
281     {
282       "name" : "onPosition",
283       "desc" : "Called after the component is moved, this method is empty by default but can be implemented by any\nsubclass that needs to perform custom logic after a move occurs.",
284       "isStatic" : false,
285       "isConstructor" : false,
286       "isPrivate" : false,
287       "memberOf" : "Roo.BoxComponent",
288       "example" : "",
289       "deprecated" : "",
290       "since" : "",
291       "see" : "",
292       "params" : [
293         {
294           "name" : "x",
295           "type" : "Number",
296           "desc" : "The new x position",
297           "isOptional" : false
298         },
299         {
300           "name" : "y",
301           "type" : "Number",
302           "desc" : "The new y position",
303           "isOptional" : false
304         }
305       ],
306       "returns" : [
307       ]
308     },
309     {
310       "name" : "setPosition",
311       "desc" : "Sets the left and top of the component.  To set the page XY position instead, use {@link #setPagePosition}.\nThis method fires the move event.",
312       "isStatic" : false,
313       "isConstructor" : false,
314       "isPrivate" : false,
315       "memberOf" : "Roo.BoxComponent",
316       "example" : "",
317       "deprecated" : "",
318       "since" : "",
319       "see" : "",
320       "params" : [
321         {
322           "name" : "left",
323           "type" : "Number",
324           "desc" : "The new left",
325           "isOptional" : false
326         },
327         {
328           "name" : "top",
329           "type" : "Number",
330           "desc" : "The new top",
331           "isOptional" : false
332         }
333       ],
334       "returns" : [
335       ]
336     },
337     {
338       "name" : "getId",
339       "desc" : "Returns the id of this component.",
340       "isStatic" : false,
341       "isConstructor" : false,
342       "isPrivate" : false,
343       "memberOf" : "Roo.Component",
344       "example" : "",
345       "deprecated" : "",
346       "since" : "",
347       "see" : "",
348       "params" : [
349       ],
350       "returns" : [
351         {
352           "name" : "",
353           "type" : "String",
354           "desc" : ""
355         }
356       ]
357     },
358     {
359       "name" : "render",
360       "desc" : "If this is a lazy rendering component, render it to its container element.",
361       "isStatic" : false,
362       "isConstructor" : false,
363       "isPrivate" : false,
364       "memberOf" : "Roo.Component",
365       "example" : "",
366       "deprecated" : "",
367       "since" : "",
368       "see" : "",
369       "params" : [
370         {
371           "name" : "container",
372           "type" : "String/HTMLElement/Element",
373           "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
374           "isOptional" : false
375         }
376       ],
377       "returns" : [
378       ]
379     },
380     {
381       "name" : "destroy",
382       "desc" : "Destroys this component by purging any event listeners, removing the component's element from the DOM,\nremoving the component from its {@link Roo.Container} (if applicable) and unregistering it from {@link Roo.ComponentMgr}.",
383       "isStatic" : false,
384       "isConstructor" : false,
385       "isPrivate" : false,
386       "memberOf" : "Roo.Component",
387       "example" : "",
388       "deprecated" : "",
389       "since" : "",
390       "see" : "",
391       "params" : [
392       ],
393       "returns" : [
394       ]
395     },
396     {
397       "name" : "isVisible",
398       "desc" : "Returns true if this component is visible.",
399       "isStatic" : false,
400       "isConstructor" : false,
401       "isPrivate" : false,
402       "memberOf" : "Roo.Component",
403       "example" : "",
404       "deprecated" : "",
405       "since" : "",
406       "see" : "",
407       "params" : [
408       ],
409       "returns" : [
410       ]
411     },
412     {
413       "name" : "setDisabled",
414       "desc" : "Convenience function for setting disabled/enabled by boolean.",
415       "isStatic" : false,
416       "isConstructor" : false,
417       "isPrivate" : false,
418       "memberOf" : "Roo.Component",
419       "example" : "",
420       "deprecated" : "",
421       "since" : "",
422       "see" : "",
423       "params" : [
424         {
425           "name" : "disabled",
426           "type" : "Boolean",
427           "desc" : "",
428           "isOptional" : false
429         }
430       ],
431       "returns" : [
432       ]
433     },
434     {
435       "name" : "hide",
436       "desc" : "Hide this component.",
437       "isStatic" : false,
438       "isConstructor" : false,
439       "isPrivate" : false,
440       "memberOf" : "Roo.Component",
441       "example" : "",
442       "deprecated" : "",
443       "since" : "",
444       "see" : "",
445       "params" : [
446       ],
447       "returns" : [
448         {
449           "name" : "",
450           "type" : "Roo.Component",
451           "desc" : "this"
452         }
453       ]
454     },
455     {
456       "name" : "focus",
457       "desc" : "Try to focus this component.",
458       "isStatic" : false,
459       "isConstructor" : false,
460       "isPrivate" : false,
461       "memberOf" : "Roo.Component",
462       "example" : "",
463       "deprecated" : "",
464       "since" : "",
465       "see" : "",
466       "params" : [
467         {
468           "name" : "selectText",
469           "type" : "Boolean",
470           "desc" : "True to also select the text in this component (if applicable)",
471           "isOptional" : false
472         }
473       ],
474       "returns" : [
475         {
476           "name" : "",
477           "type" : "Roo.Component",
478           "desc" : "this"
479         }
480       ]
481     },
482     {
483       "name" : "show",
484       "desc" : "Show this component.",
485       "isStatic" : false,
486       "isConstructor" : false,
487       "isPrivate" : false,
488       "memberOf" : "Roo.Component",
489       "example" : "",
490       "deprecated" : "",
491       "since" : "",
492       "see" : "",
493       "params" : [
494       ],
495       "returns" : [
496         {
497           "name" : "",
498           "type" : "Roo.Component",
499           "desc" : "this"
500         }
501       ]
502     },
503     {
504       "name" : "enable",
505       "desc" : "Enable this component.",
506       "isStatic" : false,
507       "isConstructor" : false,
508       "isPrivate" : false,
509       "memberOf" : "Roo.Component",
510       "example" : "",
511       "deprecated" : "",
512       "since" : "",
513       "see" : "",
514       "params" : [
515       ],
516       "returns" : [
517         {
518           "name" : "",
519           "type" : "Roo.Component",
520           "desc" : "this"
521         }
522       ]
523     },
524     {
525       "name" : "setVisible",
526       "desc" : "Convenience function to hide or show this component by boolean.",
527       "isStatic" : false,
528       "isConstructor" : false,
529       "isPrivate" : false,
530       "memberOf" : "Roo.Component",
531       "example" : "",
532       "deprecated" : "",
533       "since" : "",
534       "see" : "",
535       "params" : [
536         {
537           "name" : "visible",
538           "type" : "Boolean",
539           "desc" : "True to show, false to hide",
540           "isOptional" : false
541         }
542       ],
543       "returns" : [
544         {
545           "name" : "",
546           "type" : "Roo.Component",
547           "desc" : "this"
548         }
549       ]
550     },
551     {
552       "name" : "disable",
553       "desc" : "Disable this component.",
554       "isStatic" : false,
555       "isConstructor" : false,
556       "isPrivate" : false,
557       "memberOf" : "Roo.Component",
558       "example" : "",
559       "deprecated" : "",
560       "since" : "",
561       "see" : "",
562       "params" : [
563       ],
564       "returns" : [
565         {
566           "name" : "",
567           "type" : "Roo.Component",
568           "desc" : "this"
569         }
570       ]
571     },
572     {
573       "name" : "getEl",
574       "desc" : "Returns the underlying {@link Roo.Element}.",
575       "isStatic" : false,
576       "isConstructor" : false,
577       "isPrivate" : false,
578       "memberOf" : "Roo.Component",
579       "example" : "",
580       "deprecated" : "",
581       "since" : "",
582       "see" : "",
583       "params" : [
584       ],
585       "returns" : [
586         {
587           "name" : "",
588           "type" : "Roo.Element",
589           "desc" : "The element"
590         }
591       ]
592     },
593     {
594       "name" : "purgeListeners",
595       "desc" : "Removes all listeners for this object",
596       "isStatic" : false,
597       "isConstructor" : false,
598       "isPrivate" : false,
599       "memberOf" : "Roo.util.Observable",
600       "example" : "",
601       "deprecated" : "",
602       "since" : "",
603       "see" : "",
604       "params" : [
605       ],
606       "returns" : [
607       ]
608     },
609     {
610       "name" : "on",
611       "desc" : "Appends an event handler to this element (shorthand for addListener)",
612       "isStatic" : false,
613       "isConstructor" : false,
614       "isPrivate" : false,
615       "memberOf" : "Roo.util.Observable",
616       "example" : "",
617       "deprecated" : "",
618       "since" : "",
619       "see" : "",
620       "params" : [
621         {
622           "name" : "eventName",
623           "type" : "String",
624           "desc" : "The type of event to listen for",
625           "isOptional" : false
626         },
627         {
628           "name" : "handler",
629           "type" : "Function",
630           "desc" : "The method the event invokes",
631           "isOptional" : false
632         },
633         {
634           "name" : "scope",
635           "type" : "Object",
636           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
637           "isOptional" : false
638         },
639         {
640           "name" : "options",
641           "type" : "Object",
642           "desc" : "(optional)",
643           "isOptional" : false
644         }
645       ],
646       "returns" : [
647       ]
648     },
649     {
650       "name" : "un",
651       "desc" : "Removes a listener (shorthand for removeListener)",
652       "isStatic" : false,
653       "isConstructor" : false,
654       "isPrivate" : false,
655       "memberOf" : "Roo.util.Observable",
656       "example" : "",
657       "deprecated" : "",
658       "since" : "",
659       "see" : "",
660       "params" : [
661         {
662           "name" : "eventName",
663           "type" : "String",
664           "desc" : "The type of event to listen for",
665           "isOptional" : false
666         },
667         {
668           "name" : "handler",
669           "type" : "Function",
670           "desc" : "The handler to remove",
671           "isOptional" : false
672         },
673         {
674           "name" : "scope",
675           "type" : "Object",
676           "desc" : "(optional) The scope (this object) for the handler",
677           "isOptional" : false
678         }
679       ],
680       "returns" : [
681       ]
682     },
683     {
684       "name" : "addEvents",
685       "desc" : "Used to define events on this Observable",
686       "isStatic" : false,
687       "isConstructor" : false,
688       "isPrivate" : false,
689       "memberOf" : "Roo.util.Observable",
690       "example" : "",
691       "deprecated" : "",
692       "since" : "",
693       "see" : "",
694       "params" : [
695         {
696           "name" : "object",
697           "type" : "Object",
698           "desc" : "The object with the events defined",
699           "isOptional" : false
700         }
701       ],
702       "returns" : [
703       ]
704     },
705     {
706       "name" : "releaseCapture",
707       "desc" : "Removes <b>all</b> added captures from the Observable.",
708       "isStatic" : true,
709       "isConstructor" : false,
710       "isPrivate" : false,
711       "memberOf" : "Roo.util.Observable",
712       "example" : "",
713       "deprecated" : "",
714       "since" : "",
715       "see" : "",
716       "params" : [
717         {
718           "name" : "o",
719           "type" : "Observable",
720           "desc" : "The Observable to release",
721           "isOptional" : false
722         }
723       ],
724       "returns" : [
725       ]
726     },
727     {
728       "name" : "removeListener",
729       "desc" : "Removes a listener",
730       "isStatic" : false,
731       "isConstructor" : false,
732       "isPrivate" : false,
733       "memberOf" : "Roo.util.Observable",
734       "example" : "",
735       "deprecated" : "",
736       "since" : "",
737       "see" : "",
738       "params" : [
739         {
740           "name" : "eventName",
741           "type" : "String",
742           "desc" : "The type of event to listen for",
743           "isOptional" : false
744         },
745         {
746           "name" : "handler",
747           "type" : "Function",
748           "desc" : "The handler to remove",
749           "isOptional" : false
750         },
751         {
752           "name" : "scope",
753           "type" : "Object",
754           "desc" : "(optional) The scope (this object) for the handler",
755           "isOptional" : false
756         }
757       ],
758       "returns" : [
759       ]
760     },
761     {
762       "name" : "fireEvent",
763       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
764       "isStatic" : false,
765       "isConstructor" : false,
766       "isPrivate" : false,
767       "memberOf" : "Roo.util.Observable",
768       "example" : "",
769       "deprecated" : "",
770       "since" : "",
771       "see" : "",
772       "params" : [
773         {
774           "name" : "eventName",
775           "type" : "String",
776           "desc" : "",
777           "isOptional" : false
778         },
779         {
780           "name" : "args",
781           "type" : "Object...",
782           "desc" : "Variable number of parameters are passed to handlers",
783           "isOptional" : false
784         }
785       ],
786       "returns" : [
787         {
788           "name" : "",
789           "type" : "Boolean",
790           "desc" : "returns false if any of the handlers return false otherwise it returns true"
791         }
792       ]
793     },
794     {
795       "name" : "hasListener",
796       "desc" : "Checks to see if this object has any listeners for a specified event",
797       "isStatic" : false,
798       "isConstructor" : false,
799       "isPrivate" : false,
800       "memberOf" : "Roo.util.Observable",
801       "example" : "",
802       "deprecated" : "",
803       "since" : "",
804       "see" : "",
805       "params" : [
806         {
807           "name" : "eventName",
808           "type" : "String",
809           "desc" : "The name of the event to check for",
810           "isOptional" : false
811         }
812       ],
813       "returns" : [
814         {
815           "name" : "",
816           "type" : "Boolean",
817           "desc" : "True if the event is being listened for, else false"
818         }
819       ]
820     },
821     {
822       "name" : "capture",
823       "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.",
824       "isStatic" : true,
825       "isConstructor" : false,
826       "isPrivate" : false,
827       "memberOf" : "Roo.util.Observable",
828       "example" : "",
829       "deprecated" : "",
830       "since" : "",
831       "see" : "",
832       "params" : [
833         {
834           "name" : "o",
835           "type" : "Observable",
836           "desc" : "The Observable to capture",
837           "isOptional" : false
838         },
839         {
840           "name" : "fn",
841           "type" : "Function",
842           "desc" : "The function to call",
843           "isOptional" : false
844         },
845         {
846           "name" : "scope",
847           "type" : "Object",
848           "desc" : "(optional) The scope (this object) for the fn",
849           "isOptional" : false
850         }
851       ],
852       "returns" : [
853       ]
854     },
855     {
856       "name" : "addListener",
857       "desc" : "Appends an event handler to this component",
858       "isStatic" : false,
859       "isConstructor" : false,
860       "isPrivate" : false,
861       "memberOf" : "Roo.util.Observable",
862       "example" : "",
863       "deprecated" : "",
864       "since" : "",
865       "see" : "",
866       "params" : [
867         {
868           "name" : "eventName",
869           "type" : "String",
870           "desc" : "The type of event to listen for",
871           "isOptional" : false
872         },
873         {
874           "name" : "handler",
875           "type" : "Function",
876           "desc" : "The method the event invokes",
877           "isOptional" : false
878         },
879         {
880           "name" : "scope",
881           "type" : "Object",
882           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
883           "isOptional" : false
884         },
885         {
886           "name" : "options",
887           "type" : "Object",
888           "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>",
889           "isOptional" : false
890         }
891       ],
892       "returns" : [
893       ]
894     }
895   ],
896   "events" : [
897     {
898       "name" : "move",
899       "desc" : "Fires after the component is moved.",
900       "memberOf" : "",
901       "example" : "",
902       "deprecated" : "",
903       "since" : "",
904       "see" : "",
905       "params" : [
906         {
907           "name" : "this",
908           "type" : "Roo.Component",
909           "desc" : "",
910           "isOptional" : false
911         },
912         {
913           "name" : "x",
914           "type" : "Number",
915           "desc" : "The new x position",
916           "isOptional" : false
917         },
918         {
919           "name" : "y",
920           "type" : "Number",
921           "desc" : "The new y position",
922           "isOptional" : false
923         }
924       ],
925       "returns" : [
926       ]
927     },
928     {
929       "name" : "resize",
930       "desc" : "Fires after the component is resized.",
931       "memberOf" : "",
932       "example" : "",
933       "deprecated" : "",
934       "since" : "",
935       "see" : "",
936       "params" : [
937         {
938           "name" : "this",
939           "type" : "Roo.Component",
940           "desc" : "",
941           "isOptional" : false
942         },
943         {
944           "name" : "adjWidth",
945           "type" : "Number",
946           "desc" : "The box-adjusted width that was set",
947           "isOptional" : false
948         },
949         {
950           "name" : "adjHeight",
951           "type" : "Number",
952           "desc" : "The box-adjusted height that was set",
953           "isOptional" : false
954         },
955         {
956           "name" : "rawWidth",
957           "type" : "Number",
958           "desc" : "The width that was originally specified",
959           "isOptional" : false
960         },
961         {
962           "name" : "rawHeight",
963           "type" : "Number",
964           "desc" : "The height that was originally specified",
965           "isOptional" : false
966         }
967       ],
968       "returns" : [
969       ]
970     },
971     {
972       "name" : "beforerender",
973       "desc" : "Fires before the component is rendered. Return false to stop the render.",
974       "memberOf" : "Roo.Component",
975       "example" : "",
976       "deprecated" : "",
977       "since" : "",
978       "see" : "",
979       "params" : [
980         {
981           "name" : "this",
982           "type" : "Roo.Component",
983           "desc" : "",
984           "isOptional" : false
985         }
986       ],
987       "returns" : [
988       ]
989     },
990     {
991       "name" : "disable",
992       "desc" : "Fires after the component is disabled.",
993       "memberOf" : "Roo.Component",
994       "example" : "",
995       "deprecated" : "",
996       "since" : "",
997       "see" : "",
998       "params" : [
999         {
1000           "name" : "this",
1001           "type" : "Roo.Component",
1002           "desc" : "",
1003           "isOptional" : false
1004         }
1005       ],
1006       "returns" : [
1007       ]
1008     },
1009     {
1010       "name" : "render",
1011       "desc" : "Fires after the component is rendered.",
1012       "memberOf" : "Roo.Component",
1013       "example" : "",
1014       "deprecated" : "",
1015       "since" : "",
1016       "see" : "",
1017       "params" : [
1018         {
1019           "name" : "this",
1020           "type" : "Roo.Component",
1021           "desc" : "",
1022           "isOptional" : false
1023         }
1024       ],
1025       "returns" : [
1026       ]
1027     },
1028     {
1029       "name" : "destroy",
1030       "desc" : "Fires after the component is destroyed.",
1031       "memberOf" : "Roo.Component",
1032       "example" : "",
1033       "deprecated" : "",
1034       "since" : "",
1035       "see" : "",
1036       "params" : [
1037         {
1038           "name" : "this",
1039           "type" : "Roo.Component",
1040           "desc" : "",
1041           "isOptional" : false
1042         }
1043       ],
1044       "returns" : [
1045       ]
1046     },
1047     {
1048       "name" : "hide",
1049       "desc" : "Fires after the component is hidden.",
1050       "memberOf" : "Roo.Component",
1051       "example" : "",
1052       "deprecated" : "",
1053       "since" : "",
1054       "see" : "",
1055       "params" : [
1056         {
1057           "name" : "this",
1058           "type" : "Roo.Component",
1059           "desc" : "",
1060           "isOptional" : false
1061         }
1062       ],
1063       "returns" : [
1064       ]
1065     },
1066     {
1067       "name" : "beforehide",
1068       "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1069       "memberOf" : "Roo.Component",
1070       "example" : "",
1071       "deprecated" : "",
1072       "since" : "",
1073       "see" : "",
1074       "params" : [
1075         {
1076           "name" : "this",
1077           "type" : "Roo.Component",
1078           "desc" : "",
1079           "isOptional" : false
1080         }
1081       ],
1082       "returns" : [
1083       ]
1084     },
1085     {
1086       "name" : "show",
1087       "desc" : "Fires after the component is shown.",
1088       "memberOf" : "Roo.Component",
1089       "example" : "",
1090       "deprecated" : "",
1091       "since" : "",
1092       "see" : "",
1093       "params" : [
1094         {
1095           "name" : "this",
1096           "type" : "Roo.Component",
1097           "desc" : "",
1098           "isOptional" : false
1099         }
1100       ],
1101       "returns" : [
1102       ]
1103     },
1104     {
1105       "name" : "beforeshow",
1106       "desc" : "Fires before the component is shown.  Return false to stop the show.",
1107       "memberOf" : "Roo.Component",
1108       "example" : "",
1109       "deprecated" : "",
1110       "since" : "",
1111       "see" : "",
1112       "params" : [
1113         {
1114           "name" : "this",
1115           "type" : "Roo.Component",
1116           "desc" : "",
1117           "isOptional" : false
1118         }
1119       ],
1120       "returns" : [
1121       ]
1122     },
1123     {
1124       "name" : "enable",
1125       "desc" : "Fires after the component is enabled.",
1126       "memberOf" : "Roo.Component",
1127       "example" : "",
1128       "deprecated" : "",
1129       "since" : "",
1130       "see" : "",
1131       "params" : [
1132         {
1133           "name" : "this",
1134           "type" : "Roo.Component",
1135           "desc" : "",
1136           "isOptional" : false
1137         }
1138       ],
1139       "returns" : [
1140       ]
1141     },
1142     {
1143       "name" : "beforedestroy",
1144       "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1145       "memberOf" : "Roo.Component",
1146       "example" : "",
1147       "deprecated" : "",
1148       "since" : "",
1149       "see" : "",
1150       "params" : [
1151         {
1152           "name" : "this",
1153           "type" : "Roo.Component",
1154           "desc" : "",
1155           "isOptional" : false
1156         }
1157       ],
1158       "returns" : [
1159       ]
1160     }
1161   ]
1162 }