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