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.",
14 "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>",
15 "memberOf" : "Roo.util.Observable",
23 "desc" : "Returns true if this region is currently visible.",
25 "isConstructor" : false,
27 "memberOf" : "Roo.BasicLayoutRegion",
44 "desc" : "Returns the container element for this region.",
46 "isConstructor" : false,
48 "memberOf" : "Roo.BasicLayoutRegion",
58 "type" : "Roo.Element",
65 "desc" : "Returns true if the panel is in this region.",
67 "isConstructor" : false,
69 "memberOf" : "Roo.BasicLayoutRegion",
77 "type" : "Number/String/ContentPanel",
78 "desc" : "The panels index, id or the panel itself",
91 "name" : "getActivePanel",
92 "desc" : "Get the active panel for this region.",
94 "isConstructor" : false,
96 "memberOf" : "Roo.BasicLayoutRegion",
106 "type" : "Roo.ContentPanel",
107 "desc" : "The active panel or null"
113 "desc" : "Resizes the region to the specified size. For vertical regions (west, east) this adjusts \nthe width, for horizontal (north, south) the height.",
115 "isConstructor" : false,
117 "memberOf" : "Roo.BasicLayoutRegion",
126 "desc" : "The new width or height",
134 "name" : "showPanel",
135 "desc" : "Show the specified panel.",
137 "isConstructor" : false,
139 "memberOf" : "Roo.BasicLayoutRegion",
147 "type" : "Number/String/ContentPanel",
148 "desc" : "The panels index, id or the panel itself",
155 "type" : "Roo.ContentPanel",
156 "desc" : "The shown panel or null"
161 "name" : "getPosition",
162 "desc" : "Returns this regions position (north/south/east/west/center).",
164 "isConstructor" : false,
166 "memberOf" : "Roo.BasicLayoutRegion",
183 "desc" : "Add the passed ContentPanel(s)",
185 "isConstructor" : false,
187 "memberOf" : "Roo.BasicLayoutRegion",
195 "type" : "ContentPanel...",
196 "desc" : "The ContentPanel(s) to add (you can pass more than one)",
203 "type" : "Roo.ContentPanel",
204 "desc" : "The panel added (if only one was added)"
210 "desc" : "Removes the specified panel. If preservePanel is not true (either here or in the config), the panel is destroyed.",
212 "isConstructor" : false,
214 "memberOf" : "Roo.BasicLayoutRegion",
222 "type" : "Number/String/ContentPanel",
223 "desc" : "The panels index, id or the panel itself",
227 "name" : "preservePanel",
229 "desc" : "Overrides the config preservePanel option",
236 "type" : "Roo.ContentPanel",
237 "desc" : "The panel that was removed"
243 "desc" : "Returns the panel specified or null if it's not in this region.",
245 "isConstructor" : false,
247 "memberOf" : "Roo.BasicLayoutRegion",
255 "type" : "Number/String/ContentPanel",
256 "desc" : "The panels index, id or the panel itself",
263 "type" : "Roo.ContentPanel",
269 "name" : "purgeListeners",
270 "desc" : "Removes all listeners for this object",
272 "isConstructor" : false,
274 "memberOf" : "Roo.util.Observable",
286 "desc" : "Appends an event handler to this element (shorthand for addListener)",
288 "isConstructor" : false,
290 "memberOf" : "Roo.util.Observable",
297 "name" : "eventName",
299 "desc" : "The type of event to listen for",
305 "desc" : "The method the event invokes",
311 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
317 "desc" : "(optional)",
326 "desc" : "Removes a listener (shorthand for removeListener)",
328 "isConstructor" : false,
330 "memberOf" : "Roo.util.Observable",
337 "name" : "eventName",
339 "desc" : "The type of event to listen for",
345 "desc" : "The handler to remove",
351 "desc" : "(optional) The scope (this object) for the handler",
359 "name" : "addEvents",
360 "desc" : "Used to define events on this Observable",
362 "isConstructor" : false,
364 "memberOf" : "Roo.util.Observable",
373 "desc" : "The object with the events defined",
381 "name" : "releaseCapture",
382 "desc" : "Removes <b>all</b> added captures from the Observable.",
384 "isConstructor" : false,
386 "memberOf" : "Roo.util.Observable",
394 "type" : "Observable",
395 "desc" : "The Observable to release",
403 "name" : "removeListener",
404 "desc" : "Removes a listener",
406 "isConstructor" : false,
408 "memberOf" : "Roo.util.Observable",
415 "name" : "eventName",
417 "desc" : "The type of event to listen for",
423 "desc" : "The handler to remove",
429 "desc" : "(optional) The scope (this object) for the handler",
437 "name" : "fireEvent",
438 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
440 "isConstructor" : false,
442 "memberOf" : "Roo.util.Observable",
449 "name" : "eventName",
456 "type" : "Object...",
457 "desc" : "Variable number of parameters are passed to handlers",
465 "desc" : "returns false if any of the handlers return false otherwise it returns true"
470 "name" : "hasListener",
471 "desc" : "Checks to see if this object has any listeners for a specified event",
473 "isConstructor" : false,
475 "memberOf" : "Roo.util.Observable",
482 "name" : "eventName",
484 "desc" : "The name of the event to check for",
492 "desc" : "True if the event is being listened for, else false"
498 "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.",
500 "isConstructor" : false,
502 "memberOf" : "Roo.util.Observable",
510 "type" : "Observable",
511 "desc" : "The Observable to capture",
517 "desc" : "The function to call",
523 "desc" : "(optional) The scope (this object) for the fn",
531 "name" : "addListener",
532 "desc" : "Appends an event handler to this component",
534 "isConstructor" : false,
536 "memberOf" : "Roo.util.Observable",
543 "name" : "eventName",
545 "desc" : "The type of event to listen for",
551 "desc" : "The method the event invokes",
557 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
563 "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>",
573 "name" : "paneladded",
574 "desc" : "Fires when a panel is added.",
583 "type" : "Roo.LayoutRegion",
589 "type" : "Roo.ContentPanel",
590 "desc" : "The panel",
598 "name" : "invalidated",
599 "desc" : "Fires when the layout for this region is changed.",
608 "type" : "Roo.LayoutRegion",
618 "desc" : "Fires when this region is expanded.",
627 "type" : "Roo.LayoutRegion",
636 "name" : "beforeremove",
637 "desc" : "Fires before a panel is removed (or closed). To cancel the removal set \"e.cancel = true\" on the event argument.",
646 "type" : "Roo.LayoutRegion",
652 "type" : "Roo.ContentPanel",
653 "desc" : "The panel",
659 "desc" : "The cancel event object",
667 "name" : "collapsed",
668 "desc" : "Fires when this region is collapsed.",
677 "type" : "Roo.LayoutRegion",
686 "name" : "panelremoved",
687 "desc" : "Fires when a panel is removed.",
696 "type" : "Roo.LayoutRegion",
702 "type" : "Roo.ContentPanel",
703 "desc" : "The panel",
711 "name" : "beforecollapse",
712 "desc" : "Fires when this region before collapse.",
721 "type" : "Roo.LayoutRegion",
730 "name" : "slidehide",
731 "desc" : "Fires when this region slides out of view.",
740 "type" : "Roo.LayoutRegion",
749 "name" : "visibilitychange",
750 "desc" : "Fires when this region is shown or hidden",
759 "type" : "Roo.LayoutRegion",
764 "name" : "visibility",
766 "desc" : "true or false",
774 "name" : "slideshow",
775 "desc" : "Fires when this region is slid into view.",
784 "type" : "Roo.LayoutRegion",
793 "name" : "panelactivated",
794 "desc" : "Fires when a panel is activated.",
803 "type" : "Roo.LayoutRegion",
809 "type" : "Roo.ContentPanel",
810 "desc" : "The activated panel",
819 "desc" : "Fires when the user resizes this region.",
828 "type" : "Roo.LayoutRegion",
835 "desc" : "The new size (width for east/west, height for north/south)",