2 "name" : "Roo.LayoutManager",
10 "Roo.LayoutManager" : [
16 "desc" : "Base class for layout managers.",
17 "isSingleton" : false,
21 "isBuilderTop" : false,
22 "memberOf" : "LayoutManager",
35 "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>",
36 "memberOf" : "Roo.util.Observable",
45 "desc" : "Returns the specified region.",
50 "isConstructor" : false,
62 "desc" : "The region key ('center', 'north', 'south', 'east' or 'west')",
69 "type" : "Roo.LayoutRegion",
75 "name" : "beginUpdate",
77 "desc" : "Suspend the LayoutManager from doing auto-layouts while\nmaking multiple add or remove calls",
82 "isConstructor" : false,
94 "name" : "isUpdating",
96 "desc" : "Returns true if this layout is currently being updated",
101 "isConstructor" : false,
119 "name" : "getViewSize",
121 "desc" : "Returns the size of the current view. This method normalizes document.body and element embedded layouts and\nperforms box-model adjustments.",
122 "sig" : "()\n{\n\n}",
126 "isConstructor" : false,
139 "desc" : "The size as an object {width: (the width), height: (the height)}"
144 "name" : "endUpdate",
146 "desc" : "Restore auto-layouts and optionally disable the manager from performing a layout",
147 "sig" : "(noLayout)",
151 "isConstructor" : false,
163 "desc" : "true to disable a layout update",
172 "desc" : "Returns the Element this layout is bound to.",
173 "sig" : "()\n{\n\n}",
177 "isConstructor" : false,
189 "type" : "Roo.Element",
195 "name" : "purgeListeners",
197 "desc" : "Removes all listeners for this object",
198 "sig" : "()\n{\n\n}",
200 "memberOf" : "Roo.util.Observable",
202 "isConstructor" : false,
216 "desc" : "Appends an event handler to this element (shorthand for addListener)",
217 "sig" : "(eventName, handler, scope, options)",
219 "memberOf" : "Roo.util.Observable",
221 "isConstructor" : false,
231 "name" : "eventName",
233 "desc" : "The type of event to listen for",
239 "desc" : "The method the event invokes",
245 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
251 "desc" : "(optional)",
260 "desc" : "Removes a listener (shorthand for removeListener)",
261 "sig" : "(eventName, handler, scope)",
263 "memberOf" : "Roo.util.Observable",
265 "isConstructor" : false,
275 "name" : "eventName",
277 "desc" : "The type of event to listen for",
283 "desc" : "The handler to remove",
289 "desc" : "(optional) The scope (this object) for the handler",
296 "name" : "addEvents",
298 "desc" : "Used to define events on this Observable",
301 "memberOf" : "Roo.util.Observable",
303 "isConstructor" : false,
315 "desc" : "The object with the events defined",
322 "name" : "releaseCapture",
324 "desc" : "Removes <b>all</b> added captures from the Observable.",
327 "memberOf" : "Roo.util.Observable",
329 "isConstructor" : false,
340 "type" : "Observable",
341 "desc" : "The Observable to release",
348 "name" : "removeListener",
350 "desc" : "Removes a listener",
351 "sig" : "(eventName, handler, scope)",
353 "memberOf" : "Roo.util.Observable",
355 "isConstructor" : false,
365 "name" : "eventName",
367 "desc" : "The type of event to listen for",
373 "desc" : "The handler to remove",
379 "desc" : "(optional) The scope (this object) for the handler",
386 "name" : "fireEvent",
388 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
389 "sig" : "(eventName, args)",
391 "memberOf" : "Roo.util.Observable",
393 "isConstructor" : false,
403 "name" : "eventName",
410 "type" : "Object...",
411 "desc" : "Variable number of parameters are passed to handlers",
419 "desc" : "returns false if any of the handlers return false otherwise it returns true"
424 "name" : "hasListener",
426 "desc" : "Checks to see if this object has any listeners for a specified event",
427 "sig" : "(eventName)",
429 "memberOf" : "Roo.util.Observable",
431 "isConstructor" : false,
441 "name" : "eventName",
443 "desc" : "The name of the event to check for",
451 "desc" : "True if the event is being listened for, else false"
458 "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.",
459 "sig" : "(o, fn, scope)",
461 "memberOf" : "Roo.util.Observable",
463 "isConstructor" : false,
474 "type" : "Observable",
475 "desc" : "The Observable to capture",
481 "desc" : "The function to call",
487 "desc" : "(optional) The scope (this object) for the fn",
494 "name" : "addListener",
496 "desc" : "Appends an event handler to this component",
497 "sig" : "(eventName, handler, scope, options)",
499 "memberOf" : "Roo.util.Observable",
501 "isConstructor" : false,
511 "name" : "eventName",
513 "desc" : "The type of event to listen for",
519 "desc" : "The method the event invokes",
525 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
531 "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>",
542 "desc" : "Fires when a layout is performed.",
543 "sig" : "function (_self)\n{\n\n}",
552 "type" : "Roo.LayoutManager",
560 "name" : "regionexpanded",
562 "desc" : "Fires when a region is expanded.",
563 "sig" : "function (region)\n{\n\n}",
572 "type" : "Roo.LayoutRegion",
573 "desc" : "The expanded region",
580 "name" : "regionresized",
582 "desc" : "Fires when the user resizes a region.",
583 "sig" : "function (region, newSize)\n{\n\n}",
592 "type" : "Roo.LayoutRegion",
593 "desc" : "The resized region",
599 "desc" : "The new size (width for east/west, height for north/south)",
606 "name" : "regioncollapsed",
608 "desc" : "Fires when a region is collapsed.",
609 "sig" : "function (region)\n{\n\n}",
618 "type" : "Roo.LayoutRegion",
619 "desc" : "The collapsed region",