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"
31 "desc" : "Returns true if this region is currently visible.",
36 "isConstructor" : false,
56 "desc" : "Returns the container element for this region.",
61 "isConstructor" : false,
73 "type" : "Roo.Element",
81 "desc" : "Returns true if the panel is in this region.",
86 "isConstructor" : false,
97 "type" : "Number/String/ContentPanel",
98 "desc" : "The panels index, id or the panel itself",
111 "name" : "getActivePanel",
113 "desc" : "Get the active panel for this region.",
114 "sig" : "()\n{\n\n}",
118 "isConstructor" : false,
130 "type" : "Roo.ContentPanel",
131 "desc" : "The active panel or null"
138 "desc" : "Resizes the region to the specified size. For vertical regions (west, east) this adjusts \nthe width, for horizontal (north, south) the height.",
143 "isConstructor" : false,
155 "desc" : "The new width or height",
162 "name" : "showPanel",
164 "desc" : "Show the specified panel.",
169 "isConstructor" : false,
180 "type" : "Number/String/ContentPanel",
181 "desc" : "The panels index, id or the panel itself",
188 "type" : "Roo.ContentPanel",
189 "desc" : "The shown panel or null"
194 "name" : "getPosition",
196 "desc" : "Returns this regions position (north/south/east/west/center).",
197 "sig" : "()\n{\n\n}",
201 "isConstructor" : false,
221 "desc" : "Add the passed ContentPanel(s)",
226 "isConstructor" : false,
237 "type" : "ContentPanel...",
238 "desc" : "The ContentPanel(s) to add (you can pass more than one)",
245 "type" : "Roo.ContentPanel",
246 "desc" : "The panel added (if only one was added)"
253 "desc" : "Removes the specified panel. If preservePanel is not true (either here or in the config), the panel is destroyed.",
254 "sig" : "(panel, preservePanel)",
258 "isConstructor" : false,
269 "type" : "Number/String/ContentPanel",
270 "desc" : "The panels index, id or the panel itself",
274 "name" : "preservePanel",
276 "desc" : "Overrides the config preservePanel option",
283 "type" : "Roo.ContentPanel",
284 "desc" : "The panel that was removed"
291 "desc" : "Returns the panel specified or null if it's not in this region.",
296 "isConstructor" : false,
307 "type" : "Number/String/ContentPanel",
308 "desc" : "The panels index, id or the panel itself",
315 "type" : "Roo.ContentPanel",
321 "name" : "purgeListeners",
323 "desc" : "Removes all listeners for this object",
324 "sig" : "()\n{\n\n}",
326 "memberOf" : "Roo.util.Observable",
328 "isConstructor" : false,
342 "desc" : "Appends an event handler to this element (shorthand for addListener)",
343 "sig" : "(eventName, handler, scope, options)",
345 "memberOf" : "Roo.util.Observable",
347 "isConstructor" : false,
357 "name" : "eventName",
359 "desc" : "The type of event to listen for",
365 "desc" : "The method the event invokes",
371 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
377 "desc" : "(optional)",
386 "desc" : "Removes a listener (shorthand for removeListener)",
387 "sig" : "(eventName, handler, scope)",
389 "memberOf" : "Roo.util.Observable",
391 "isConstructor" : false,
401 "name" : "eventName",
403 "desc" : "The type of event to listen for",
409 "desc" : "The handler to remove",
415 "desc" : "(optional) The scope (this object) for the handler",
422 "name" : "addEvents",
424 "desc" : "Used to define events on this Observable",
427 "memberOf" : "Roo.util.Observable",
429 "isConstructor" : false,
441 "desc" : "The object with the events defined",
448 "name" : "releaseCapture",
450 "desc" : "Removes <b>all</b> added captures from the Observable.",
453 "memberOf" : "Roo.util.Observable",
455 "isConstructor" : false,
466 "type" : "Observable",
467 "desc" : "The Observable to release",
474 "name" : "removeListener",
476 "desc" : "Removes a listener",
477 "sig" : "(eventName, handler, scope)",
479 "memberOf" : "Roo.util.Observable",
481 "isConstructor" : false,
491 "name" : "eventName",
493 "desc" : "The type of event to listen for",
499 "desc" : "The handler to remove",
505 "desc" : "(optional) The scope (this object) for the handler",
512 "name" : "fireEvent",
514 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
515 "sig" : "(eventName, args)",
517 "memberOf" : "Roo.util.Observable",
519 "isConstructor" : false,
529 "name" : "eventName",
536 "type" : "Object...",
537 "desc" : "Variable number of parameters are passed to handlers",
545 "desc" : "returns false if any of the handlers return false otherwise it returns true"
550 "name" : "hasListener",
552 "desc" : "Checks to see if this object has any listeners for a specified event",
553 "sig" : "(eventName)",
555 "memberOf" : "Roo.util.Observable",
557 "isConstructor" : false,
567 "name" : "eventName",
569 "desc" : "The name of the event to check for",
577 "desc" : "True if the event is being listened for, else false"
584 "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.",
585 "sig" : "(o, fn, scope)",
587 "memberOf" : "Roo.util.Observable",
589 "isConstructor" : false,
600 "type" : "Observable",
601 "desc" : "The Observable to capture",
607 "desc" : "The function to call",
613 "desc" : "(optional) The scope (this object) for the fn",
620 "name" : "addListener",
622 "desc" : "Appends an event handler to this component",
623 "sig" : "(eventName, handler, scope, options)",
625 "memberOf" : "Roo.util.Observable",
627 "isConstructor" : false,
637 "name" : "eventName",
639 "desc" : "The type of event to listen for",
645 "desc" : "The method the event invokes",
651 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
657 "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>",
666 "name" : "paneladded",
668 "desc" : "Fires when a panel is added.",
669 "sig" : "function (_self, panel)\n{\n\n}",
678 "type" : "Roo.LayoutRegion",
684 "type" : "Roo.ContentPanel",
685 "desc" : "The panel",
692 "name" : "invalidated",
694 "desc" : "Fires when the layout for this region is changed.",
695 "sig" : "function (_self)\n{\n\n}",
704 "type" : "Roo.LayoutRegion",
714 "desc" : "Fires when this region is expanded.",
715 "sig" : "function (_self)\n{\n\n}",
724 "type" : "Roo.LayoutRegion",
732 "name" : "beforeremove",
734 "desc" : "Fires before a panel is removed (or closed). To cancel the removal set \"e.cancel = true\" on the event argument.",
735 "sig" : "function (_self, panel, e)\n{\n\n}",
744 "type" : "Roo.LayoutRegion",
750 "type" : "Roo.ContentPanel",
751 "desc" : "The panel",
757 "desc" : "The cancel event object",
764 "name" : "collapsed",
766 "desc" : "Fires when this region is collapsed.",
767 "sig" : "function (_self)\n{\n\n}",
776 "type" : "Roo.LayoutRegion",
784 "name" : "panelremoved",
786 "desc" : "Fires when a panel is removed.",
787 "sig" : "function (_self, panel)\n{\n\n}",
796 "type" : "Roo.LayoutRegion",
802 "type" : "Roo.ContentPanel",
803 "desc" : "The panel",
810 "name" : "beforecollapse",
812 "desc" : "Fires when this region before collapse.",
813 "sig" : "function (_self)\n{\n\n}",
822 "type" : "Roo.LayoutRegion",
830 "name" : "slidehide",
832 "desc" : "Fires when this region slides out of view.",
833 "sig" : "function (_self)\n{\n\n}",
842 "type" : "Roo.LayoutRegion",
850 "name" : "visibilitychange",
852 "desc" : "Fires when this region is shown or hidden",
853 "sig" : "function (_self, visibility)\n{\n\n}",
862 "type" : "Roo.LayoutRegion",
867 "name" : "visibility",
869 "desc" : "true or false",
876 "name" : "slideshow",
878 "desc" : "Fires when this region is slid into view.",
879 "sig" : "function (_self)\n{\n\n}",
888 "type" : "Roo.LayoutRegion",
896 "name" : "panelactivated",
898 "desc" : "Fires when a panel is activated.",
899 "sig" : "function (_self, panel)\n{\n\n}",
908 "type" : "Roo.LayoutRegion",
914 "type" : "Roo.ContentPanel",
915 "desc" : "The activated panel",
924 "desc" : "Fires when the user resizes this region.",
925 "sig" : "function (_self, newSize)\n{\n\n}",
934 "type" : "Roo.LayoutRegion",
941 "desc" : "The new size (width for east/west, height for north/south)",