2 "name" : "Roo.bootstrap.layout.Basic",
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",
20 "name" : "skipConfig",
22 "desc" : "skip config?",
23 "memberOf" : "Roo.bootstrap.layout.Basic",
30 "desc" : "the region that it inhabits..",
31 "memberOf" : "Roo.bootstrap.layout.Basic",
37 "type" : "Roo.bootstrap.layout.Manager",
38 "desc" : "The manager",
39 "memberOf" : "Roo.bootstrap.layout.Basic",
47 "desc" : "Removes the specified panel. If preservePanel is not true (either here or in the config), the panel is destroyed.",
49 "isConstructor" : false,
51 "memberOf" : "Roo.bootstrap.layout.Basic",
59 "type" : "Number/String/ContentPanel",
60 "desc" : "The panels index, id or the panel itself",
64 "name" : "preservePanel",
66 "desc" : "Overrides the config preservePanel option",
73 "type" : "Roo.ContentPanel",
74 "desc" : "The panel that was removed"
80 "desc" : "Returns the container element for this region.",
82 "isConstructor" : false,
84 "memberOf" : "Roo.bootstrap.layout.Basic",
94 "type" : "Roo.Element",
100 "name" : "showPanel",
101 "desc" : "Show the specified panel.",
103 "isConstructor" : false,
105 "memberOf" : "Roo.bootstrap.layout.Basic",
113 "type" : "Number/String/ContentPanel",
114 "desc" : "The panels index, id or the panel itself",
121 "type" : "Roo.ContentPanel",
122 "desc" : "The shown panel or null"
128 "desc" : "Returns the panel specified or null if it's not in this region.",
130 "isConstructor" : false,
132 "memberOf" : "Roo.bootstrap.layout.Basic",
140 "type" : "Number/String/ContentPanel",
141 "desc" : "The panels index, id or the panel itself",
148 "type" : "Roo.ContentPanel",
155 "desc" : "Returns true if the panel is in this region.",
157 "isConstructor" : false,
159 "memberOf" : "Roo.bootstrap.layout.Basic",
167 "type" : "Number/String/ContentPanel",
168 "desc" : "The panels index, id or the panel itself",
182 "desc" : "Resizes the region to the specified size. For vertical regions (west, east) this adjusts \nthe width, for horizontal (north, south) the height.",
184 "isConstructor" : false,
186 "memberOf" : "Roo.bootstrap.layout.Basic",
195 "desc" : "The new width or height",
203 "name" : "getPosition",
204 "desc" : "Returns this regions position (north/south/east/west/center).",
206 "isConstructor" : false,
208 "memberOf" : "Roo.bootstrap.layout.Basic",
224 "name" : "getActivePanel",
225 "desc" : "Get the active panel for this region.",
227 "isConstructor" : false,
229 "memberOf" : "Roo.bootstrap.layout.Basic",
239 "type" : "Roo.ContentPanel",
240 "desc" : "The active panel or null"
245 "name" : "isVisible",
246 "desc" : "Returns true if this region is currently visible.",
248 "isConstructor" : false,
250 "memberOf" : "Roo.bootstrap.layout.Basic",
267 "desc" : "Add the passed ContentPanel(s)",
269 "isConstructor" : false,
271 "memberOf" : "Roo.bootstrap.layout.Basic",
279 "type" : "ContentPanel...",
280 "desc" : "The ContentPanel(s) to add (you can pass more than one)",
287 "type" : "Roo.ContentPanel",
288 "desc" : "The panel added (if only one was added)"
293 "name" : "purgeListeners",
294 "desc" : "Removes all listeners for this object",
296 "isConstructor" : false,
298 "memberOf" : "Roo.util.Observable",
310 "desc" : "Appends an event handler to this element (shorthand for addListener)",
312 "isConstructor" : false,
314 "memberOf" : "Roo.util.Observable",
321 "name" : "eventName",
323 "desc" : "The type of event to listen for",
329 "desc" : "The method the event invokes",
335 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
341 "desc" : "(optional)",
350 "desc" : "Removes a listener (shorthand for removeListener)",
352 "isConstructor" : false,
354 "memberOf" : "Roo.util.Observable",
361 "name" : "eventName",
363 "desc" : "The type of event to listen for",
369 "desc" : "The handler to remove",
375 "desc" : "(optional) The scope (this object) for the handler",
383 "name" : "addEvents",
384 "desc" : "Used to define events on this Observable",
386 "isConstructor" : false,
388 "memberOf" : "Roo.util.Observable",
397 "desc" : "The object with the events defined",
405 "name" : "releaseCapture",
406 "desc" : "Removes <b>all</b> added captures from the Observable.",
408 "isConstructor" : false,
410 "memberOf" : "Roo.util.Observable",
418 "type" : "Observable",
419 "desc" : "The Observable to release",
427 "name" : "removeListener",
428 "desc" : "Removes a listener",
430 "isConstructor" : false,
432 "memberOf" : "Roo.util.Observable",
439 "name" : "eventName",
441 "desc" : "The type of event to listen for",
447 "desc" : "The handler to remove",
453 "desc" : "(optional) The scope (this object) for the handler",
461 "name" : "fireEvent",
462 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
464 "isConstructor" : false,
466 "memberOf" : "Roo.util.Observable",
473 "name" : "eventName",
480 "type" : "Object...",
481 "desc" : "Variable number of parameters are passed to handlers",
489 "desc" : "returns false if any of the handlers return false otherwise it returns true"
494 "name" : "hasListener",
495 "desc" : "Checks to see if this object has any listeners for a specified event",
497 "isConstructor" : false,
499 "memberOf" : "Roo.util.Observable",
506 "name" : "eventName",
508 "desc" : "The name of the event to check for",
516 "desc" : "True if the event is being listened for, else false"
522 "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.",
524 "isConstructor" : false,
526 "memberOf" : "Roo.util.Observable",
534 "type" : "Observable",
535 "desc" : "The Observable to capture",
541 "desc" : "The function to call",
547 "desc" : "(optional) The scope (this object) for the fn",
555 "name" : "addListener",
556 "desc" : "Appends an event handler to this component",
558 "isConstructor" : false,
560 "memberOf" : "Roo.util.Observable",
567 "name" : "eventName",
569 "desc" : "The type of event to listen for",
575 "desc" : "The method the event invokes",
581 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
587 "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>",