2 "name" : "Roo.LayoutManager",
9 "desc" : "Base class for layout managers.",
10 "isSingleton" : false,
14 "isBuilderTop" : false,
15 "memberOf" : "LayoutManager",
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",
38 "desc" : "Returns the specified region.",
43 "isConstructor" : false,
55 "desc" : "The region key ('center', 'north', 'south', 'east' or 'west')",
62 "type" : "Roo.LayoutRegion",
68 "name" : "beginUpdate",
70 "desc" : "Suspend the LayoutManager from doing auto-layouts while\nmaking multiple add or remove calls",
75 "isConstructor" : false,
87 "name" : "isUpdating",
89 "desc" : "Returns true if this layout is currently being updated",
94 "isConstructor" : false,
112 "name" : "getViewSize",
114 "desc" : "Returns the size of the current view. This method normalizes document.body and element embedded layouts and\nperforms box-model adjustments.",
115 "sig" : "()\n{\n\n}",
119 "isConstructor" : false,
132 "desc" : "The size as an object {width: (the width), height: (the height)}"
137 "name" : "endUpdate",
139 "desc" : "Restore auto-layouts and optionally disable the manager from performing a layout",
140 "sig" : "(noLayout)",
144 "isConstructor" : false,
156 "desc" : "true to disable a layout update",
165 "desc" : "Returns the Element this layout is bound to.",
166 "sig" : "()\n{\n\n}",
170 "isConstructor" : false,
182 "type" : "Roo.Element",
188 "name" : "purgeListeners",
190 "desc" : "Removes all listeners for this object",
191 "sig" : "()\n{\n\n}",
193 "memberOf" : "Roo.util.Observable",
195 "isConstructor" : false,
209 "desc" : "Appends an event handler to this element (shorthand for addListener)",
210 "sig" : "(eventName, handler, scope, options)",
212 "memberOf" : "Roo.util.Observable",
214 "isConstructor" : false,
224 "name" : "eventName",
226 "desc" : "The type of event to listen for",
232 "desc" : "The method the event invokes",
238 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
244 "desc" : "(optional)",
253 "desc" : "Removes a listener (shorthand for removeListener)",
254 "sig" : "(eventName, handler, scope)",
256 "memberOf" : "Roo.util.Observable",
258 "isConstructor" : false,
268 "name" : "eventName",
270 "desc" : "The type of event to listen for",
276 "desc" : "The handler to remove",
282 "desc" : "(optional) The scope (this object) for the handler",
289 "name" : "addEvents",
291 "desc" : "Used to define events on this Observable",
294 "memberOf" : "Roo.util.Observable",
296 "isConstructor" : false,
308 "desc" : "The object with the events defined",
315 "name" : "releaseCapture",
317 "desc" : "Removes <b>all</b> added captures from the Observable.",
320 "memberOf" : "Roo.util.Observable",
322 "isConstructor" : false,
333 "type" : "Observable",
334 "desc" : "The Observable to release",
341 "name" : "removeListener",
343 "desc" : "Removes a listener",
344 "sig" : "(eventName, handler, scope)",
346 "memberOf" : "Roo.util.Observable",
348 "isConstructor" : false,
358 "name" : "eventName",
360 "desc" : "The type of event to listen for",
366 "desc" : "The handler to remove",
372 "desc" : "(optional) The scope (this object) for the handler",
379 "name" : "fireEvent",
381 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
382 "sig" : "(eventName, args)",
384 "memberOf" : "Roo.util.Observable",
386 "isConstructor" : false,
396 "name" : "eventName",
403 "type" : "Object...",
404 "desc" : "Variable number of parameters are passed to handlers",
412 "desc" : "returns false if any of the handlers return false otherwise it returns true"
417 "name" : "hasListener",
419 "desc" : "Checks to see if this object has any listeners for a specified event",
420 "sig" : "(eventName)",
422 "memberOf" : "Roo.util.Observable",
424 "isConstructor" : false,
434 "name" : "eventName",
436 "desc" : "The name of the event to check for",
444 "desc" : "True if the event is being listened for, else false"
451 "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.",
452 "sig" : "(o, fn, scope)",
454 "memberOf" : "Roo.util.Observable",
456 "isConstructor" : false,
467 "type" : "Observable",
468 "desc" : "The Observable to capture",
474 "desc" : "The function to call",
480 "desc" : "(optional) The scope (this object) for the fn",
487 "name" : "addListener",
489 "desc" : "Appends an event handler to this component",
490 "sig" : "(eventName, handler, scope, options)",
492 "memberOf" : "Roo.util.Observable",
494 "isConstructor" : false,
504 "name" : "eventName",
506 "desc" : "The type of event to listen for",
512 "desc" : "The method the event invokes",
518 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
524 "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>",
535 "desc" : "Fires when a layout is performed.",
536 "sig" : "function (_self)\n{\n\n}",
545 "type" : "Roo.LayoutManager",
553 "name" : "regionexpanded",
555 "desc" : "Fires when a region is expanded.",
556 "sig" : "function (region)\n{\n\n}",
565 "type" : "Roo.LayoutRegion",
566 "desc" : "The expanded region",
573 "name" : "regionresized",
575 "desc" : "Fires when the user resizes a region.",
576 "sig" : "function (region, newSize)\n{\n\n}",
585 "type" : "Roo.LayoutRegion",
586 "desc" : "The resized region",
592 "desc" : "The new size (width for east/west, height for north/south)",
599 "name" : "regioncollapsed",
601 "desc" : "Fires when a region is collapsed.",
602 "sig" : "function (region)\n{\n\n}",
611 "type" : "Roo.LayoutRegion",
612 "desc" : "The collapsed region",