2 "name" : "Roo.BasicLayoutRegion",
6 "desc" : "This class represents a lightweight region in a layout manager. This region does not move dom nodes\nand does not have a titlebar, tabs or any other features. All it does is size and position \npanels. To create a BasicLayoutRegion, add lightweight:true or basic:true to your regions config.",
10 "memberOf" : "BasicLayoutRegion",
23 "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>",
24 "memberOf" : "Roo.util.Observable",
32 "desc" : "Returns true if this region is currently visible.",
34 "isConstructor" : false,
36 "memberOf" : "Roo.BasicLayoutRegion",
53 "desc" : "Returns the container element for this region.",
55 "isConstructor" : false,
57 "memberOf" : "Roo.BasicLayoutRegion",
67 "type" : "Roo.Element",
74 "desc" : "Returns true if the panel is in this region.",
76 "isConstructor" : false,
78 "memberOf" : "Roo.BasicLayoutRegion",
86 "type" : "Number/String/ContentPanel",
87 "desc" : "The panels index, id or the panel itself",
100 "name" : "getActivePanel",
101 "desc" : "Get the active panel for this region.",
103 "isConstructor" : false,
105 "memberOf" : "Roo.BasicLayoutRegion",
115 "type" : "Roo.ContentPanel",
116 "desc" : "The active panel or null"
122 "desc" : "Resizes the region to the specified size. For vertical regions (west, east) this adjusts \nthe width, for horizontal (north, south) the height.",
124 "isConstructor" : false,
126 "memberOf" : "Roo.BasicLayoutRegion",
135 "desc" : "The new width or height",
143 "name" : "showPanel",
144 "desc" : "Show the specified panel.",
146 "isConstructor" : false,
148 "memberOf" : "Roo.BasicLayoutRegion",
156 "type" : "Number/String/ContentPanel",
157 "desc" : "The panels index, id or the panel itself",
164 "type" : "Roo.ContentPanel",
165 "desc" : "The shown panel or null"
170 "name" : "getPosition",
171 "desc" : "Returns this regions position (north/south/east/west/center).",
173 "isConstructor" : false,
175 "memberOf" : "Roo.BasicLayoutRegion",
192 "desc" : "Add the passed ContentPanel(s)",
194 "isConstructor" : false,
196 "memberOf" : "Roo.BasicLayoutRegion",
204 "type" : "ContentPanel...",
205 "desc" : "The ContentPanel(s) to add (you can pass more than one)",
212 "type" : "Roo.ContentPanel",
213 "desc" : "The panel added (if only one was added)"
219 "desc" : "Removes the specified panel. If preservePanel is not true (either here or in the config), the panel is destroyed.",
221 "isConstructor" : false,
223 "memberOf" : "Roo.BasicLayoutRegion",
231 "type" : "Number/String/ContentPanel",
232 "desc" : "The panels index, id or the panel itself",
236 "name" : "preservePanel",
238 "desc" : "Overrides the config preservePanel option",
245 "type" : "Roo.ContentPanel",
246 "desc" : "The panel that was removed"
252 "desc" : "Returns the panel specified or null if it's not in this region.",
254 "isConstructor" : false,
256 "memberOf" : "Roo.BasicLayoutRegion",
264 "type" : "Number/String/ContentPanel",
265 "desc" : "The panels index, id or the panel itself",
272 "type" : "Roo.ContentPanel",
278 "name" : "purgeListeners",
279 "desc" : "Removes all listeners for this object",
281 "isConstructor" : false,
283 "memberOf" : "Roo.util.Observable",
295 "desc" : "Appends an event handler to this element (shorthand for addListener)",
297 "isConstructor" : false,
299 "memberOf" : "Roo.util.Observable",
306 "name" : "eventName",
308 "desc" : "The type of event to listen for",
314 "desc" : "The method the event invokes",
320 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
326 "desc" : "(optional)",
335 "desc" : "Removes a listener (shorthand for removeListener)",
337 "isConstructor" : false,
339 "memberOf" : "Roo.util.Observable",
346 "name" : "eventName",
348 "desc" : "The type of event to listen for",
354 "desc" : "The handler to remove",
360 "desc" : "(optional) The scope (this object) for the handler",
368 "name" : "addEvents",
369 "desc" : "Used to define events on this Observable",
371 "isConstructor" : false,
373 "memberOf" : "Roo.util.Observable",
382 "desc" : "The object with the events defined",
390 "name" : "releaseCapture",
391 "desc" : "Removes <b>all</b> added captures from the Observable.",
393 "isConstructor" : false,
395 "memberOf" : "Roo.util.Observable",
403 "type" : "Observable",
404 "desc" : "The Observable to release",
412 "name" : "removeListener",
413 "desc" : "Removes a listener",
415 "isConstructor" : false,
417 "memberOf" : "Roo.util.Observable",
424 "name" : "eventName",
426 "desc" : "The type of event to listen for",
432 "desc" : "The handler to remove",
438 "desc" : "(optional) The scope (this object) for the handler",
446 "name" : "fireEvent",
447 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
449 "isConstructor" : false,
451 "memberOf" : "Roo.util.Observable",
458 "name" : "eventName",
465 "type" : "Object...",
466 "desc" : "Variable number of parameters are passed to handlers",
474 "desc" : "returns false if any of the handlers return false otherwise it returns true"
479 "name" : "hasListener",
480 "desc" : "Checks to see if this object has any listeners for a specified event",
482 "isConstructor" : false,
484 "memberOf" : "Roo.util.Observable",
491 "name" : "eventName",
493 "desc" : "The name of the event to check for",
501 "desc" : "True if the event is being listened for, else false"
507 "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.",
509 "isConstructor" : false,
511 "memberOf" : "Roo.util.Observable",
519 "type" : "Observable",
520 "desc" : "The Observable to capture",
526 "desc" : "The function to call",
532 "desc" : "(optional) The scope (this object) for the fn",
540 "name" : "addListener",
541 "desc" : "Appends an event handler to this component",
543 "isConstructor" : false,
545 "memberOf" : "Roo.util.Observable",
552 "name" : "eventName",
554 "desc" : "The type of event to listen for",
560 "desc" : "The method the event invokes",
566 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
572 "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>",
582 "name" : "paneladded",
583 "desc" : "Fires when a panel is added.",
584 "memberOf" : "Roo.BasicLayoutRegion",
592 "type" : "Roo.LayoutRegion",
598 "type" : "Roo.ContentPanel",
599 "desc" : "The panel",
607 "name" : "invalidated",
608 "desc" : "Fires when the layout for this region is changed.",
609 "memberOf" : "Roo.BasicLayoutRegion",
617 "type" : "Roo.LayoutRegion",
627 "desc" : "Fires when this region is expanded.",
628 "memberOf" : "Roo.BasicLayoutRegion",
636 "type" : "Roo.LayoutRegion",
645 "name" : "beforeremove",
646 "desc" : "Fires before a panel is removed (or closed). To cancel the removal set \"e.cancel = true\" on the event argument.",
647 "memberOf" : "Roo.BasicLayoutRegion",
655 "type" : "Roo.LayoutRegion",
661 "type" : "Roo.ContentPanel",
662 "desc" : "The panel",
668 "desc" : "The cancel event object",
676 "name" : "collapsed",
677 "desc" : "Fires when this region is collapsed.",
678 "memberOf" : "Roo.BasicLayoutRegion",
686 "type" : "Roo.LayoutRegion",
695 "name" : "panelremoved",
696 "desc" : "Fires when a panel is removed.",
697 "memberOf" : "Roo.BasicLayoutRegion",
705 "type" : "Roo.LayoutRegion",
711 "type" : "Roo.ContentPanel",
712 "desc" : "The panel",
720 "name" : "beforecollapse",
721 "desc" : "Fires when this region before collapse.",
722 "memberOf" : "Roo.BasicLayoutRegion",
730 "type" : "Roo.LayoutRegion",
739 "name" : "slidehide",
740 "desc" : "Fires when this region slides out of view.",
741 "memberOf" : "Roo.BasicLayoutRegion",
749 "type" : "Roo.LayoutRegion",
758 "name" : "visibilitychange",
759 "desc" : "Fires when this region is shown or hidden",
760 "memberOf" : "Roo.BasicLayoutRegion",
768 "type" : "Roo.LayoutRegion",
773 "name" : "visibility",
775 "desc" : "true or false",
783 "name" : "slideshow",
784 "desc" : "Fires when this region is slid into view.",
785 "memberOf" : "Roo.BasicLayoutRegion",
793 "type" : "Roo.LayoutRegion",
802 "name" : "panelactivated",
803 "desc" : "Fires when a panel is activated.",
804 "memberOf" : "Roo.BasicLayoutRegion",
812 "type" : "Roo.LayoutRegion",
818 "type" : "Roo.ContentPanel",
819 "desc" : "The activated panel",
828 "desc" : "Fires when the user resizes this region.",
829 "memberOf" : "Roo.BasicLayoutRegion",
837 "type" : "Roo.LayoutRegion",
844 "desc" : "The new size (width for east/west, height for north/south)",