2 "name" : "Roo.LayoutManager",
6 "desc" : "Base class for layout managers.",
10 "memberOf" : "LayoutManager",
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"
31 "desc" : "Returns the specified region.",
36 "isConstructor" : false,
48 "desc" : "The region key ('center', 'north', 'south', 'east' or 'west')",
55 "type" : "Roo.LayoutRegion",
61 "name" : "beginUpdate",
63 "desc" : "Suspend the LayoutManager from doing auto-layouts while\nmaking multiple add or remove calls",
68 "isConstructor" : false,
80 "name" : "isUpdating",
82 "desc" : "Returns true if this layout is currently being updated",
87 "isConstructor" : false,
105 "name" : "getViewSize",
107 "desc" : "Returns the size of the current view. This method normalizes document.body and element embedded layouts and\nperforms box-model adjustments.",
108 "sig" : "()\n{\n\n}",
112 "isConstructor" : false,
125 "desc" : "The size as an object {width: (the width), height: (the height)}"
130 "name" : "endUpdate",
132 "desc" : "Restore auto-layouts and optionally disable the manager from performing a layout",
133 "sig" : "(noLayout)",
137 "isConstructor" : false,
149 "desc" : "true to disable a layout update",
158 "desc" : "Returns the Element this layout is bound to.",
159 "sig" : "()\n{\n\n}",
163 "isConstructor" : false,
175 "type" : "Roo.Element",
181 "name" : "purgeListeners",
183 "desc" : "Removes all listeners for this object",
184 "sig" : "()\n{\n\n}",
186 "memberOf" : "Roo.util.Observable",
188 "isConstructor" : false,
202 "desc" : "Appends an event handler to this element (shorthand for addListener)",
203 "sig" : "(eventName, handler, scope, options)",
205 "memberOf" : "Roo.util.Observable",
207 "isConstructor" : false,
217 "name" : "eventName",
219 "desc" : "The type of event to listen for",
225 "desc" : "The method the event invokes",
231 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
237 "desc" : "(optional)",
246 "desc" : "Removes a listener (shorthand for removeListener)",
247 "sig" : "(eventName, handler, scope)",
249 "memberOf" : "Roo.util.Observable",
251 "isConstructor" : false,
261 "name" : "eventName",
263 "desc" : "The type of event to listen for",
269 "desc" : "The handler to remove",
275 "desc" : "(optional) The scope (this object) for the handler",
282 "name" : "addEvents",
284 "desc" : "Used to define events on this Observable",
287 "memberOf" : "Roo.util.Observable",
289 "isConstructor" : false,
301 "desc" : "The object with the events defined",
308 "name" : "releaseCapture",
310 "desc" : "Removes <b>all</b> added captures from the Observable.",
313 "memberOf" : "Roo.util.Observable",
315 "isConstructor" : false,
326 "type" : "Observable",
327 "desc" : "The Observable to release",
334 "name" : "removeListener",
336 "desc" : "Removes a listener",
337 "sig" : "(eventName, handler, scope)",
339 "memberOf" : "Roo.util.Observable",
341 "isConstructor" : false,
351 "name" : "eventName",
353 "desc" : "The type of event to listen for",
359 "desc" : "The handler to remove",
365 "desc" : "(optional) The scope (this object) for the handler",
372 "name" : "fireEvent",
374 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
375 "sig" : "(eventName, args)",
377 "memberOf" : "Roo.util.Observable",
379 "isConstructor" : false,
389 "name" : "eventName",
396 "type" : "Object...",
397 "desc" : "Variable number of parameters are passed to handlers",
405 "desc" : "returns false if any of the handlers return false otherwise it returns true"
410 "name" : "hasListener",
412 "desc" : "Checks to see if this object has any listeners for a specified event",
413 "sig" : "(eventName)",
415 "memberOf" : "Roo.util.Observable",
417 "isConstructor" : false,
427 "name" : "eventName",
429 "desc" : "The name of the event to check for",
437 "desc" : "True if the event is being listened for, else false"
444 "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.",
445 "sig" : "(o, fn, scope)",
447 "memberOf" : "Roo.util.Observable",
449 "isConstructor" : false,
460 "type" : "Observable",
461 "desc" : "The Observable to capture",
467 "desc" : "The function to call",
473 "desc" : "(optional) The scope (this object) for the fn",
480 "name" : "addListener",
482 "desc" : "Appends an event handler to this component",
483 "sig" : "(eventName, handler, scope, options)",
485 "memberOf" : "Roo.util.Observable",
487 "isConstructor" : false,
497 "name" : "eventName",
499 "desc" : "The type of event to listen for",
505 "desc" : "The method the event invokes",
511 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
517 "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>",
528 "desc" : "Fires when a layout is performed.",
529 "sig" : "function (_self)\n{\n\n}",
538 "type" : "Roo.LayoutManager",
546 "name" : "regionexpanded",
548 "desc" : "Fires when a region is expanded.",
549 "sig" : "function (region)\n{\n\n}",
558 "type" : "Roo.LayoutRegion",
559 "desc" : "The expanded region",
566 "name" : "regionresized",
568 "desc" : "Fires when the user resizes a region.",
569 "sig" : "function (region, newSize)\n{\n\n}",
578 "type" : "Roo.LayoutRegion",
579 "desc" : "The resized region",
585 "desc" : "The new size (width for east/west, height for north/south)",
592 "name" : "regioncollapsed",
594 "desc" : "Fires when a region is collapsed.",
595 "sig" : "function (region)\n{\n\n}",
604 "type" : "Roo.LayoutRegion",
605 "desc" : "The collapsed region",