Fix #6893 - fix roo docs
[roojs1] / docs / symbols / Roo.SplitLayoutRegion.json
1 {
2   "name" : "Roo.SplitLayoutRegion",
3   "augments" : [
4     "Roo.LayoutRegion",
5     "Roo.BasicLayoutRegion",
6     "Roo.util.Observable"
7   ],
8   "desc" : "Adds a splitbar and other (private) useful functionality to a {@link Roo.LayoutRegion}.",
9   "isSingleton" : false,
10   "isStatic" : false,
11   "isBuiltin" : false,
12   "memberOf" : "SplitLayoutRegion",
13   "example" : "",
14   "deprecated" : "",
15   "since" : "",
16   "see" : "",
17   "params" : [],
18   "returns" : [],
19   "config" : [
20     {
21       "name" : "cmargins",
22       "type" : "Object",
23       "desc" : "Margins for the element when collapsed (defaults to: north/south {top: 2, left: 0, right:0, bottom: 2} or east/west {top: 0, left: 2, right:2, bottom: 0})",
24       "memberOf" : "Roo.LayoutRegion",
25       "optvals" : []
26     },
27     {
28       "name" : "alwaysShowTabs",
29       "type" : "Boolean",
30       "desc" : "True to always display tabs even when there is only 1 panel (defaults to false)",
31       "memberOf" : "Roo.LayoutRegion",
32       "optvals" : []
33     },
34     {
35       "name" : "listeners",
36       "type" : "Object",
37       "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>",
38       "memberOf" : "Roo.util.Observable",
39       "optvals" : []
40     },
41     {
42       "name" : "margins",
43       "type" : "Object",
44       "desc" : "Margins for the element (defaults to {top: 0, left: 0, right:0, bottom: 0})",
45       "memberOf" : "Roo.LayoutRegion",
46       "optvals" : []
47     },
48     {
49       "name" : "preferredTabWidth",
50       "type" : "Number",
51       "desc" : "The preferred tab width (defaults to 150)",
52       "memberOf" : "Roo.LayoutRegion",
53       "optvals" : []
54     },
55     {
56       "name" : "disableTabTips",
57       "type" : "Boolean",
58       "desc" : "True to disable tab tooltips",
59       "memberOf" : "Roo.LayoutRegion",
60       "optvals" : []
61     },
62     {
63       "name" : "collapsible",
64       "type" : "Boolean",
65       "desc" : "False to disable collapsing (defaults to true)",
66       "memberOf" : "Roo.LayoutRegion",
67       "optvals" : []
68     },
69     {
70       "name" : "collapsedTitle",
71       "type" : "String",
72       "desc" : "Optional string message to display in the collapsed block of a north or south region",
73       "memberOf" : "Roo.LayoutRegion",
74       "optvals" : []
75     },
76     {
77       "name" : "autoScroll",
78       "type" : "Boolean",
79       "desc" : "True to enable overflow scrolling (defaults to false)",
80       "memberOf" : "Roo.LayoutRegion",
81       "optvals" : []
82     },
83     {
84       "name" : "hidden",
85       "type" : "Boolean",
86       "desc" : "True to start the region hidden (defaults to false)",
87       "memberOf" : "Roo.LayoutRegion",
88       "optvals" : []
89     },
90     {
91       "name" : "toolbar",
92       "type" : "Boolean",
93       "desc" : "xtype configuration for a toolbar - shows on right of tabbar",
94       "memberOf" : "Roo.LayoutRegion",
95       "optvals" : []
96     },
97     {
98       "name" : "title",
99       "type" : "String",
100       "desc" : "The title for the region (overrides panel titles)",
101       "memberOf" : "Roo.LayoutRegion",
102       "optvals" : []
103     },
104     {
105       "name" : "hideWhenEmpty",
106       "type" : "Boolean",
107       "desc" : "True to hide the region when it has no panels",
108       "memberOf" : "Roo.LayoutRegion",
109       "optvals" : []
110     },
111     {
112       "name" : "collapsed",
113       "type" : "Boolean",
114       "desc" : "True to set the initial display to collapsed (defaults to false)",
115       "memberOf" : "Roo.LayoutRegion",
116       "optvals" : []
117     },
118     {
119       "name" : "hideTabs",
120       "type" : "Boolean",
121       "desc" : "True to hide the tab strip (defaults to false)",
122       "memberOf" : "Roo.LayoutRegion",
123       "optvals" : []
124     },
125     {
126       "name" : "resizeTabs",
127       "type" : "Boolean",
128       "desc" : "True to enable automatic tab resizing. This will resize the tabs so they are all the same size and fit within\n                     the space available, similar to FireFox 1.5 tabs (defaults to false)",
129       "memberOf" : "Roo.LayoutRegion",
130       "optvals" : []
131     },
132     {
133       "name" : "tabPosition",
134       "type" : "String",
135       "desc" : "m) \"top\" or \"bottom\" (defaults to \"bottom\")",
136       "memberOf" : "Roo.LayoutRegion",
137       "optvals" : [
138         "top",
139         "bottom"
140       ]
141     },
142     {
143       "name" : "width",
144       "type" : "Number",
145       "desc" : "For East/West panels",
146       "memberOf" : "Roo.LayoutRegion",
147       "optvals" : []
148     },
149     {
150       "name" : "floatable",
151       "type" : "Boolean",
152       "desc" : "False to disable floating (defaults to true)",
153       "memberOf" : "Roo.LayoutRegion",
154       "optvals" : []
155     },
156     {
157       "name" : "minTabWidth",
158       "type" : "Number",
159       "desc" : "The minimum tab width (defaults to 40)",
160       "memberOf" : "Roo.LayoutRegion",
161       "optvals" : []
162     },
163     {
164       "name" : "split",
165       "type" : "Boolean",
166       "desc" : "To show the splitter",
167       "memberOf" : "Roo.LayoutRegion",
168       "optvals" : []
169     },
170     {
171       "name" : "titlebar",
172       "type" : "Boolean",
173       "desc" : "True to display a title bar (defaults to true)",
174       "memberOf" : "Roo.LayoutRegion",
175       "optvals" : []
176     },
177     {
178       "name" : "preservePanels",
179       "type" : "Boolean",
180       "desc" : "True to preserve removed panels so they can be readded later (defaults to false)",
181       "memberOf" : "Roo.LayoutRegion",
182       "optvals" : []
183     },
184     {
185       "name" : "closeOnTab",
186       "type" : "Boolean",
187       "desc" : "True to place the close icon on the tabs instead of the region titlebar (defaults to false)",
188       "memberOf" : "Roo.LayoutRegion",
189       "optvals" : []
190     },
191     {
192       "name" : "height",
193       "type" : "Number",
194       "desc" : "For North/South panels",
195       "memberOf" : "Roo.LayoutRegion",
196       "optvals" : []
197     },
198     {
199       "name" : "animate",
200       "type" : "Boolean",
201       "desc" : "True to animate expand/collapse (defaults to false)",
202       "memberOf" : "Roo.LayoutRegion",
203       "optvals" : []
204     },
205     {
206       "name" : "autoHide",
207       "type" : "Boolean",
208       "desc" : "False to disable auto hiding when the mouse leaves the \"floated\" region (defaults to true)",
209       "memberOf" : "Roo.LayoutRegion",
210       "optvals" : []
211     },
212     {
213       "name" : "showPin",
214       "type" : "Boolean",
215       "desc" : "True to show a pin button",
216       "memberOf" : "Roo.LayoutRegion",
217       "optvals" : []
218     }
219   ],
220   "methods" : [
221     {
222       "name" : "getSplitBar",
223       "desc" : "Returns the {@link Roo.SplitBar} for this region.",
224       "isStatic" : false,
225       "isConstructor" : false,
226       "isPrivate" : false,
227       "memberOf" : "Roo.SplitLayoutRegion",
228       "example" : "",
229       "deprecated" : "",
230       "since" : "",
231       "see" : "",
232       "params" : [],
233       "returns" : [
234         {
235           "name" : "",
236           "type" : "Roo.SplitBar",
237           "desc" : ""
238         }
239       ]
240     },
241     {
242       "name" : "getEl",
243       "desc" : "Returns the container element for this region.",
244       "isStatic" : false,
245       "isConstructor" : false,
246       "isPrivate" : false,
247       "memberOf" : "Roo.LayoutRegion",
248       "example" : "",
249       "deprecated" : "",
250       "since" : "",
251       "see" : "",
252       "params" : [],
253       "returns" : [
254         {
255           "name" : "",
256           "type" : "Roo.Element",
257           "desc" : ""
258         }
259       ]
260     },
261     {
262       "name" : "remove",
263       "desc" : "Removes the specified panel. If preservePanel is not true (either here or in the config), the panel is destroyed.",
264       "isStatic" : false,
265       "isConstructor" : false,
266       "isPrivate" : false,
267       "memberOf" : "Roo.LayoutRegion",
268       "example" : "",
269       "deprecated" : "",
270       "since" : "",
271       "see" : "",
272       "params" : [
273         {
274           "name" : "panel",
275           "type" : "Number/String/ContentPanel",
276           "desc" : "The panel's index, id or the panel itself",
277           "isOptional" : false
278         },
279         {
280           "name" : "preservePanel",
281           "type" : "Boolean",
282           "desc" : "Overrides the config preservePanel option",
283           "isOptional" : false
284         }
285       ],
286       "returns" : [
287         {
288           "name" : "",
289           "type" : "Roo.ContentPanel",
290           "desc" : "The panel that was removed"
291         }
292       ]
293     },
294     {
295       "name" : "getActivePanel",
296       "desc" : "Get the active panel for this region.",
297       "isStatic" : false,
298       "isConstructor" : false,
299       "isPrivate" : false,
300       "memberOf" : "Roo.LayoutRegion",
301       "example" : "",
302       "deprecated" : "",
303       "since" : "",
304       "see" : "",
305       "params" : [],
306       "returns" : [
307         {
308           "name" : "",
309           "type" : "Roo.ContentPanel",
310           "desc" : "The active panel or null"
311         }
312       ]
313     },
314     {
315       "name" : "collapse",
316       "desc" : "Collapses this region.",
317       "isStatic" : false,
318       "isConstructor" : false,
319       "isPrivate" : false,
320       "memberOf" : "Roo.LayoutRegion",
321       "example" : "",
322       "deprecated" : "",
323       "since" : "",
324       "see" : "",
325       "params" : [
326         {
327           "name" : "skipAnim",
328           "type" : "Boolean",
329           "desc" : "(optional) true to collapse the element without animation (if animate is true)",
330           "isOptional" : false
331         }
332       ],
333       "returns" : []
334     },
335     {
336       "name" : "unhidePanel",
337       "desc" : "Unhides the tab for a previously hidden panel.",
338       "isStatic" : false,
339       "isConstructor" : false,
340       "isPrivate" : false,
341       "memberOf" : "Roo.LayoutRegion",
342       "example" : "",
343       "deprecated" : "",
344       "since" : "",
345       "see" : "",
346       "params" : [
347         {
348           "name" : "panel",
349           "type" : "Number/String/ContentPanel",
350           "desc" : "The panel's index, id or the panel itself",
351           "isOptional" : false
352         }
353       ],
354       "returns" : []
355     },
356     {
357       "name" : "setCollapsedTitle",
358       "desc" : "Updates the title for collapsed north/south regions (used with {@link #collapsedTitle} config option)",
359       "isStatic" : false,
360       "isConstructor" : false,
361       "isPrivate" : false,
362       "memberOf" : "Roo.LayoutRegion",
363       "example" : "",
364       "deprecated" : "",
365       "since" : "",
366       "see" : "",
367       "params" : [
368         {
369           "name" : "title",
370           "type" : "String",
371           "desc" : "(optional) The title text (accepts HTML markup, defaults to the numeric character reference for a non-breaking space, \"&amp;#160;\")",
372           "isOptional" : false
373         }
374       ],
375       "returns" : []
376     },
377     {
378       "name" : "getTabs",
379       "desc" : "Returns the TabPanel component used by this region",
380       "isStatic" : false,
381       "isConstructor" : false,
382       "isPrivate" : false,
383       "memberOf" : "Roo.LayoutRegion",
384       "example" : "",
385       "deprecated" : "",
386       "since" : "",
387       "see" : "",
388       "params" : [],
389       "returns" : [
390         {
391           "name" : "",
392           "type" : "Roo.TabPanel",
393           "desc" : ""
394         }
395       ]
396     },
397     {
398       "name" : "expand",
399       "desc" : "Expands this region if it was previously collapsed.",
400       "isStatic" : false,
401       "isConstructor" : false,
402       "isPrivate" : false,
403       "memberOf" : "Roo.LayoutRegion",
404       "example" : "",
405       "deprecated" : "",
406       "since" : "",
407       "see" : "",
408       "params" : [
409         {
410           "name" : "e",
411           "type" : "Roo.EventObject",
412           "desc" : "The event that triggered the expand (or null if calling manually)",
413           "isOptional" : false
414         },
415         {
416           "name" : "skipAnim",
417           "type" : "Boolean",
418           "desc" : "(optional) true to expand the element without animation (if animate is true)",
419           "isOptional" : false
420         }
421       ],
422       "returns" : []
423     },
424     {
425       "name" : "isVisible",
426       "desc" : "Returns true if this region is currently visible.",
427       "isStatic" : false,
428       "isConstructor" : false,
429       "isPrivate" : false,
430       "memberOf" : "Roo.LayoutRegion",
431       "example" : "",
432       "deprecated" : "",
433       "since" : "",
434       "see" : "",
435       "params" : [],
436       "returns" : [
437         {
438           "name" : "",
439           "type" : "Boolean",
440           "desc" : ""
441         }
442       ]
443     },
444     {
445       "name" : "showPanel",
446       "desc" : "Shows the specified panel.",
447       "isStatic" : false,
448       "isConstructor" : false,
449       "isPrivate" : false,
450       "memberOf" : "Roo.LayoutRegion",
451       "example" : "",
452       "deprecated" : "",
453       "since" : "",
454       "see" : "",
455       "params" : [
456         {
457           "name" : "panelId",
458           "type" : "Number/String/ContentPanel",
459           "desc" : "The panel's index, id or the panel itself",
460           "isOptional" : false
461         }
462       ],
463       "returns" : [
464         {
465           "name" : "",
466           "type" : "Roo.ContentPanel",
467           "desc" : "The shown panel, or null if a panel could not be found from panelId"
468         }
469       ]
470     },
471     {
472       "name" : "hide",
473       "desc" : "Hides this region.",
474       "isStatic" : false,
475       "isConstructor" : false,
476       "isPrivate" : false,
477       "memberOf" : "Roo.LayoutRegion",
478       "example" : "",
479       "deprecated" : "",
480       "since" : "",
481       "see" : "",
482       "params" : [],
483       "returns" : []
484     },
485     {
486       "name" : "show",
487       "desc" : "Shows this region if it was previously hidden.",
488       "isStatic" : false,
489       "isConstructor" : false,
490       "isPrivate" : false,
491       "memberOf" : "Roo.LayoutRegion",
492       "example" : "",
493       "deprecated" : "",
494       "since" : "",
495       "see" : "",
496       "params" : [],
497       "returns" : []
498     },
499     {
500       "name" : "add",
501       "desc" : "Adds the passed ContentPanel(s) to this region.",
502       "isStatic" : false,
503       "isConstructor" : false,
504       "isPrivate" : false,
505       "memberOf" : "Roo.LayoutRegion",
506       "example" : "",
507       "deprecated" : "",
508       "since" : "",
509       "see" : "",
510       "params" : [
511         {
512           "name" : "panel",
513           "type" : "ContentPanel...",
514           "desc" : "The ContentPanel(s) to add (you can pass more than one)",
515           "isOptional" : false
516         }
517       ],
518       "returns" : [
519         {
520           "name" : "",
521           "type" : "Roo.ContentPanel",
522           "desc" : "The panel added (if only one was added; null otherwise)"
523         }
524       ]
525     },
526     {
527       "name" : "hidePanel",
528       "desc" : "Hides the tab for the specified panel.",
529       "isStatic" : false,
530       "isConstructor" : false,
531       "isPrivate" : false,
532       "memberOf" : "Roo.LayoutRegion",
533       "example" : "",
534       "deprecated" : "",
535       "since" : "",
536       "see" : "",
537       "params" : [
538         {
539           "name" : "panel",
540           "type" : "Number/String/ContentPanel",
541           "desc" : "The panel's index, id or the panel itself",
542           "isOptional" : false
543         }
544       ],
545       "returns" : []
546     },
547     {
548       "name" : "hasPanel",
549       "desc" : "Returns true if the panel is in this region.",
550       "isStatic" : false,
551       "isConstructor" : false,
552       "isPrivate" : false,
553       "memberOf" : "Roo.BasicLayoutRegion",
554       "example" : "",
555       "deprecated" : "",
556       "since" : "",
557       "see" : "",
558       "params" : [
559         {
560           "name" : "panel",
561           "type" : "Number/String/ContentPanel",
562           "desc" : "The panels index, id or the panel itself",
563           "isOptional" : false
564         }
565       ],
566       "returns" : [
567         {
568           "name" : "",
569           "type" : "Boolean",
570           "desc" : ""
571         }
572       ]
573     },
574     {
575       "name" : "resizeTo",
576       "desc" : "Resizes the region to the specified size. For vertical regions (west, east) this adjusts \nthe width, for horizontal (north, south) the height.",
577       "isStatic" : false,
578       "isConstructor" : false,
579       "isPrivate" : false,
580       "memberOf" : "Roo.BasicLayoutRegion",
581       "example" : "",
582       "deprecated" : "",
583       "since" : "",
584       "see" : "",
585       "params" : [
586         {
587           "name" : "newSize",
588           "type" : "Number",
589           "desc" : "The new width or height",
590           "isOptional" : false
591         }
592       ],
593       "returns" : []
594     },
595     {
596       "name" : "getPosition",
597       "desc" : "Returns this regions position (north/south/east/west/center).",
598       "isStatic" : false,
599       "isConstructor" : false,
600       "isPrivate" : false,
601       "memberOf" : "Roo.BasicLayoutRegion",
602       "example" : "",
603       "deprecated" : "",
604       "since" : "",
605       "see" : "",
606       "params" : [],
607       "returns" : [
608         {
609           "name" : "",
610           "type" : "String",
611           "desc" : ""
612         }
613       ]
614     },
615     {
616       "name" : "getPanel",
617       "desc" : "Returns the panel specified or null if it's not in this region.",
618       "isStatic" : false,
619       "isConstructor" : false,
620       "isPrivate" : false,
621       "memberOf" : "Roo.BasicLayoutRegion",
622       "example" : "",
623       "deprecated" : "",
624       "since" : "",
625       "see" : "",
626       "params" : [
627         {
628           "name" : "panel",
629           "type" : "Number/String/ContentPanel",
630           "desc" : "The panels index, id or the panel itself",
631           "isOptional" : false
632         }
633       ],
634       "returns" : [
635         {
636           "name" : "",
637           "type" : "Roo.ContentPanel",
638           "desc" : ""
639         }
640       ]
641     },
642     {
643       "name" : "purgeListeners",
644       "desc" : "Removes all listeners for this object",
645       "isStatic" : false,
646       "isConstructor" : false,
647       "isPrivate" : false,
648       "memberOf" : "Roo.util.Observable",
649       "example" : "",
650       "deprecated" : "",
651       "since" : "",
652       "see" : "",
653       "params" : [],
654       "returns" : []
655     },
656     {
657       "name" : "on",
658       "desc" : "Appends an event handler to this element (shorthand for addListener)",
659       "isStatic" : false,
660       "isConstructor" : false,
661       "isPrivate" : false,
662       "memberOf" : "Roo.util.Observable",
663       "example" : "",
664       "deprecated" : "",
665       "since" : "",
666       "see" : "",
667       "params" : [
668         {
669           "name" : "eventName",
670           "type" : "String",
671           "desc" : "The type of event to listen for",
672           "isOptional" : false
673         },
674         {
675           "name" : "handler",
676           "type" : "Function",
677           "desc" : "The method the event invokes",
678           "isOptional" : false
679         },
680         {
681           "name" : "scope",
682           "type" : "Object",
683           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
684           "isOptional" : false
685         },
686         {
687           "name" : "options",
688           "type" : "Object",
689           "desc" : "(optional)",
690           "isOptional" : false
691         }
692       ],
693       "returns" : []
694     },
695     {
696       "name" : "un",
697       "desc" : "Removes a listener (shorthand for removeListener)",
698       "isStatic" : false,
699       "isConstructor" : false,
700       "isPrivate" : false,
701       "memberOf" : "Roo.util.Observable",
702       "example" : "",
703       "deprecated" : "",
704       "since" : "",
705       "see" : "",
706       "params" : [
707         {
708           "name" : "eventName",
709           "type" : "String",
710           "desc" : "The type of event to listen for",
711           "isOptional" : false
712         },
713         {
714           "name" : "handler",
715           "type" : "Function",
716           "desc" : "The handler to remove",
717           "isOptional" : false
718         },
719         {
720           "name" : "scope",
721           "type" : "Object",
722           "desc" : "(optional) The scope (this object) for the handler",
723           "isOptional" : false
724         }
725       ],
726       "returns" : []
727     },
728     {
729       "name" : "addEvents",
730       "desc" : "Used to define events on this Observable",
731       "isStatic" : false,
732       "isConstructor" : false,
733       "isPrivate" : false,
734       "memberOf" : "Roo.util.Observable",
735       "example" : "",
736       "deprecated" : "",
737       "since" : "",
738       "see" : "",
739       "params" : [
740         {
741           "name" : "object",
742           "type" : "Object",
743           "desc" : "The object with the events defined",
744           "isOptional" : false
745         }
746       ],
747       "returns" : []
748     },
749     {
750       "name" : "releaseCapture",
751       "desc" : "Removes <b>all</b> added captures from the Observable.",
752       "isStatic" : true,
753       "isConstructor" : false,
754       "isPrivate" : false,
755       "memberOf" : "Roo.util.Observable",
756       "example" : "",
757       "deprecated" : "",
758       "since" : "",
759       "see" : "",
760       "params" : [
761         {
762           "name" : "o",
763           "type" : "Observable",
764           "desc" : "The Observable to release",
765           "isOptional" : false
766         }
767       ],
768       "returns" : []
769     },
770     {
771       "name" : "removeListener",
772       "desc" : "Removes a listener",
773       "isStatic" : false,
774       "isConstructor" : false,
775       "isPrivate" : false,
776       "memberOf" : "Roo.util.Observable",
777       "example" : "",
778       "deprecated" : "",
779       "since" : "",
780       "see" : "",
781       "params" : [
782         {
783           "name" : "eventName",
784           "type" : "String",
785           "desc" : "The type of event to listen for",
786           "isOptional" : false
787         },
788         {
789           "name" : "handler",
790           "type" : "Function",
791           "desc" : "The handler to remove",
792           "isOptional" : false
793         },
794         {
795           "name" : "scope",
796           "type" : "Object",
797           "desc" : "(optional) The scope (this object) for the handler",
798           "isOptional" : false
799         }
800       ],
801       "returns" : []
802     },
803     {
804       "name" : "fireEvent",
805       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
806       "isStatic" : false,
807       "isConstructor" : false,
808       "isPrivate" : false,
809       "memberOf" : "Roo.util.Observable",
810       "example" : "",
811       "deprecated" : "",
812       "since" : "",
813       "see" : "",
814       "params" : [
815         {
816           "name" : "eventName",
817           "type" : "String",
818           "desc" : "",
819           "isOptional" : false
820         },
821         {
822           "name" : "args",
823           "type" : "Object...",
824           "desc" : "Variable number of parameters are passed to handlers",
825           "isOptional" : false
826         }
827       ],
828       "returns" : [
829         {
830           "name" : "",
831           "type" : "Boolean",
832           "desc" : "returns false if any of the handlers return false otherwise it returns true"
833         }
834       ]
835     },
836     {
837       "name" : "hasListener",
838       "desc" : "Checks to see if this object has any listeners for a specified event",
839       "isStatic" : false,
840       "isConstructor" : false,
841       "isPrivate" : false,
842       "memberOf" : "Roo.util.Observable",
843       "example" : "",
844       "deprecated" : "",
845       "since" : "",
846       "see" : "",
847       "params" : [
848         {
849           "name" : "eventName",
850           "type" : "String",
851           "desc" : "The name of the event to check for",
852           "isOptional" : false
853         }
854       ],
855       "returns" : [
856         {
857           "name" : "",
858           "type" : "Boolean",
859           "desc" : "True if the event is being listened for, else false"
860         }
861       ]
862     },
863     {
864       "name" : "capture",
865       "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.",
866       "isStatic" : true,
867       "isConstructor" : false,
868       "isPrivate" : false,
869       "memberOf" : "Roo.util.Observable",
870       "example" : "",
871       "deprecated" : "",
872       "since" : "",
873       "see" : "",
874       "params" : [
875         {
876           "name" : "o",
877           "type" : "Observable",
878           "desc" : "The Observable to capture",
879           "isOptional" : false
880         },
881         {
882           "name" : "fn",
883           "type" : "Function",
884           "desc" : "The function to call",
885           "isOptional" : false
886         },
887         {
888           "name" : "scope",
889           "type" : "Object",
890           "desc" : "(optional) The scope (this object) for the fn",
891           "isOptional" : false
892         }
893       ],
894       "returns" : []
895     },
896     {
897       "name" : "addListener",
898       "desc" : "Appends an event handler to this component",
899       "isStatic" : false,
900       "isConstructor" : false,
901       "isPrivate" : false,
902       "memberOf" : "Roo.util.Observable",
903       "example" : "",
904       "deprecated" : "",
905       "since" : "",
906       "see" : "",
907       "params" : [
908         {
909           "name" : "eventName",
910           "type" : "String",
911           "desc" : "The type of event to listen for",
912           "isOptional" : false
913         },
914         {
915           "name" : "handler",
916           "type" : "Function",
917           "desc" : "The method the event invokes",
918           "isOptional" : false
919         },
920         {
921           "name" : "scope",
922           "type" : "Object",
923           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
924           "isOptional" : false
925         },
926         {
927           "name" : "options",
928           "type" : "Object",
929           "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>",
930           "isOptional" : false
931         }
932       ],
933       "returns" : []
934     }
935   ],
936   "events" : [
937     {
938       "name" : "paneladded",
939       "desc" : "Fires when a panel is added.",
940       "memberOf" : "Roo.BasicLayoutRegion",
941       "example" : "",
942       "deprecated" : "",
943       "since" : "",
944       "see" : "",
945       "params" : [
946         {
947           "name" : "this",
948           "type" : "Roo.LayoutRegion",
949           "desc" : "",
950           "isOptional" : false
951         },
952         {
953           "name" : "panel",
954           "type" : "Roo.ContentPanel",
955           "desc" : "The panel",
956           "isOptional" : false
957         }
958       ],
959       "returns" : []
960     },
961     {
962       "name" : "invalidated",
963       "desc" : "Fires when the layout for this region is changed.",
964       "memberOf" : "Roo.BasicLayoutRegion",
965       "example" : "",
966       "deprecated" : "",
967       "since" : "",
968       "see" : "",
969       "params" : [
970         {
971           "name" : "this",
972           "type" : "Roo.LayoutRegion",
973           "desc" : "",
974           "isOptional" : false
975         }
976       ],
977       "returns" : []
978     },
979     {
980       "name" : "expanded",
981       "desc" : "Fires when this region is expanded.",
982       "memberOf" : "Roo.BasicLayoutRegion",
983       "example" : "",
984       "deprecated" : "",
985       "since" : "",
986       "see" : "",
987       "params" : [
988         {
989           "name" : "this",
990           "type" : "Roo.LayoutRegion",
991           "desc" : "",
992           "isOptional" : false
993         }
994       ],
995       "returns" : []
996     },
997     {
998       "name" : "beforeremove",
999       "desc" : "Fires before a panel is removed (or closed). To cancel the removal set \"e.cancel = true\" on the event argument.",
1000       "memberOf" : "Roo.BasicLayoutRegion",
1001       "example" : "",
1002       "deprecated" : "",
1003       "since" : "",
1004       "see" : "",
1005       "params" : [
1006         {
1007           "name" : "this",
1008           "type" : "Roo.LayoutRegion",
1009           "desc" : "",
1010           "isOptional" : false
1011         },
1012         {
1013           "name" : "panel",
1014           "type" : "Roo.ContentPanel",
1015           "desc" : "The panel",
1016           "isOptional" : false
1017         },
1018         {
1019           "name" : "e",
1020           "type" : "Object",
1021           "desc" : "The cancel event object",
1022           "isOptional" : false
1023         }
1024       ],
1025       "returns" : []
1026     },
1027     {
1028       "name" : "collapsed",
1029       "desc" : "Fires when this region is collapsed.",
1030       "memberOf" : "Roo.BasicLayoutRegion",
1031       "example" : "",
1032       "deprecated" : "",
1033       "since" : "",
1034       "see" : "",
1035       "params" : [
1036         {
1037           "name" : "this",
1038           "type" : "Roo.LayoutRegion",
1039           "desc" : "",
1040           "isOptional" : false
1041         }
1042       ],
1043       "returns" : []
1044     },
1045     {
1046       "name" : "panelremoved",
1047       "desc" : "Fires when a panel is removed.",
1048       "memberOf" : "Roo.BasicLayoutRegion",
1049       "example" : "",
1050       "deprecated" : "",
1051       "since" : "",
1052       "see" : "",
1053       "params" : [
1054         {
1055           "name" : "this",
1056           "type" : "Roo.LayoutRegion",
1057           "desc" : "",
1058           "isOptional" : false
1059         },
1060         {
1061           "name" : "panel",
1062           "type" : "Roo.ContentPanel",
1063           "desc" : "The panel",
1064           "isOptional" : false
1065         }
1066       ],
1067       "returns" : []
1068     },
1069     {
1070       "name" : "beforecollapse",
1071       "desc" : "Fires when this region before collapse.",
1072       "memberOf" : "Roo.BasicLayoutRegion",
1073       "example" : "",
1074       "deprecated" : "",
1075       "since" : "",
1076       "see" : "",
1077       "params" : [
1078         {
1079           "name" : "this",
1080           "type" : "Roo.LayoutRegion",
1081           "desc" : "",
1082           "isOptional" : false
1083         }
1084       ],
1085       "returns" : []
1086     },
1087     {
1088       "name" : "slidehide",
1089       "desc" : "Fires when this region slides out of view.",
1090       "memberOf" : "Roo.BasicLayoutRegion",
1091       "example" : "",
1092       "deprecated" : "",
1093       "since" : "",
1094       "see" : "",
1095       "params" : [
1096         {
1097           "name" : "this",
1098           "type" : "Roo.LayoutRegion",
1099           "desc" : "",
1100           "isOptional" : false
1101         }
1102       ],
1103       "returns" : []
1104     },
1105     {
1106       "name" : "visibilitychange",
1107       "desc" : "Fires when this region is shown or hidden",
1108       "memberOf" : "Roo.BasicLayoutRegion",
1109       "example" : "",
1110       "deprecated" : "",
1111       "since" : "",
1112       "see" : "",
1113       "params" : [
1114         {
1115           "name" : "this",
1116           "type" : "Roo.LayoutRegion",
1117           "desc" : "",
1118           "isOptional" : false
1119         },
1120         {
1121           "name" : "visibility",
1122           "type" : "Boolean",
1123           "desc" : "true or false",
1124           "isOptional" : false
1125         }
1126       ],
1127       "returns" : []
1128     },
1129     {
1130       "name" : "slideshow",
1131       "desc" : "Fires when this region is slid into view.",
1132       "memberOf" : "Roo.BasicLayoutRegion",
1133       "example" : "",
1134       "deprecated" : "",
1135       "since" : "",
1136       "see" : "",
1137       "params" : [
1138         {
1139           "name" : "this",
1140           "type" : "Roo.LayoutRegion",
1141           "desc" : "",
1142           "isOptional" : false
1143         }
1144       ],
1145       "returns" : []
1146     },
1147     {
1148       "name" : "panelactivated",
1149       "desc" : "Fires when a panel is activated.",
1150       "memberOf" : "Roo.BasicLayoutRegion",
1151       "example" : "",
1152       "deprecated" : "",
1153       "since" : "",
1154       "see" : "",
1155       "params" : [
1156         {
1157           "name" : "this",
1158           "type" : "Roo.LayoutRegion",
1159           "desc" : "",
1160           "isOptional" : false
1161         },
1162         {
1163           "name" : "panel",
1164           "type" : "Roo.ContentPanel",
1165           "desc" : "The activated panel",
1166           "isOptional" : false
1167         }
1168       ],
1169       "returns" : []
1170     },
1171     {
1172       "name" : "resized",
1173       "desc" : "Fires when the user resizes this region.",
1174       "memberOf" : "Roo.BasicLayoutRegion",
1175       "example" : "",
1176       "deprecated" : "",
1177       "since" : "",
1178       "see" : "",
1179       "params" : [
1180         {
1181           "name" : "this",
1182           "type" : "Roo.LayoutRegion",
1183           "desc" : "",
1184           "isOptional" : false
1185         },
1186         {
1187           "name" : "newSize",
1188           "type" : "Number",
1189           "desc" : "The new size (width for east/west, height for north/south)",
1190           "isOptional" : false
1191         }
1192       ],
1193       "returns" : []
1194     }
1195   ]
1196 }