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