2 "name" : "Roo.bootstrap.layout.Basic",
7 "Roo.bootstrap.layout.Basic" : [
8 "Roo.bootstrap.layout.Region"
13 "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 "isSingleton" : false,
18 "isBuilderTop" : false,
32 "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>",
33 "memberOf" : "Roo.util.Observable"
36 "name" : "skipConfig",
38 "desc" : "skip config?",
44 "desc" : "the region that it inhabits..",
49 "type" : "Roo.bootstrap.layout.Manager",
50 "desc" : "The manager",
58 "desc" : "Removes the specified panel. If preservePanel is not true (either here or in the config), the panel is destroyed.",
59 "sig" : "(panel, preservePanel)",
63 "isConstructor" : false,
74 "type" : "Number/String/ContentPanel",
75 "desc" : "The panels index, id or the panel itself",
79 "name" : "preservePanel",
81 "desc" : "Overrides the config preservePanel option",
88 "type" : "Roo.ContentPanel",
89 "desc" : "The panel that was removed"
96 "desc" : "Returns the container element for this region.",
101 "isConstructor" : false,
113 "type" : "Roo.Element",
119 "name" : "showPanel",
121 "desc" : "Show the specified panel.",
126 "isConstructor" : false,
137 "type" : "Number/String/ContentPanel",
138 "desc" : "The panels index, id or the panel itself",
145 "type" : "Roo.ContentPanel",
146 "desc" : "The shown panel or null"
153 "desc" : "Returns the panel specified or null if it's not in this region.",
158 "isConstructor" : false,
169 "type" : "Number/String/ContentPanel",
170 "desc" : "The panels index, id or the panel itself",
177 "type" : "Roo.ContentPanel",
185 "desc" : "Returns true if the panel is in this region.",
190 "isConstructor" : false,
201 "type" : "Number/String/ContentPanel",
202 "desc" : "The panels index, id or the panel itself",
217 "desc" : "Resizes the region to the specified size. For vertical regions (west, east) this adjusts \nthe width, for horizontal (north, south) the height.",
222 "isConstructor" : false,
234 "desc" : "The new width or height",
241 "name" : "getPosition",
243 "desc" : "Returns this regions position (north/south/east/west/center).",
244 "sig" : "()\n{\n\n}",
248 "isConstructor" : false,
266 "name" : "getActivePanel",
268 "desc" : "Get the active panel for this region.",
269 "sig" : "()\n{\n\n}",
273 "isConstructor" : false,
285 "type" : "Roo.ContentPanel",
286 "desc" : "The active panel or null"
291 "name" : "isVisible",
293 "desc" : "Returns true if this region is currently visible.",
294 "sig" : "()\n{\n\n}",
298 "isConstructor" : false,
318 "desc" : "Add the passed ContentPanel(s)",
323 "isConstructor" : false,
334 "type" : "ContentPanel...",
335 "desc" : "The ContentPanel(s) to add (you can pass more than one)",
342 "type" : "Roo.ContentPanel",
343 "desc" : "The panel added (if only one was added)"
348 "name" : "purgeListeners",
350 "desc" : "Removes all listeners for this object",
351 "sig" : "()\n{\n\n}",
353 "memberOf" : "Roo.util.Observable",
355 "isConstructor" : false,
369 "desc" : "Appends an event handler to this element (shorthand for addListener)",
370 "sig" : "(eventName, handler, scope, options)",
372 "memberOf" : "Roo.util.Observable",
374 "isConstructor" : false,
384 "name" : "eventName",
386 "desc" : "The type of event to listen for",
392 "desc" : "The method the event invokes",
398 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
404 "desc" : "(optional)",
413 "desc" : "Removes a listener (shorthand for removeListener)",
414 "sig" : "(eventName, handler, scope)",
416 "memberOf" : "Roo.util.Observable",
418 "isConstructor" : false,
428 "name" : "eventName",
430 "desc" : "The type of event to listen for",
436 "desc" : "The handler to remove",
442 "desc" : "(optional) The scope (this object) for the handler",
449 "name" : "addEvents",
451 "desc" : "Used to define events on this Observable",
454 "memberOf" : "Roo.util.Observable",
456 "isConstructor" : false,
468 "desc" : "The object with the events defined",
475 "name" : "releaseCapture",
477 "desc" : "Removes <b>all</b> added captures from the Observable.",
480 "memberOf" : "Roo.util.Observable",
482 "isConstructor" : false,
493 "type" : "Observable",
494 "desc" : "The Observable to release",
501 "name" : "removeListener",
503 "desc" : "Removes a listener",
504 "sig" : "(eventName, handler, scope)",
506 "memberOf" : "Roo.util.Observable",
508 "isConstructor" : false,
518 "name" : "eventName",
520 "desc" : "The type of event to listen for",
526 "desc" : "The handler to remove",
532 "desc" : "(optional) The scope (this object) for the handler",
539 "name" : "fireEvent",
541 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
542 "sig" : "(eventName, args)",
544 "memberOf" : "Roo.util.Observable",
546 "isConstructor" : false,
556 "name" : "eventName",
563 "type" : "Object...",
564 "desc" : "Variable number of parameters are passed to handlers",
572 "desc" : "returns false if any of the handlers return false otherwise it returns true"
577 "name" : "hasListener",
579 "desc" : "Checks to see if this object has any listeners for a specified event",
580 "sig" : "(eventName)",
582 "memberOf" : "Roo.util.Observable",
584 "isConstructor" : false,
594 "name" : "eventName",
596 "desc" : "The name of the event to check for",
604 "desc" : "True if the event is being listened for, else false"
611 "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.",
612 "sig" : "(o, fn, scope)",
614 "memberOf" : "Roo.util.Observable",
616 "isConstructor" : false,
627 "type" : "Observable",
628 "desc" : "The Observable to capture",
634 "desc" : "The function to call",
640 "desc" : "(optional) The scope (this object) for the fn",
647 "name" : "addListener",
649 "desc" : "Appends an event handler to this component",
650 "sig" : "(eventName, handler, scope, options)",
652 "memberOf" : "Roo.util.Observable",
654 "isConstructor" : false,
664 "name" : "eventName",
666 "desc" : "The type of event to listen for",
672 "desc" : "The method the event invokes",
678 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
684 "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>",