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",
21 "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>",
22 "memberOf" : "Roo.util.Observable",
29 "desc" : "Returns true if this region is currently visible.",
31 "isConstructor" : false,
33 "memberOf" : "Roo.BasicLayoutRegion",
49 "desc" : "Returns the container element for this region.",
51 "isConstructor" : false,
53 "memberOf" : "Roo.BasicLayoutRegion",
62 "type" : "Roo.Element",
69 "desc" : "Returns true if the panel is in this region.",
71 "isConstructor" : false,
73 "memberOf" : "Roo.BasicLayoutRegion",
81 "type" : "Number/String/ContentPanel",
82 "desc" : "The panels index, id or the panel itself",
95 "name" : "getActivePanel",
96 "desc" : "Get the active panel for this region.",
98 "isConstructor" : false,
100 "memberOf" : "Roo.BasicLayoutRegion",
109 "type" : "Roo.ContentPanel",
110 "desc" : "The active panel or null"
116 "desc" : "Resizes the region to the specified size. For vertical regions (west, east) this adjusts \nthe width, for horizontal (north, south) the height.",
118 "isConstructor" : false,
120 "memberOf" : "Roo.BasicLayoutRegion",
129 "desc" : "The new width or height",
136 "name" : "showPanel",
137 "desc" : "Show the specified panel.",
139 "isConstructor" : false,
141 "memberOf" : "Roo.BasicLayoutRegion",
149 "type" : "Number/String/ContentPanel",
150 "desc" : "The panels index, id or the panel itself",
157 "type" : "Roo.ContentPanel",
158 "desc" : "The shown panel or null"
163 "name" : "getPosition",
164 "desc" : "Returns this regions position (north/south/east/west/center).",
166 "isConstructor" : false,
168 "memberOf" : "Roo.BasicLayoutRegion",
184 "desc" : "Add the passed ContentPanel(s)",
186 "isConstructor" : false,
188 "memberOf" : "Roo.BasicLayoutRegion",
196 "type" : "ContentPanel...",
197 "desc" : "The ContentPanel(s) to add (you can pass more than one)",
204 "type" : "Roo.ContentPanel",
205 "desc" : "The panel added (if only one was added)"
211 "desc" : "Removes the specified panel. If preservePanel is not true (either here or in the config), the panel is destroyed.",
213 "isConstructor" : false,
215 "memberOf" : "Roo.BasicLayoutRegion",
223 "type" : "Number/String/ContentPanel",
224 "desc" : "The panels index, id or the panel itself",
228 "name" : "preservePanel",
230 "desc" : "Overrides the config preservePanel option",
237 "type" : "Roo.ContentPanel",
238 "desc" : "The panel that was removed"
244 "desc" : "Returns the panel specified or null if it's not in this region.",
246 "isConstructor" : false,
248 "memberOf" : "Roo.BasicLayoutRegion",
256 "type" : "Number/String/ContentPanel",
257 "desc" : "The panels index, id or the panel itself",
264 "type" : "Roo.ContentPanel",
270 "name" : "purgeListeners",
271 "desc" : "Removes all listeners for this object",
273 "isConstructor" : false,
275 "memberOf" : "Roo.util.Observable",
285 "desc" : "Appends an event handler to this element (shorthand for addListener)",
287 "isConstructor" : false,
289 "memberOf" : "Roo.util.Observable",
296 "name" : "eventName",
298 "desc" : "The type of event to listen for",
304 "desc" : "The method the event invokes",
310 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
316 "desc" : "(optional)",
324 "desc" : "Removes a listener (shorthand for removeListener)",
326 "isConstructor" : false,
328 "memberOf" : "Roo.util.Observable",
335 "name" : "eventName",
337 "desc" : "The type of event to listen for",
343 "desc" : "The handler to remove",
349 "desc" : "(optional) The scope (this object) for the handler",
356 "name" : "addEvents",
357 "desc" : "Used to define events on this Observable",
359 "isConstructor" : false,
361 "memberOf" : "Roo.util.Observable",
370 "desc" : "The object with the events defined",
377 "name" : "releaseCapture",
378 "desc" : "Removes <b>all</b> added captures from the Observable.",
380 "isConstructor" : false,
382 "memberOf" : "Roo.util.Observable",
390 "type" : "Observable",
391 "desc" : "The Observable to release",
398 "name" : "removeListener",
399 "desc" : "Removes a listener",
401 "isConstructor" : false,
403 "memberOf" : "Roo.util.Observable",
410 "name" : "eventName",
412 "desc" : "The type of event to listen for",
418 "desc" : "The handler to remove",
424 "desc" : "(optional) The scope (this object) for the handler",
431 "name" : "fireEvent",
432 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
434 "isConstructor" : false,
436 "memberOf" : "Roo.util.Observable",
443 "name" : "eventName",
450 "type" : "Object...",
451 "desc" : "Variable number of parameters are passed to handlers",
459 "desc" : "returns false if any of the handlers return false otherwise it returns true"
464 "name" : "hasListener",
465 "desc" : "Checks to see if this object has any listeners for a specified event",
467 "isConstructor" : false,
469 "memberOf" : "Roo.util.Observable",
476 "name" : "eventName",
478 "desc" : "The name of the event to check for",
486 "desc" : "True if the event is being listened for, else false"
492 "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.",
494 "isConstructor" : false,
496 "memberOf" : "Roo.util.Observable",
504 "type" : "Observable",
505 "desc" : "The Observable to capture",
511 "desc" : "The function to call",
517 "desc" : "(optional) The scope (this object) for the fn",
524 "name" : "addListener",
525 "desc" : "Appends an event handler to this component",
527 "isConstructor" : false,
529 "memberOf" : "Roo.util.Observable",
536 "name" : "eventName",
538 "desc" : "The type of event to listen for",
544 "desc" : "The method the event invokes",
550 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
556 "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>",
565 "name" : "paneladded",
566 "desc" : "Fires when a panel is added.",
567 "memberOf" : "Roo.BasicLayoutRegion",
575 "type" : "Roo.LayoutRegion",
581 "type" : "Roo.ContentPanel",
582 "desc" : "The panel",
589 "name" : "invalidated",
590 "desc" : "Fires when the layout for this region is changed.",
591 "memberOf" : "Roo.BasicLayoutRegion",
599 "type" : "Roo.LayoutRegion",
608 "desc" : "Fires when this region is expanded.",
609 "memberOf" : "Roo.BasicLayoutRegion",
617 "type" : "Roo.LayoutRegion",
625 "name" : "beforeremove",
626 "desc" : "Fires before a panel is removed (or closed). To cancel the removal set \"e.cancel = true\" on the event argument.",
627 "memberOf" : "Roo.BasicLayoutRegion",
635 "type" : "Roo.LayoutRegion",
641 "type" : "Roo.ContentPanel",
642 "desc" : "The panel",
648 "desc" : "The cancel event object",
655 "name" : "collapsed",
656 "desc" : "Fires when this region is collapsed.",
657 "memberOf" : "Roo.BasicLayoutRegion",
665 "type" : "Roo.LayoutRegion",
673 "name" : "panelremoved",
674 "desc" : "Fires when a panel is removed.",
675 "memberOf" : "Roo.BasicLayoutRegion",
683 "type" : "Roo.LayoutRegion",
689 "type" : "Roo.ContentPanel",
690 "desc" : "The panel",
697 "name" : "beforecollapse",
698 "desc" : "Fires when this region before collapse.",
699 "memberOf" : "Roo.BasicLayoutRegion",
707 "type" : "Roo.LayoutRegion",
715 "name" : "slidehide",
716 "desc" : "Fires when this region slides out of view.",
717 "memberOf" : "Roo.BasicLayoutRegion",
725 "type" : "Roo.LayoutRegion",
733 "name" : "visibilitychange",
734 "desc" : "Fires when this region is shown or hidden",
735 "memberOf" : "Roo.BasicLayoutRegion",
743 "type" : "Roo.LayoutRegion",
748 "name" : "visibility",
750 "desc" : "true or false",
757 "name" : "slideshow",
758 "desc" : "Fires when this region is slid into view.",
759 "memberOf" : "Roo.BasicLayoutRegion",
767 "type" : "Roo.LayoutRegion",
775 "name" : "panelactivated",
776 "desc" : "Fires when a panel is activated.",
777 "memberOf" : "Roo.BasicLayoutRegion",
785 "type" : "Roo.LayoutRegion",
791 "type" : "Roo.ContentPanel",
792 "desc" : "The activated panel",
800 "desc" : "Fires when the user resizes this region.",
801 "memberOf" : "Roo.BasicLayoutRegion",
809 "type" : "Roo.LayoutRegion",
816 "desc" : "The new size (width for east/west, height for north/south)",