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