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"
43 "desc" : "Returns the specified region.",
48 "isConstructor" : false,
60 "desc" : "The region key ('center', 'north', 'south', 'east' or 'west')",
67 "type" : "Roo.LayoutRegion",
73 "name" : "beginUpdate",
75 "desc" : "Suspend the LayoutManager from doing auto-layouts while\nmaking multiple add or remove calls",
80 "isConstructor" : false,
92 "name" : "isUpdating",
94 "desc" : "Returns true if this layout is currently being updated",
99 "isConstructor" : false,
117 "name" : "getViewSize",
119 "desc" : "Returns the size of the current view. This method normalizes document.body and element embedded layouts and\nperforms box-model adjustments.",
120 "sig" : "()\n{\n\n}",
124 "isConstructor" : false,
137 "desc" : "The size as an object {width: (the width), height: (the height)}"
142 "name" : "endUpdate",
144 "desc" : "Restore auto-layouts and optionally disable the manager from performing a layout",
145 "sig" : "(noLayout)",
149 "isConstructor" : false,
161 "desc" : "true to disable a layout update",
170 "desc" : "Returns the Element this layout is bound to.",
171 "sig" : "()\n{\n\n}",
175 "isConstructor" : false,
187 "type" : "Roo.Element",
193 "name" : "purgeListeners",
195 "desc" : "Removes all listeners for this object",
196 "sig" : "()\n{\n\n}",
198 "memberOf" : "Roo.util.Observable",
200 "isConstructor" : false,
214 "desc" : "Appends an event handler to this element (shorthand for addListener)",
215 "sig" : "(eventName, handler, scope, options)",
217 "memberOf" : "Roo.util.Observable",
219 "isConstructor" : false,
229 "name" : "eventName",
231 "desc" : "The type of event to listen for",
237 "desc" : "The method the event invokes",
243 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
249 "desc" : "(optional)",
258 "desc" : "Removes a listener (shorthand for removeListener)",
259 "sig" : "(eventName, handler, scope)",
261 "memberOf" : "Roo.util.Observable",
263 "isConstructor" : false,
273 "name" : "eventName",
275 "desc" : "The type of event to listen for",
281 "desc" : "The handler to remove",
287 "desc" : "(optional) The scope (this object) for the handler",
294 "name" : "addEvents",
296 "desc" : "Used to define events on this Observable",
299 "memberOf" : "Roo.util.Observable",
301 "isConstructor" : false,
313 "desc" : "The object with the events defined",
320 "name" : "releaseCapture",
322 "desc" : "Removes <b>all</b> added captures from the Observable.",
325 "memberOf" : "Roo.util.Observable",
327 "isConstructor" : false,
338 "type" : "Observable",
339 "desc" : "The Observable to release",
346 "name" : "removeListener",
348 "desc" : "Removes a listener",
349 "sig" : "(eventName, handler, scope)",
351 "memberOf" : "Roo.util.Observable",
353 "isConstructor" : false,
363 "name" : "eventName",
365 "desc" : "The type of event to listen for",
371 "desc" : "The handler to remove",
377 "desc" : "(optional) The scope (this object) for the handler",
384 "name" : "fireEvent",
386 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
387 "sig" : "(eventName, args)",
389 "memberOf" : "Roo.util.Observable",
391 "isConstructor" : false,
401 "name" : "eventName",
408 "type" : "Object...",
409 "desc" : "Variable number of parameters are passed to handlers",
417 "desc" : "returns false if any of the handlers return false otherwise it returns true"
422 "name" : "hasListener",
424 "desc" : "Checks to see if this object has any listeners for a specified event",
425 "sig" : "(eventName)",
427 "memberOf" : "Roo.util.Observable",
429 "isConstructor" : false,
439 "name" : "eventName",
441 "desc" : "The name of the event to check for",
449 "desc" : "True if the event is being listened for, else false"
456 "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.",
457 "sig" : "(o, fn, scope)",
459 "memberOf" : "Roo.util.Observable",
461 "isConstructor" : false,
472 "type" : "Observable",
473 "desc" : "The Observable to capture",
479 "desc" : "The function to call",
485 "desc" : "(optional) The scope (this object) for the fn",
492 "name" : "addListener",
494 "desc" : "Appends an event handler to this component",
495 "sig" : "(eventName, handler, scope, options)",
497 "memberOf" : "Roo.util.Observable",
499 "isConstructor" : false,
509 "name" : "eventName",
511 "desc" : "The type of event to listen for",
517 "desc" : "The method the event invokes",
523 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
529 "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>",
540 "desc" : "Fires when a layout is performed.",
541 "sig" : "function (_self)\n{\n\n}",
550 "type" : "Roo.LayoutManager",
558 "name" : "regionexpanded",
560 "desc" : "Fires when a region is expanded.",
561 "sig" : "function (region)\n{\n\n}",
570 "type" : "Roo.LayoutRegion",
571 "desc" : "The expanded region",
578 "name" : "regionresized",
580 "desc" : "Fires when the user resizes a region.",
581 "sig" : "function (region, newSize)\n{\n\n}",
590 "type" : "Roo.LayoutRegion",
591 "desc" : "The resized region",
597 "desc" : "The new size (width for east/west, height for north/south)",
604 "name" : "regioncollapsed",
606 "desc" : "Fires when a region is collapsed.",
607 "sig" : "function (region)\n{\n\n}",
616 "type" : "Roo.LayoutRegion",
617 "desc" : "The collapsed region",