fix docs add optvalues
[roojs1] / docs / symbols / Roo.ContentPanel.json
1 {
2   "name" : "Roo.ContentPanel",
3   "augments" : [
4     "Roo.util.Observable"
5   ],
6   "childClasses" : {
7     "Roo.ContentPanel" : [
8       "Roo.GridPanel",
9       "Roo.NestedLayoutPanel",
10       "Roo.TreePanel"
11     ]
12   },
13   "tree_children" : [
14     "Roo.form.Form",
15     "Roo.JsonView",
16     "Roo.View",
17     "Roo.JsonView"
18   ],
19   "tree_parent" : [
20     "Roo.BorderLayout",
21     "Roo.LayoutDialog",
22     "builder"
23   ],
24   "desc" : "A basic ContentPanel element.",
25   "isSingleton" : false,
26   "isStatic" : false,
27   "isBuiltin" : false,
28   "isAbstract" : false,
29   "isBuilderTop" : false,
30   "memberOf" : "ContentPanel",
31   "example" : "",
32   "deprecated" : "",
33   "since" : "",
34   "see" : "",
35   "params" : [
36     {
37       "name" : "el",
38       "type" : "String/HTMLElement/Roo.Element",
39       "desc" : "The container element for this panel",
40       "isOptional" : false
41     },
42     {
43       "name" : "config",
44       "type" : "String/Object",
45       "desc" : "A string to set only the title or a config object",
46       "isOptional" : false
47     },
48     {
49       "name" : "content",
50       "type" : "String",
51       "desc" : "(optional) Set the HTML content for this panel",
52       "isOptional" : false
53     },
54     {
55       "name" : "region",
56       "type" : "String",
57       "desc" : "(optional) Used by xtype constructors to add to regions. (values center,east,west,south,north)",
58       "isOptional" : false
59     }
60   ],
61   "returns" : [],
62   "throws" : "",
63   "requires" : "",
64   "config" : [
65     {
66       "name" : "loadOnce",
67       "type" : "Boolean",
68       "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
69       "memberOf" : "",
70       "isOptional" : false,
71       "optvalues" : []
72     },
73     {
74       "name" : "listeners",
75       "type" : "Object",
76       "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>",
77       "memberOf" : "Roo.util.Observable",
78       "isOptional" : false,
79       "optvalues" : []
80     },
81     {
82       "name" : "autoScroll",
83       "type" : "Boolean",
84       "desc" : "True to scroll overflow in this panel (use with {@link #fitToFrame})",
85       "memberOf" : "",
86       "isOptional" : false,
87       "optvalues" : []
88     },
89     {
90       "name" : "fitToFrame",
91       "type" : "Boolean",
92       "desc" : "True for this panel to adjust its size to fit when the region resizes  (defaults to false)",
93       "memberOf" : "",
94       "isOptional" : false,
95       "optvalues" : []
96     },
97     {
98       "name" : "background",
99       "type" : "Boolean",
100       "desc" : "True if the panel should not be activated when it is added (defaults to false)",
101       "memberOf" : "",
102       "isOptional" : false,
103       "optvalues" : []
104     },
105     {
106       "name" : "toolbar",
107       "type" : "Roo.Toolbar",
108       "desc" : "A toolbar for this panel",
109       "memberOf" : "",
110       "isOptional" : false,
111       "optvalues" : []
112     },
113     {
114       "name" : "region",
115       "type" : "String",
116       "desc" : "t)  which region to put this panel on (when used with xtype constructor",
117       "memberOf" : "",
118       "isOptional" : false,
119       "optvalues" : [
120         "center",
121         "north",
122         "south",
123         "east",
124         "west"
125       ]
126     },
127     {
128       "name" : "content",
129       "type" : "String",
130       "desc" : "Raw content to fill content panel with (uses setContent on construction.)",
131       "memberOf" : "",
132       "isOptional" : false,
133       "optvalues" : []
134     },
135     {
136       "name" : "menu",
137       "type" : "Roo.menu.Menu",
138       "desc" : "popup menu",
139       "memberOf" : "",
140       "isOptional" : false,
141       "optvalues" : []
142     },
143     {
144       "name" : "title",
145       "type" : "String",
146       "desc" : "The title for this panel",
147       "memberOf" : "",
148       "isOptional" : false,
149       "optvalues" : []
150     },
151     {
152       "name" : "style",
153       "type" : "String",
154       "desc" : "Extra style to add to the content panel",
155       "memberOf" : "",
156       "isOptional" : false,
157       "optvalues" : []
158     },
159     {
160       "name" : "autoCreate",
161       "type" : "Boolean|Object",
162       "desc" : "True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create",
163       "memberOf" : "",
164       "isOptional" : false,
165       "optvalues" : []
166     },
167     {
168       "name" : "fitContainer",
169       "type" : "Boolean",
170       "desc" : "When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container  (defaults to false)",
171       "memberOf" : "",
172       "isOptional" : false,
173       "optvalues" : []
174     },
175     {
176       "name" : "closable",
177       "type" : "Boolean",
178       "desc" : "True if the panel can be closed/removed",
179       "memberOf" : "",
180       "isOptional" : false,
181       "optvalues" : []
182     },
183     {
184       "name" : "params",
185       "type" : "String|Object",
186       "desc" : "When used with {@link #url}, calls {@link #setUrl} with this value",
187       "memberOf" : "",
188       "isOptional" : false,
189       "optvalues" : []
190     },
191     {
192       "name" : "adjustments",
193       "type" : "Array",
194       "desc" : "Values to <b>add</b> to the width/height when doing a {@link #fitToFrame} (default is [0, 0])",
195       "memberOf" : "",
196       "isOptional" : false,
197       "optvalues" : []
198     },
199     {
200       "name" : "url",
201       "type" : "String",
202       "desc" : "Calls {@link #setUrl} with this value",
203       "memberOf" : "",
204       "isOptional" : false,
205       "optvalues" : []
206     },
207     {
208       "name" : "resizeEl",
209       "type" : "String|HTMLElement|Element",
210       "desc" : "An element to resize if {@link #fitToFrame} is true (instead of this panel's element)",
211       "memberOf" : "",
212       "isOptional" : false,
213       "optvalues" : []
214     }
215   ],
216   "methods" : [
217     {
218       "name" : "load",
219       "type" : "function",
220       "desc" : "Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {@link #setUrl}.",
221       "sig" : "(url, params, callback, discardUrl)",
222       "static" : false,
223       "memberOf" : "",
224       "isStatic" : false,
225       "isConstructor" : false,
226       "isPrivate" : false,
227       "example" : "",
228       "deprecated" : "",
229       "since" : "",
230       "see" : "",
231       "exceptions" : "",
232       "requires" : "",
233       "params" : [
234         {
235           "name" : "url",
236           "type" : "Object/String/Function",
237           "desc" : "The url for this request or a function to call to get the url or a config object containing any of the following options:\n<pre><code>\npanel.load({\n    url: \"your-url.php\",\n    params: {param1: \"foo\", param2: \"bar\"}, // or a URL encoded string\n    callback: yourFunction,\n    scope: yourObject, //(optional scope)\n    discardUrl: false,\n    nocache: false,\n    text: \"Loading...\",\n    timeout: 30,\n    scripts: false\n});\n</code></pre>\nThe only required property is <i>url</i>. The optional properties <i>nocache</i>, <i>text</i> and <i>scripts</i>\nare shorthand for <i>disableCaching</i>, <i>indicatorText</i> and <i>loadScripts</i> and are used to set their associated property on this panel UpdateManager instance.",
238           "isOptional" : false
239         },
240         {
241           "name" : "params",
242           "type" : "String/Object",
243           "desc" : "(optional) The parameters to pass as either a URL encoded string \"param1=1&amp;param2=2\" or an object {param1: 1, param2: 2}",
244           "isOptional" : false
245         },
246         {
247           "name" : "callback",
248           "type" : "Function",
249           "desc" : "(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)",
250           "isOptional" : false
251         },
252         {
253           "name" : "discardUrl",
254           "type" : "Boolean",
255           "desc" : "(optional) By default when you execute an update the defaultUrl is changed to the last used URL. If true, it will not store the URL.",
256           "isOptional" : false
257         }
258       ],
259       "returns" : [
260         {
261           "name" : "",
262           "type" : "Roo.ContentPanel",
263           "desc" : "this"
264         }
265       ]
266     },
267     {
268       "name" : "getUpdateManager",
269       "type" : "function",
270       "desc" : "Get the {@link Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.",
271       "sig" : "()\n{\n\n}",
272       "static" : false,
273       "memberOf" : "",
274       "isStatic" : false,
275       "isConstructor" : false,
276       "isPrivate" : false,
277       "example" : "",
278       "deprecated" : "",
279       "since" : "",
280       "see" : "",
281       "exceptions" : "",
282       "requires" : "",
283       "params" : [],
284       "returns" : [
285         {
286           "name" : "",
287           "type" : "Roo.UpdateManager",
288           "desc" : "The UpdateManager"
289         }
290       ]
291     },
292     {
293       "name" : "isClosable",
294       "type" : "function",
295       "desc" : "Returns true is this panel was configured to be closable",
296       "sig" : "()\n{\n\n}",
297       "static" : false,
298       "memberOf" : "",
299       "isStatic" : false,
300       "isConstructor" : false,
301       "isPrivate" : false,
302       "example" : "",
303       "deprecated" : "",
304       "since" : "",
305       "see" : "",
306       "exceptions" : "",
307       "requires" : "",
308       "params" : [],
309       "returns" : [
310         {
311           "name" : "",
312           "type" : "Boolean",
313           "desc" : ""
314         }
315       ]
316     },
317     {
318       "name" : "destroy",
319       "type" : "function",
320       "desc" : "Destroys this panel",
321       "sig" : "()\n{\n\n}",
322       "static" : false,
323       "memberOf" : "",
324       "isStatic" : false,
325       "isConstructor" : false,
326       "isPrivate" : false,
327       "example" : "",
328       "deprecated" : "",
329       "since" : "",
330       "see" : "",
331       "exceptions" : "",
332       "requires" : "",
333       "params" : [],
334       "returns" : []
335     },
336     {
337       "name" : "getEl",
338       "type" : "function",
339       "desc" : "Returns this panel's element - used by regiosn to add.",
340       "sig" : "()\n{\n\n}",
341       "static" : false,
342       "memberOf" : "",
343       "isStatic" : false,
344       "isConstructor" : false,
345       "isPrivate" : false,
346       "example" : "",
347       "deprecated" : "",
348       "since" : "",
349       "see" : "",
350       "exceptions" : "",
351       "requires" : "",
352       "params" : [],
353       "returns" : [
354         {
355           "name" : "",
356           "type" : "Roo.Element",
357           "desc" : ""
358         }
359       ]
360     },
361     {
362       "name" : "setContent",
363       "type" : "function",
364       "desc" : "Updates this panel's element",
365       "sig" : "(content, loadScripts)",
366       "static" : false,
367       "memberOf" : "",
368       "isStatic" : false,
369       "isConstructor" : false,
370       "isPrivate" : false,
371       "example" : "",
372       "deprecated" : "",
373       "since" : "",
374       "see" : "",
375       "exceptions" : "",
376       "requires" : "",
377       "params" : [
378         {
379           "name" : "content",
380           "type" : "String",
381           "desc" : "The new content",
382           "isOptional" : false
383         },
384         {
385           "name" : "loadScripts",
386           "type" : "Boolean",
387           "desc" : "(optional) true to look for and process scripts",
388           "isOptional" : false
389         }
390       ],
391       "returns" : []
392     },
393     {
394       "name" : "getId",
395       "type" : "function",
396       "desc" : "Returns this panel's id",
397       "sig" : "()\n{\n\n}",
398       "static" : false,
399       "memberOf" : "",
400       "isStatic" : false,
401       "isConstructor" : false,
402       "isPrivate" : false,
403       "example" : "",
404       "deprecated" : "",
405       "since" : "",
406       "see" : "",
407       "exceptions" : "",
408       "requires" : "",
409       "params" : [],
410       "returns" : [
411         {
412           "name" : "",
413           "type" : "String",
414           "desc" : ""
415         }
416       ]
417     },
418     {
419       "name" : "addxtype",
420       "type" : "function",
421       "desc" : "Adds a xtype elements to the panel - currently only supports Forms, View, JsonView.\n<pre><code>\n\nlayout.addxtype({\n       xtype : 'Form',\n       items: [ .... ]\n   }\n);\n\n</code></pre>",
422       "sig" : "(cfg)",
423       "static" : false,
424       "memberOf" : "",
425       "isStatic" : false,
426       "isConstructor" : false,
427       "isPrivate" : false,
428       "example" : "",
429       "deprecated" : "",
430       "since" : "",
431       "see" : "",
432       "exceptions" : "",
433       "requires" : "",
434       "params" : [
435         {
436           "name" : "cfg",
437           "type" : "Object",
438           "desc" : "Xtype definition of item to add.",
439           "isOptional" : false
440         }
441       ],
442       "returns" : []
443     },
444     {
445       "name" : "refresh",
446       "type" : "function",
447       "desc" : "Force a content refresh from the URL specified in the {@link #setUrl} method.\n  Will fail silently if the {@link #setUrl} method has not been called.\n  This does not activate the panel, just updates its content.",
448       "sig" : "()\n{\n\n}",
449       "static" : false,
450       "memberOf" : "",
451       "isStatic" : false,
452       "isConstructor" : false,
453       "isPrivate" : false,
454       "example" : "",
455       "deprecated" : "",
456       "since" : "",
457       "see" : "",
458       "exceptions" : "",
459       "requires" : "",
460       "params" : [],
461       "returns" : []
462     },
463     {
464       "name" : "getTitle",
465       "type" : "function",
466       "desc" : "Returns this panel's title",
467       "sig" : "()\n{\n\n}",
468       "static" : false,
469       "memberOf" : "",
470       "isStatic" : false,
471       "isConstructor" : false,
472       "isPrivate" : false,
473       "example" : "",
474       "deprecated" : "",
475       "since" : "",
476       "see" : "",
477       "exceptions" : "",
478       "requires" : "",
479       "params" : [],
480       "returns" : [
481         {
482           "name" : "",
483           "type" : "String",
484           "desc" : ""
485         }
486       ]
487     },
488     {
489       "name" : "setTitle",
490       "type" : "function",
491       "desc" : "Set this panel's title",
492       "sig" : "(title)",
493       "static" : false,
494       "memberOf" : "",
495       "isStatic" : false,
496       "isConstructor" : false,
497       "isPrivate" : false,
498       "example" : "",
499       "deprecated" : "",
500       "since" : "",
501       "see" : "",
502       "exceptions" : "",
503       "requires" : "",
504       "params" : [
505         {
506           "name" : "title",
507           "type" : "String",
508           "desc" : "",
509           "isOptional" : false
510         }
511       ],
512       "returns" : []
513     },
514     {
515       "name" : "getToolbar",
516       "type" : "function",
517       "desc" : "Returns the toolbar for this Panel if one was configured.",
518       "sig" : "()\n{\n\n}",
519       "static" : false,
520       "memberOf" : "",
521       "isStatic" : false,
522       "isConstructor" : false,
523       "isPrivate" : false,
524       "example" : "",
525       "deprecated" : "",
526       "since" : "",
527       "see" : "",
528       "exceptions" : "",
529       "requires" : "",
530       "params" : [],
531       "returns" : [
532         {
533           "name" : "",
534           "type" : "Roo.Toolbar",
535           "desc" : ""
536         }
537       ]
538     },
539     {
540       "name" : "setUrl",
541       "type" : "function",
542       "desc" : "Set a URL to be used to load the content for this panel. When this panel is activated, the content will be loaded from that URL.",
543       "sig" : "(url, params, loadOnce)",
544       "static" : false,
545       "memberOf" : "",
546       "isStatic" : false,
547       "isConstructor" : false,
548       "isPrivate" : false,
549       "example" : "",
550       "deprecated" : "",
551       "since" : "",
552       "see" : "",
553       "exceptions" : "",
554       "requires" : "",
555       "params" : [
556         {
557           "name" : "url",
558           "type" : "String/Function",
559           "desc" : "The URL to load the content from or a function to call to get the URL",
560           "isOptional" : false
561         },
562         {
563           "name" : "params",
564           "type" : "String/Object",
565           "desc" : "(optional) The string params for the update call or an object of the params. See {@link Roo.UpdateManager#update} for more details. (Defaults to null)",
566           "isOptional" : false
567         },
568         {
569           "name" : "loadOnce",
570           "type" : "Boolean",
571           "desc" : "(optional) Whether to only load the content once. If this is false it makes the Ajax call every time this panel is activated. (Defaults to false)",
572           "isOptional" : false
573         }
574       ],
575       "returns" : [
576         {
577           "name" : "",
578           "type" : "Roo.UpdateManager",
579           "desc" : "The UpdateManager"
580         }
581       ]
582     },
583     {
584       "name" : "purgeListeners",
585       "type" : "function",
586       "desc" : "Removes all listeners for this object",
587       "sig" : "()\n{\n\n}",
588       "static" : false,
589       "memberOf" : "Roo.util.Observable",
590       "isStatic" : false,
591       "isConstructor" : false,
592       "isPrivate" : false,
593       "example" : "",
594       "deprecated" : "",
595       "since" : "",
596       "see" : "",
597       "exceptions" : "",
598       "requires" : "",
599       "params" : [],
600       "returns" : []
601     },
602     {
603       "name" : "on",
604       "type" : "function",
605       "desc" : "Appends an event handler to this element (shorthand for addListener)",
606       "sig" : "(eventName, handler, scope, options)",
607       "static" : false,
608       "memberOf" : "Roo.util.Observable",
609       "isStatic" : false,
610       "isConstructor" : false,
611       "isPrivate" : false,
612       "example" : "",
613       "deprecated" : "",
614       "since" : "",
615       "see" : "",
616       "exceptions" : "",
617       "requires" : "",
618       "params" : [
619         {
620           "name" : "eventName",
621           "type" : "String",
622           "desc" : "The type of event to listen for",
623           "isOptional" : false
624         },
625         {
626           "name" : "handler",
627           "type" : "Function",
628           "desc" : "The method the event invokes",
629           "isOptional" : false
630         },
631         {
632           "name" : "scope",
633           "type" : "Object",
634           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
635           "isOptional" : false
636         },
637         {
638           "name" : "options",
639           "type" : "Object",
640           "desc" : "(optional)",
641           "isOptional" : false
642         }
643       ],
644       "returns" : []
645     },
646     {
647       "name" : "un",
648       "type" : "function",
649       "desc" : "Removes a listener (shorthand for removeListener)",
650       "sig" : "(eventName, handler, scope)",
651       "static" : false,
652       "memberOf" : "Roo.util.Observable",
653       "isStatic" : false,
654       "isConstructor" : false,
655       "isPrivate" : false,
656       "example" : "",
657       "deprecated" : "",
658       "since" : "",
659       "see" : "",
660       "exceptions" : "",
661       "requires" : "",
662       "params" : [
663         {
664           "name" : "eventName",
665           "type" : "String",
666           "desc" : "The type of event to listen for",
667           "isOptional" : false
668         },
669         {
670           "name" : "handler",
671           "type" : "Function",
672           "desc" : "The handler to remove",
673           "isOptional" : false
674         },
675         {
676           "name" : "scope",
677           "type" : "Object",
678           "desc" : "(optional) The scope (this object) for the handler",
679           "isOptional" : false
680         }
681       ],
682       "returns" : []
683     },
684     {
685       "name" : "addEvents",
686       "type" : "function",
687       "desc" : "Used to define events on this Observable",
688       "sig" : "(object)",
689       "static" : false,
690       "memberOf" : "Roo.util.Observable",
691       "isStatic" : false,
692       "isConstructor" : false,
693       "isPrivate" : false,
694       "example" : "",
695       "deprecated" : "",
696       "since" : "",
697       "see" : "",
698       "exceptions" : "",
699       "requires" : "",
700       "params" : [
701         {
702           "name" : "object",
703           "type" : "Object",
704           "desc" : "The object with the events defined",
705           "isOptional" : false
706         }
707       ],
708       "returns" : []
709     },
710     {
711       "name" : "releaseCapture",
712       "type" : "function",
713       "desc" : "Removes <b>all</b> added captures from the Observable.",
714       "sig" : "(o)",
715       "static" : true,
716       "memberOf" : "Roo.util.Observable",
717       "isStatic" : true,
718       "isConstructor" : false,
719       "isPrivate" : false,
720       "example" : "",
721       "deprecated" : "",
722       "since" : "",
723       "see" : "",
724       "exceptions" : "",
725       "requires" : "",
726       "params" : [
727         {
728           "name" : "o",
729           "type" : "Observable",
730           "desc" : "The Observable to release",
731           "isOptional" : false
732         }
733       ],
734       "returns" : []
735     },
736     {
737       "name" : "removeListener",
738       "type" : "function",
739       "desc" : "Removes a listener",
740       "sig" : "(eventName, handler, scope)",
741       "static" : false,
742       "memberOf" : "Roo.util.Observable",
743       "isStatic" : false,
744       "isConstructor" : false,
745       "isPrivate" : false,
746       "example" : "",
747       "deprecated" : "",
748       "since" : "",
749       "see" : "",
750       "exceptions" : "",
751       "requires" : "",
752       "params" : [
753         {
754           "name" : "eventName",
755           "type" : "String",
756           "desc" : "The type of event to listen for",
757           "isOptional" : false
758         },
759         {
760           "name" : "handler",
761           "type" : "Function",
762           "desc" : "The handler to remove",
763           "isOptional" : false
764         },
765         {
766           "name" : "scope",
767           "type" : "Object",
768           "desc" : "(optional) The scope (this object) for the handler",
769           "isOptional" : false
770         }
771       ],
772       "returns" : []
773     },
774     {
775       "name" : "fireEvent",
776       "type" : "function",
777       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
778       "sig" : "(eventName, args)",
779       "static" : false,
780       "memberOf" : "Roo.util.Observable",
781       "isStatic" : false,
782       "isConstructor" : false,
783       "isPrivate" : false,
784       "example" : "",
785       "deprecated" : "",
786       "since" : "",
787       "see" : "",
788       "exceptions" : "",
789       "requires" : "",
790       "params" : [
791         {
792           "name" : "eventName",
793           "type" : "String",
794           "desc" : "",
795           "isOptional" : false
796         },
797         {
798           "name" : "args",
799           "type" : "Object...",
800           "desc" : "Variable number of parameters are passed to handlers",
801           "isOptional" : false
802         }
803       ],
804       "returns" : [
805         {
806           "name" : "",
807           "type" : "Boolean",
808           "desc" : "returns false if any of the handlers return false otherwise it returns true"
809         }
810       ]
811     },
812     {
813       "name" : "hasListener",
814       "type" : "function",
815       "desc" : "Checks to see if this object has any listeners for a specified event",
816       "sig" : "(eventName)",
817       "static" : false,
818       "memberOf" : "Roo.util.Observable",
819       "isStatic" : false,
820       "isConstructor" : false,
821       "isPrivate" : false,
822       "example" : "",
823       "deprecated" : "",
824       "since" : "",
825       "see" : "",
826       "exceptions" : "",
827       "requires" : "",
828       "params" : [
829         {
830           "name" : "eventName",
831           "type" : "String",
832           "desc" : "The name of the event to check for",
833           "isOptional" : false
834         }
835       ],
836       "returns" : [
837         {
838           "name" : "",
839           "type" : "Boolean",
840           "desc" : "True if the event is being listened for, else false"
841         }
842       ]
843     },
844     {
845       "name" : "capture",
846       "type" : "function",
847       "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.",
848       "sig" : "(o, fn, scope)",
849       "static" : true,
850       "memberOf" : "Roo.util.Observable",
851       "isStatic" : true,
852       "isConstructor" : false,
853       "isPrivate" : false,
854       "example" : "",
855       "deprecated" : "",
856       "since" : "",
857       "see" : "",
858       "exceptions" : "",
859       "requires" : "",
860       "params" : [
861         {
862           "name" : "o",
863           "type" : "Observable",
864           "desc" : "The Observable to capture",
865           "isOptional" : false
866         },
867         {
868           "name" : "fn",
869           "type" : "Function",
870           "desc" : "The function to call",
871           "isOptional" : false
872         },
873         {
874           "name" : "scope",
875           "type" : "Object",
876           "desc" : "(optional) The scope (this object) for the fn",
877           "isOptional" : false
878         }
879       ],
880       "returns" : []
881     },
882     {
883       "name" : "addListener",
884       "type" : "function",
885       "desc" : "Appends an event handler to this component",
886       "sig" : "(eventName, handler, scope, options)",
887       "static" : false,
888       "memberOf" : "Roo.util.Observable",
889       "isStatic" : false,
890       "isConstructor" : false,
891       "isPrivate" : false,
892       "example" : "",
893       "deprecated" : "",
894       "since" : "",
895       "see" : "",
896       "exceptions" : "",
897       "requires" : "",
898       "params" : [
899         {
900           "name" : "eventName",
901           "type" : "String",
902           "desc" : "The type of event to listen for",
903           "isOptional" : false
904         },
905         {
906           "name" : "handler",
907           "type" : "Function",
908           "desc" : "The method the event invokes",
909           "isOptional" : false
910         },
911         {
912           "name" : "scope",
913           "type" : "Object",
914           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
915           "isOptional" : false
916         },
917         {
918           "name" : "options",
919           "type" : "Object",
920           "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>",
921           "isOptional" : false
922         }
923       ],
924       "returns" : []
925     }
926   ],
927   "events" : [
928     {
929       "name" : "deactivate",
930       "type" : "function",
931       "desc" : "Fires when this panel is activated.",
932       "sig" : "function (_self)\n{\n\n}",
933       "memberOf" : "",
934       "example" : "",
935       "deprecated" : "",
936       "since" : "",
937       "see" : "",
938       "params" : [
939         {
940           "name" : "this",
941           "type" : "Roo.ContentPanel",
942           "desc" : "",
943           "isOptional" : false
944         }
945       ],
946       "returns" : []
947     },
948     {
949       "name" : "resize",
950       "type" : "function",
951       "desc" : "Fires when this panel is resized if fitToFrame is true.",
952       "sig" : "function (_self, width, height)\n{\n\n}",
953       "memberOf" : "",
954       "example" : "",
955       "deprecated" : "",
956       "since" : "",
957       "see" : "",
958       "params" : [
959         {
960           "name" : "this",
961           "type" : "Roo.ContentPanel",
962           "desc" : "",
963           "isOptional" : false
964         },
965         {
966           "name" : "width",
967           "type" : "Number",
968           "desc" : "The width after any component adjustments",
969           "isOptional" : false
970         },
971         {
972           "name" : "height",
973           "type" : "Number",
974           "desc" : "The height after any component adjustments",
975           "isOptional" : false
976         }
977       ],
978       "returns" : []
979     },
980     {
981       "name" : "render",
982       "type" : "function",
983       "desc" : "Fires when this tab is created",
984       "sig" : "function (_self)\n{\n\n}",
985       "memberOf" : "",
986       "example" : "",
987       "deprecated" : "",
988       "since" : "",
989       "see" : "",
990       "params" : [
991         {
992           "name" : "this",
993           "type" : "Roo.ContentPanel",
994           "desc" : "",
995           "isOptional" : false
996         }
997       ],
998       "returns" : []
999     },
1000     {
1001       "name" : "activate",
1002       "type" : "function",
1003       "desc" : "Fires when this panel is activated.",
1004       "sig" : "function (_self)\n{\n\n}",
1005       "memberOf" : "",
1006       "example" : "",
1007       "deprecated" : "",
1008       "since" : "",
1009       "see" : "",
1010       "params" : [
1011         {
1012           "name" : "this",
1013           "type" : "Roo.ContentPanel",
1014           "desc" : "",
1015           "isOptional" : false
1016         }
1017       ],
1018       "returns" : []
1019     }
1020   ]
1021 }