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