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.",
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",
29 "name" : "skipConfig",
31 "desc" : "skip config?",
32 "memberOf" : "Roo.bootstrap.layout.Basic",
39 "desc" : "the region that it inhabits..",
40 "memberOf" : "Roo.bootstrap.layout.Basic",
46 "type" : "Roo.bootstrap.layout.Manager",
47 "desc" : "The manager",
48 "memberOf" : "Roo.bootstrap.layout.Basic",
56 "desc" : "Removes the specified panel. If preservePanel is not true (either here or in the config), the panel is destroyed.",
58 "isConstructor" : false,
60 "memberOf" : "Roo.bootstrap.layout.Basic",
68 "type" : "Number/String/ContentPanel",
69 "desc" : "The panels index, id or the panel itself",
73 "name" : "preservePanel",
75 "desc" : "Overrides the config preservePanel option",
82 "type" : "Roo.ContentPanel",
83 "desc" : "The panel that was removed"
89 "desc" : "Returns the container element for this region.",
91 "isConstructor" : false,
93 "memberOf" : "Roo.bootstrap.layout.Basic",
103 "type" : "Roo.Element",
109 "name" : "showPanel",
110 "desc" : "Show the specified panel.",
112 "isConstructor" : false,
114 "memberOf" : "Roo.bootstrap.layout.Basic",
122 "type" : "Number/String/ContentPanel",
123 "desc" : "The panels index, id or the panel itself",
130 "type" : "Roo.ContentPanel",
131 "desc" : "The shown panel or null"
137 "desc" : "Returns the panel specified or null if it's not in this region.",
139 "isConstructor" : false,
141 "memberOf" : "Roo.bootstrap.layout.Basic",
149 "type" : "Number/String/ContentPanel",
150 "desc" : "The panels index, id or the panel itself",
157 "type" : "Roo.ContentPanel",
164 "desc" : "Returns true if the panel is in this region.",
166 "isConstructor" : false,
168 "memberOf" : "Roo.bootstrap.layout.Basic",
176 "type" : "Number/String/ContentPanel",
177 "desc" : "The panels index, id or the panel itself",
191 "desc" : "Resizes the region to the specified size. For vertical regions (west, east) this adjusts \nthe width, for horizontal (north, south) the height.",
193 "isConstructor" : false,
195 "memberOf" : "Roo.bootstrap.layout.Basic",
204 "desc" : "The new width or height",
212 "name" : "getPosition",
213 "desc" : "Returns this regions position (north/south/east/west/center).",
215 "isConstructor" : false,
217 "memberOf" : "Roo.bootstrap.layout.Basic",
233 "name" : "getActivePanel",
234 "desc" : "Get the active panel for this region.",
236 "isConstructor" : false,
238 "memberOf" : "Roo.bootstrap.layout.Basic",
248 "type" : "Roo.ContentPanel",
249 "desc" : "The active panel or null"
254 "name" : "isVisible",
255 "desc" : "Returns true if this region is currently visible.",
257 "isConstructor" : false,
259 "memberOf" : "Roo.bootstrap.layout.Basic",
276 "desc" : "Add the passed ContentPanel(s)",
278 "isConstructor" : false,
280 "memberOf" : "Roo.bootstrap.layout.Basic",
288 "type" : "ContentPanel...",
289 "desc" : "The ContentPanel(s) to add (you can pass more than one)",
296 "type" : "Roo.ContentPanel",
297 "desc" : "The panel added (if only one was added)"
302 "name" : "purgeListeners",
303 "desc" : "Removes all listeners for this object",
305 "isConstructor" : false,
307 "memberOf" : "Roo.util.Observable",
319 "desc" : "Appends an event handler to this element (shorthand for addListener)",
321 "isConstructor" : false,
323 "memberOf" : "Roo.util.Observable",
330 "name" : "eventName",
332 "desc" : "The type of event to listen for",
338 "desc" : "The method the event invokes",
344 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
350 "desc" : "(optional)",
359 "desc" : "Removes a listener (shorthand for removeListener)",
361 "isConstructor" : false,
363 "memberOf" : "Roo.util.Observable",
370 "name" : "eventName",
372 "desc" : "The type of event to listen for",
378 "desc" : "The handler to remove",
384 "desc" : "(optional) The scope (this object) for the handler",
392 "name" : "addEvents",
393 "desc" : "Used to define events on this Observable",
395 "isConstructor" : false,
397 "memberOf" : "Roo.util.Observable",
406 "desc" : "The object with the events defined",
414 "name" : "releaseCapture",
415 "desc" : "Removes <b>all</b> added captures from the Observable.",
417 "isConstructor" : false,
419 "memberOf" : "Roo.util.Observable",
427 "type" : "Observable",
428 "desc" : "The Observable to release",
436 "name" : "removeListener",
437 "desc" : "Removes a listener",
439 "isConstructor" : false,
441 "memberOf" : "Roo.util.Observable",
448 "name" : "eventName",
450 "desc" : "The type of event to listen for",
456 "desc" : "The handler to remove",
462 "desc" : "(optional) The scope (this object) for the handler",
470 "name" : "fireEvent",
471 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
473 "isConstructor" : false,
475 "memberOf" : "Roo.util.Observable",
482 "name" : "eventName",
489 "type" : "Object...",
490 "desc" : "Variable number of parameters are passed to handlers",
498 "desc" : "returns false if any of the handlers return false otherwise it returns true"
503 "name" : "hasListener",
504 "desc" : "Checks to see if this object has any listeners for a specified event",
506 "isConstructor" : false,
508 "memberOf" : "Roo.util.Observable",
515 "name" : "eventName",
517 "desc" : "The name of the event to check for",
525 "desc" : "True if the event is being listened for, else false"
531 "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.",
533 "isConstructor" : false,
535 "memberOf" : "Roo.util.Observable",
543 "type" : "Observable",
544 "desc" : "The Observable to capture",
550 "desc" : "The function to call",
556 "desc" : "(optional) The scope (this object) for the fn",
564 "name" : "addListener",
565 "desc" : "Appends an event handler to this component",
567 "isConstructor" : false,
569 "memberOf" : "Roo.util.Observable",
576 "name" : "eventName",
578 "desc" : "The type of event to listen for",
584 "desc" : "The method the event invokes",
590 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
596 "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>",