2 "name" : "Roo.BasicLayoutRegion",
9 "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 "isSingleton" : false,
14 "isBuilderTop" : false,
15 "memberOf" : "BasicLayoutRegion",
28 "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>",
29 "memberOf" : "Roo.util.Observable",
38 "desc" : "Returns true if this region is currently visible.",
43 "isConstructor" : false,
63 "desc" : "Returns the container element for this region.",
68 "isConstructor" : false,
80 "type" : "Roo.Element",
88 "desc" : "Returns true if the panel is in this region.",
93 "isConstructor" : false,
104 "type" : "Number/String/panel.Content",
105 "desc" : "The panels index, id or the panel itself",
118 "name" : "getActivePanel",
120 "desc" : "Get the active panel for this region.",
121 "sig" : "()\n{\n\n}",
125 "isConstructor" : false,
137 "type" : "Roo.panel.Content",
138 "desc" : "The active panel or null"
145 "desc" : "Resizes the region to the specified size. For vertical regions (west, east) this adjusts \nthe width, for horizontal (north, south) the height.",
150 "isConstructor" : false,
162 "desc" : "The new width or height",
169 "name" : "showPanel",
171 "desc" : "Show the specified panel.",
176 "isConstructor" : false,
187 "type" : "Number/String/panel.Content",
188 "desc" : "The panels index, id or the panel itself",
195 "type" : "Roo.panel.Content",
196 "desc" : "The shown panel or null"
201 "name" : "getPosition",
203 "desc" : "Returns this regions position (north/south/east/west/center).",
204 "sig" : "()\n{\n\n}",
208 "isConstructor" : false,
228 "desc" : "Add the passed ContentPanel(s)",
233 "isConstructor" : false,
244 "type" : "panel.Content...",
245 "desc" : "The ContentPanel(s) to add (you can pass more than one)",
252 "type" : "Roo.panel.Content",
253 "desc" : "The panel added (if only one was added)"
260 "desc" : "Removes the specified panel. If preservePanel is not true (either here or in the config), the panel is destroyed.",
261 "sig" : "(panel, preservePanel)",
265 "isConstructor" : false,
276 "type" : "Number/String/panel.Content",
277 "desc" : "The panels index, id or the panel itself",
281 "name" : "preservePanel",
283 "desc" : "Overrides the config preservePanel option",
290 "type" : "Roo.panel.Content",
291 "desc" : "The panel that was removed"
298 "desc" : "Returns the panel specified or null if it's not in this region.",
303 "isConstructor" : false,
314 "type" : "Number/String/panel.Content",
315 "desc" : "The panels index, id or the panel itself",
322 "type" : "Roo.panel.Content",
328 "name" : "purgeListeners",
330 "desc" : "Removes all listeners for this object",
331 "sig" : "()\n{\n\n}",
333 "memberOf" : "Roo.util.Observable",
335 "isConstructor" : false,
349 "desc" : "Appends an event handler to this element (shorthand for addListener)",
350 "sig" : "(eventName, handler, scope, options)",
352 "memberOf" : "Roo.util.Observable",
354 "isConstructor" : false,
364 "name" : "eventName",
366 "desc" : "The type of event to listen for",
372 "desc" : "The method the event invokes",
378 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
384 "desc" : "(optional)",
393 "desc" : "Removes a listener (shorthand for removeListener)",
394 "sig" : "(eventName, handler, scope)",
396 "memberOf" : "Roo.util.Observable",
398 "isConstructor" : false,
408 "name" : "eventName",
410 "desc" : "The type of event to listen for",
416 "desc" : "The handler to remove",
422 "desc" : "(optional) The scope (this object) for the handler",
429 "name" : "addEvents",
431 "desc" : "Used to define events on this Observable",
434 "memberOf" : "Roo.util.Observable",
436 "isConstructor" : false,
448 "desc" : "The object with the events defined",
455 "name" : "releaseCapture",
457 "desc" : "Removes <b>all</b> added captures from the Observable.",
460 "memberOf" : "Roo.util.Observable",
462 "isConstructor" : false,
473 "type" : "Observable",
474 "desc" : "The Observable to release",
481 "name" : "removeListener",
483 "desc" : "Removes a listener",
484 "sig" : "(eventName, handler, scope)",
486 "memberOf" : "Roo.util.Observable",
488 "isConstructor" : false,
498 "name" : "eventName",
500 "desc" : "The type of event to listen for",
506 "desc" : "The handler to remove",
512 "desc" : "(optional) The scope (this object) for the handler",
519 "name" : "fireEvent",
521 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
522 "sig" : "(eventName, args)",
524 "memberOf" : "Roo.util.Observable",
526 "isConstructor" : false,
536 "name" : "eventName",
543 "type" : "Object...",
544 "desc" : "Variable number of parameters are passed to handlers",
552 "desc" : "returns false if any of the handlers return false otherwise it returns true"
557 "name" : "hasListener",
559 "desc" : "Checks to see if this object has any listeners for a specified event",
560 "sig" : "(eventName)",
562 "memberOf" : "Roo.util.Observable",
564 "isConstructor" : false,
574 "name" : "eventName",
576 "desc" : "The name of the event to check for",
584 "desc" : "True if the event is being listened for, else false"
591 "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.",
592 "sig" : "(o, fn, scope)",
594 "memberOf" : "Roo.util.Observable",
596 "isConstructor" : false,
607 "type" : "Observable",
608 "desc" : "The Observable to capture",
614 "desc" : "The function to call",
620 "desc" : "(optional) The scope (this object) for the fn",
627 "name" : "addListener",
629 "desc" : "Appends an event handler to this component",
630 "sig" : "(eventName, handler, scope, options)",
632 "memberOf" : "Roo.util.Observable",
634 "isConstructor" : false,
644 "name" : "eventName",
646 "desc" : "The type of event to listen for",
652 "desc" : "The method the event invokes",
658 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
664 "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>",
673 "name" : "paneladded",
675 "desc" : "Fires when a panel is added.",
676 "sig" : "function (_self, panel)\n{\n\n}",
685 "type" : "Roo.LayoutRegion",
691 "type" : "Roo.panel.Content",
692 "desc" : "The panel",
699 "name" : "invalidated",
701 "desc" : "Fires when the layout for this region is changed.",
702 "sig" : "function (_self)\n{\n\n}",
711 "type" : "Roo.LayoutRegion",
721 "desc" : "Fires when this region is expanded.",
722 "sig" : "function (_self)\n{\n\n}",
731 "type" : "Roo.LayoutRegion",
739 "name" : "beforeremove",
741 "desc" : "Fires before a panel is removed (or closed). To cancel the removal set \"e.cancel = true\" on the event argument.",
742 "sig" : "function (_self, panel, e)\n{\n\n}",
751 "type" : "Roo.LayoutRegion",
757 "type" : "Roo.panel.Content",
758 "desc" : "The panel",
764 "desc" : "The cancel event object",
771 "name" : "collapsed",
773 "desc" : "Fires when this region is collapsed.",
774 "sig" : "function (_self)\n{\n\n}",
783 "type" : "Roo.LayoutRegion",
791 "name" : "panelremoved",
793 "desc" : "Fires when a panel is removed.",
794 "sig" : "function (_self, panel)\n{\n\n}",
803 "type" : "Roo.LayoutRegion",
809 "type" : "Roo.panel.Content",
810 "desc" : "The panel",
817 "name" : "beforecollapse",
819 "desc" : "Fires when this region before collapse.",
820 "sig" : "function (_self)\n{\n\n}",
829 "type" : "Roo.LayoutRegion",
837 "name" : "slidehide",
839 "desc" : "Fires when this region slides out of view.",
840 "sig" : "function (_self)\n{\n\n}",
849 "type" : "Roo.LayoutRegion",
857 "name" : "visibilitychange",
859 "desc" : "Fires when this region is shown or hidden",
860 "sig" : "function (_self, visibility)\n{\n\n}",
869 "type" : "Roo.LayoutRegion",
874 "name" : "visibility",
876 "desc" : "true or false",
883 "name" : "slideshow",
885 "desc" : "Fires when this region is slid into view.",
886 "sig" : "function (_self)\n{\n\n}",
895 "type" : "Roo.LayoutRegion",
903 "name" : "panelactivated",
905 "desc" : "Fires when a panel is activated.",
906 "sig" : "function (_self, panel)\n{\n\n}",
915 "type" : "Roo.LayoutRegion",
921 "type" : "Roo.panel.Content",
922 "desc" : "The activated panel",
931 "desc" : "Fires when the user resizes this region.",
932 "sig" : "function (_self, newSize)\n{\n\n}",
941 "type" : "Roo.LayoutRegion",
948 "desc" : "The new size (width for east/west, height for north/south)",