2 "name" : "Roo.layout.BasicRegion",
7 "Roo.layout.BasicRegion" : [
10 "Roo.layout.Region" : [
11 "Roo.bootstrap.layout.Split",
12 "Roo.layout.SplitRegion"
17 "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.",
18 "isSingleton" : false,
22 "isBuilderTop" : false,
23 "memberOf" : "BasicRegion",
36 "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>",
37 "memberOf" : "Roo.util.Observable",
46 "desc" : "Show the specified panel.",
51 "isConstructor" : false,
62 "type" : "Number/String/panel.Content",
63 "desc" : "The panels index, id or the panel itself",
70 "type" : "Roo.panel.Content",
71 "desc" : "The shown panel or null"
78 "desc" : "Add the passed ContentPanel(s)",
83 "isConstructor" : false,
94 "type" : "panel.Content...",
95 "desc" : "The ContentPanel(s) to add (you can pass more than one)",
102 "type" : "Roo.panel.Content",
103 "desc" : "The panel added (if only one was added)"
108 "name" : "getActivePanel",
110 "desc" : "Get the active panel for this region.",
111 "sig" : "()\n{\n\n}",
115 "isConstructor" : false,
127 "type" : "Roo.panel.Content",
128 "desc" : "The active panel or null"
135 "desc" : "Returns the panel specified or null if it's not in this region.",
140 "isConstructor" : false,
151 "type" : "Number/String/panel.Content",
152 "desc" : "The panels index, id or the panel itself",
159 "type" : "Roo.panel.Content",
167 "desc" : "Returns the container element for this region.",
168 "sig" : "()\n{\n\n}",
172 "isConstructor" : false,
184 "type" : "Roo.Element",
190 "name" : "isVisible",
192 "desc" : "Returns true if this region is currently visible.",
193 "sig" : "()\n{\n\n}",
197 "isConstructor" : false,
217 "desc" : "Returns true if the panel is in this region.",
222 "isConstructor" : false,
233 "type" : "Number/String/panel.Content",
234 "desc" : "The panels index, id or the panel itself",
249 "desc" : "Removes the specified panel. If preservePanel is not true (either here or in the config), the panel is destroyed.",
250 "sig" : "(panel, preservePanel)",
254 "isConstructor" : false,
265 "type" : "Number/String/panel.Content",
266 "desc" : "The panels index, id or the panel itself",
270 "name" : "preservePanel",
272 "desc" : "Overrides the config preservePanel option",
279 "type" : "Roo.panel.Content",
280 "desc" : "The panel that was removed"
287 "desc" : "Resizes the region to the specified size. For vertical regions (west, east) this adjusts \nthe width, for horizontal (north, south) the height.",
292 "isConstructor" : false,
304 "desc" : "The new width or height",
311 "name" : "getPosition",
313 "desc" : "Returns this regions position (north/south/east/west/center).",
314 "sig" : "()\n{\n\n}",
318 "isConstructor" : false,
336 "name" : "purgeListeners",
338 "desc" : "Removes all listeners for this object",
339 "sig" : "()\n{\n\n}",
341 "memberOf" : "Roo.util.Observable",
343 "isConstructor" : false,
357 "desc" : "Appends an event handler to this element (shorthand for addListener)",
358 "sig" : "(eventName, handler, scope, options)",
360 "memberOf" : "Roo.util.Observable",
362 "isConstructor" : false,
372 "name" : "eventName",
374 "desc" : "The type of event to listen for",
380 "desc" : "The method the event invokes",
386 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
392 "desc" : "(optional)",
401 "desc" : "Removes a listener (shorthand for removeListener)",
402 "sig" : "(eventName, handler, scope)",
404 "memberOf" : "Roo.util.Observable",
406 "isConstructor" : false,
416 "name" : "eventName",
418 "desc" : "The type of event to listen for",
424 "desc" : "The handler to remove",
430 "desc" : "(optional) The scope (this object) for the handler",
437 "name" : "addEvents",
439 "desc" : "Used to define events on this Observable",
442 "memberOf" : "Roo.util.Observable",
444 "isConstructor" : false,
456 "desc" : "The object with the events defined",
463 "name" : "releaseCapture",
465 "desc" : "Removes <b>all</b> added captures from the Observable.",
468 "memberOf" : "Roo.util.Observable",
470 "isConstructor" : false,
481 "type" : "Observable",
482 "desc" : "The Observable to release",
489 "name" : "removeListener",
491 "desc" : "Removes a listener",
492 "sig" : "(eventName, handler, scope)",
494 "memberOf" : "Roo.util.Observable",
496 "isConstructor" : false,
506 "name" : "eventName",
508 "desc" : "The type of event to listen for",
514 "desc" : "The handler to remove",
520 "desc" : "(optional) The scope (this object) for the handler",
527 "name" : "fireEvent",
529 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
530 "sig" : "(eventName, args)",
532 "memberOf" : "Roo.util.Observable",
534 "isConstructor" : false,
544 "name" : "eventName",
551 "type" : "Object...",
552 "desc" : "Variable number of parameters are passed to handlers",
560 "desc" : "returns false if any of the handlers return false otherwise it returns true"
565 "name" : "hasListener",
567 "desc" : "Checks to see if this object has any listeners for a specified event",
568 "sig" : "(eventName)",
570 "memberOf" : "Roo.util.Observable",
572 "isConstructor" : false,
582 "name" : "eventName",
584 "desc" : "The name of the event to check for",
592 "desc" : "True if the event is being listened for, else false"
599 "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.",
600 "sig" : "(o, fn, scope)",
602 "memberOf" : "Roo.util.Observable",
604 "isConstructor" : false,
615 "type" : "Observable",
616 "desc" : "The Observable to capture",
622 "desc" : "The function to call",
628 "desc" : "(optional) The scope (this object) for the fn",
635 "name" : "addListener",
637 "desc" : "Appends an event handler to this component",
638 "sig" : "(eventName, handler, scope, options)",
640 "memberOf" : "Roo.util.Observable",
642 "isConstructor" : false,
652 "name" : "eventName",
654 "desc" : "The type of event to listen for",
660 "desc" : "The method the event invokes",
666 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
672 "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>",
681 "name" : "beforecollapse",
683 "desc" : "Fires when this region before collapse.",
684 "sig" : "function (_self)\n{\n\n}",
693 "type" : "Roo.layout.Region",
703 "desc" : "Fires when this region is expanded.",
704 "sig" : "function (_self)\n{\n\n}",
713 "type" : "Roo.layout.Region",
721 "name" : "panelactivated",
723 "desc" : "Fires when a panel is activated.",
724 "sig" : "function (_self, panel)\n{\n\n}",
733 "type" : "Roo.layout.Region",
739 "type" : "Roo.panel.Content",
740 "desc" : "The activated panel",
747 "name" : "invalidated",
749 "desc" : "Fires when the layout for this region is changed.",
750 "sig" : "function (_self)\n{\n\n}",
759 "type" : "Roo.layout.Region",
767 "name" : "visibilitychange",
769 "desc" : "Fires when this region is shown or hidden",
770 "sig" : "function (_self, visibility)\n{\n\n}",
779 "type" : "Roo.layout.Region",
784 "name" : "visibility",
786 "desc" : "true or false",
795 "desc" : "Fires when the user resizes this region.",
796 "sig" : "function (_self, newSize)\n{\n\n}",
805 "type" : "Roo.layout.Region",
812 "desc" : "The new size (width for east/west, height for north/south)",
819 "name" : "beforeremove",
821 "desc" : "Fires before a panel is removed (or closed). To cancel the removal set \"e.cancel = true\" on the event argument.",
822 "sig" : "function (_self, panel, e)\n{\n\n}",
831 "type" : "Roo.layout.Region",
837 "type" : "Roo.panel.Content",
838 "desc" : "The panel",
844 "desc" : "The cancel event object",
851 "name" : "paneladded",
853 "desc" : "Fires when a panel is added.",
854 "sig" : "function (_self, panel)\n{\n\n}",
863 "type" : "Roo.layout.Region",
869 "type" : "Roo.panel.Content",
870 "desc" : "The panel",
877 "name" : "collapsed",
879 "desc" : "Fires when this region is collapsed.",
880 "sig" : "function (_self)\n{\n\n}",
889 "type" : "Roo.layout.Region",
897 "name" : "panelremoved",
899 "desc" : "Fires when a panel is removed.",
900 "sig" : "function (_self, panel)\n{\n\n}",
909 "type" : "Roo.layout.Region",
915 "type" : "Roo.panel.Content",
916 "desc" : "The panel",
923 "name" : "slidehide",
925 "desc" : "Fires when this region slides out of view.",
926 "sig" : "function (_self)\n{\n\n}",
935 "type" : "Roo.layout.Region",
943 "name" : "slideshow",
945 "desc" : "Fires when this region is slid into view.",
946 "sig" : "function (_self)\n{\n\n}",
955 "type" : "Roo.layout.Region",