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