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