2 "name" : "Roo.BasicLayoutRegion",
7 "Roo.SplitLayoutRegion",
9 "Roo.bootstrap.layout.Split"
11 "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.",
12 "isSingleton" : 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"
36 "desc" : "Returns true if this region is currently visible.",
41 "isConstructor" : false,
61 "desc" : "Returns the container element for this region.",
66 "isConstructor" : false,
78 "type" : "Roo.Element",
86 "desc" : "Returns true if the panel is in this region.",
91 "isConstructor" : false,
102 "type" : "Number/String/ContentPanel",
103 "desc" : "The panels index, id or the panel itself",
116 "name" : "getActivePanel",
118 "desc" : "Get the active panel for this region.",
119 "sig" : "()\n{\n\n}",
123 "isConstructor" : false,
135 "type" : "Roo.ContentPanel",
136 "desc" : "The active panel or null"
143 "desc" : "Resizes the region to the specified size. For vertical regions (west, east) this adjusts \nthe width, for horizontal (north, south) the height.",
148 "isConstructor" : false,
160 "desc" : "The new width or height",
167 "name" : "showPanel",
169 "desc" : "Show the specified panel.",
174 "isConstructor" : false,
185 "type" : "Number/String/ContentPanel",
186 "desc" : "The panels index, id or the panel itself",
193 "type" : "Roo.ContentPanel",
194 "desc" : "The shown panel or null"
199 "name" : "getPosition",
201 "desc" : "Returns this regions position (north/south/east/west/center).",
202 "sig" : "()\n{\n\n}",
206 "isConstructor" : false,
226 "desc" : "Add the passed ContentPanel(s)",
231 "isConstructor" : false,
242 "type" : "ContentPanel...",
243 "desc" : "The ContentPanel(s) to add (you can pass more than one)",
250 "type" : "Roo.ContentPanel",
251 "desc" : "The panel added (if only one was added)"
258 "desc" : "Removes the specified panel. If preservePanel is not true (either here or in the config), the panel is destroyed.",
259 "sig" : "(panel, preservePanel)",
263 "isConstructor" : false,
274 "type" : "Number/String/ContentPanel",
275 "desc" : "The panels index, id or the panel itself",
279 "name" : "preservePanel",
281 "desc" : "Overrides the config preservePanel option",
288 "type" : "Roo.ContentPanel",
289 "desc" : "The panel that was removed"
296 "desc" : "Returns the panel specified or null if it's not in this region.",
301 "isConstructor" : false,
312 "type" : "Number/String/ContentPanel",
313 "desc" : "The panels index, id or the panel itself",
320 "type" : "Roo.ContentPanel",
326 "name" : "purgeListeners",
328 "desc" : "Removes all listeners for this object",
329 "sig" : "()\n{\n\n}",
331 "memberOf" : "Roo.util.Observable",
333 "isConstructor" : false,
347 "desc" : "Appends an event handler to this element (shorthand for addListener)",
348 "sig" : "(eventName, handler, scope, options)",
350 "memberOf" : "Roo.util.Observable",
352 "isConstructor" : false,
362 "name" : "eventName",
364 "desc" : "The type of event to listen for",
370 "desc" : "The method the event invokes",
376 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
382 "desc" : "(optional)",
391 "desc" : "Removes a listener (shorthand for removeListener)",
392 "sig" : "(eventName, handler, scope)",
394 "memberOf" : "Roo.util.Observable",
396 "isConstructor" : false,
406 "name" : "eventName",
408 "desc" : "The type of event to listen for",
414 "desc" : "The handler to remove",
420 "desc" : "(optional) The scope (this object) for the handler",
427 "name" : "addEvents",
429 "desc" : "Used to define events on this Observable",
432 "memberOf" : "Roo.util.Observable",
434 "isConstructor" : false,
446 "desc" : "The object with the events defined",
453 "name" : "releaseCapture",
455 "desc" : "Removes <b>all</b> added captures from the Observable.",
458 "memberOf" : "Roo.util.Observable",
460 "isConstructor" : false,
471 "type" : "Observable",
472 "desc" : "The Observable to release",
479 "name" : "removeListener",
481 "desc" : "Removes a listener",
482 "sig" : "(eventName, handler, scope)",
484 "memberOf" : "Roo.util.Observable",
486 "isConstructor" : false,
496 "name" : "eventName",
498 "desc" : "The type of event to listen for",
504 "desc" : "The handler to remove",
510 "desc" : "(optional) The scope (this object) for the handler",
517 "name" : "fireEvent",
519 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
520 "sig" : "(eventName, args)",
522 "memberOf" : "Roo.util.Observable",
524 "isConstructor" : false,
534 "name" : "eventName",
541 "type" : "Object...",
542 "desc" : "Variable number of parameters are passed to handlers",
550 "desc" : "returns false if any of the handlers return false otherwise it returns true"
555 "name" : "hasListener",
557 "desc" : "Checks to see if this object has any listeners for a specified event",
558 "sig" : "(eventName)",
560 "memberOf" : "Roo.util.Observable",
562 "isConstructor" : false,
572 "name" : "eventName",
574 "desc" : "The name of the event to check for",
582 "desc" : "True if the event is being listened for, else false"
589 "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.",
590 "sig" : "(o, fn, scope)",
592 "memberOf" : "Roo.util.Observable",
594 "isConstructor" : false,
605 "type" : "Observable",
606 "desc" : "The Observable to capture",
612 "desc" : "The function to call",
618 "desc" : "(optional) The scope (this object) for the fn",
625 "name" : "addListener",
627 "desc" : "Appends an event handler to this component",
628 "sig" : "(eventName, handler, scope, options)",
630 "memberOf" : "Roo.util.Observable",
632 "isConstructor" : false,
642 "name" : "eventName",
644 "desc" : "The type of event to listen for",
650 "desc" : "The method the event invokes",
656 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
662 "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>",
671 "name" : "paneladded",
673 "desc" : "Fires when a panel is added.",
674 "sig" : "function (_self, panel)\n{\n\n}",
683 "type" : "Roo.LayoutRegion",
689 "type" : "Roo.ContentPanel",
690 "desc" : "The panel",
697 "name" : "invalidated",
699 "desc" : "Fires when the layout for this region is changed.",
700 "sig" : "function (_self)\n{\n\n}",
709 "type" : "Roo.LayoutRegion",
719 "desc" : "Fires when this region is expanded.",
720 "sig" : "function (_self)\n{\n\n}",
729 "type" : "Roo.LayoutRegion",
737 "name" : "beforeremove",
739 "desc" : "Fires before a panel is removed (or closed). To cancel the removal set \"e.cancel = true\" on the event argument.",
740 "sig" : "function (_self, panel, e)\n{\n\n}",
749 "type" : "Roo.LayoutRegion",
755 "type" : "Roo.ContentPanel",
756 "desc" : "The panel",
762 "desc" : "The cancel event object",
769 "name" : "collapsed",
771 "desc" : "Fires when this region is collapsed.",
772 "sig" : "function (_self)\n{\n\n}",
781 "type" : "Roo.LayoutRegion",
789 "name" : "panelremoved",
791 "desc" : "Fires when a panel is removed.",
792 "sig" : "function (_self, panel)\n{\n\n}",
801 "type" : "Roo.LayoutRegion",
807 "type" : "Roo.ContentPanel",
808 "desc" : "The panel",
815 "name" : "beforecollapse",
817 "desc" : "Fires when this region before collapse.",
818 "sig" : "function (_self)\n{\n\n}",
827 "type" : "Roo.LayoutRegion",
835 "name" : "slidehide",
837 "desc" : "Fires when this region slides out of view.",
838 "sig" : "function (_self)\n{\n\n}",
847 "type" : "Roo.LayoutRegion",
855 "name" : "visibilitychange",
857 "desc" : "Fires when this region is shown or hidden",
858 "sig" : "function (_self, visibility)\n{\n\n}",
867 "type" : "Roo.LayoutRegion",
872 "name" : "visibility",
874 "desc" : "true or false",
881 "name" : "slideshow",
883 "desc" : "Fires when this region is slid into view.",
884 "sig" : "function (_self)\n{\n\n}",
893 "type" : "Roo.LayoutRegion",
901 "name" : "panelactivated",
903 "desc" : "Fires when a panel is activated.",
904 "sig" : "function (_self, panel)\n{\n\n}",
913 "type" : "Roo.LayoutRegion",
919 "type" : "Roo.ContentPanel",
920 "desc" : "The activated panel",
929 "desc" : "Fires when the user resizes this region.",
930 "sig" : "function (_self, newSize)\n{\n\n}",
939 "type" : "Roo.LayoutRegion",
946 "desc" : "The new size (width for east/west, height for north/south)",