2 "name" : "Roo.LayoutManager",
10 "desc" : "Base class for layout managers.",
11 "isSingleton" : false,
14 "memberOf" : "LayoutManager",
27 "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>",
28 "memberOf" : "Roo.util.Observable"
35 "desc" : "Returns the specified region.",
40 "isConstructor" : false,
52 "desc" : "The region key ('center', 'north', 'south', 'east' or 'west')",
59 "type" : "Roo.LayoutRegion",
65 "name" : "beginUpdate",
67 "desc" : "Suspend the LayoutManager from doing auto-layouts while\nmaking multiple add or remove calls",
72 "isConstructor" : false,
84 "name" : "isUpdating",
86 "desc" : "Returns true if this layout is currently being updated",
91 "isConstructor" : false,
109 "name" : "getViewSize",
111 "desc" : "Returns the size of the current view. This method normalizes document.body and element embedded layouts and\nperforms box-model adjustments.",
112 "sig" : "()\n{\n\n}",
116 "isConstructor" : false,
129 "desc" : "The size as an object {width: (the width), height: (the height)}"
134 "name" : "endUpdate",
136 "desc" : "Restore auto-layouts and optionally disable the manager from performing a layout",
137 "sig" : "(noLayout)",
141 "isConstructor" : false,
153 "desc" : "true to disable a layout update",
162 "desc" : "Returns the Element this layout is bound to.",
163 "sig" : "()\n{\n\n}",
167 "isConstructor" : false,
179 "type" : "Roo.Element",
185 "name" : "purgeListeners",
187 "desc" : "Removes all listeners for this object",
188 "sig" : "()\n{\n\n}",
190 "memberOf" : "Roo.util.Observable",
192 "isConstructor" : false,
206 "desc" : "Appends an event handler to this element (shorthand for addListener)",
207 "sig" : "(eventName, handler, scope, options)",
209 "memberOf" : "Roo.util.Observable",
211 "isConstructor" : false,
221 "name" : "eventName",
223 "desc" : "The type of event to listen for",
229 "desc" : "The method the event invokes",
235 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
241 "desc" : "(optional)",
250 "desc" : "Removes a listener (shorthand for removeListener)",
251 "sig" : "(eventName, handler, scope)",
253 "memberOf" : "Roo.util.Observable",
255 "isConstructor" : false,
265 "name" : "eventName",
267 "desc" : "The type of event to listen for",
273 "desc" : "The handler to remove",
279 "desc" : "(optional) The scope (this object) for the handler",
286 "name" : "addEvents",
288 "desc" : "Used to define events on this Observable",
291 "memberOf" : "Roo.util.Observable",
293 "isConstructor" : false,
305 "desc" : "The object with the events defined",
312 "name" : "releaseCapture",
314 "desc" : "Removes <b>all</b> added captures from the Observable.",
317 "memberOf" : "Roo.util.Observable",
319 "isConstructor" : false,
330 "type" : "Observable",
331 "desc" : "The Observable to release",
338 "name" : "removeListener",
340 "desc" : "Removes a listener",
341 "sig" : "(eventName, handler, scope)",
343 "memberOf" : "Roo.util.Observable",
345 "isConstructor" : false,
355 "name" : "eventName",
357 "desc" : "The type of event to listen for",
363 "desc" : "The handler to remove",
369 "desc" : "(optional) The scope (this object) for the handler",
376 "name" : "fireEvent",
378 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
379 "sig" : "(eventName, args)",
381 "memberOf" : "Roo.util.Observable",
383 "isConstructor" : false,
393 "name" : "eventName",
400 "type" : "Object...",
401 "desc" : "Variable number of parameters are passed to handlers",
409 "desc" : "returns false if any of the handlers return false otherwise it returns true"
414 "name" : "hasListener",
416 "desc" : "Checks to see if this object has any listeners for a specified event",
417 "sig" : "(eventName)",
419 "memberOf" : "Roo.util.Observable",
421 "isConstructor" : false,
431 "name" : "eventName",
433 "desc" : "The name of the event to check for",
441 "desc" : "True if the event is being listened for, else false"
448 "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.",
449 "sig" : "(o, fn, scope)",
451 "memberOf" : "Roo.util.Observable",
453 "isConstructor" : false,
464 "type" : "Observable",
465 "desc" : "The Observable to capture",
471 "desc" : "The function to call",
477 "desc" : "(optional) The scope (this object) for the fn",
484 "name" : "addListener",
486 "desc" : "Appends an event handler to this component",
487 "sig" : "(eventName, handler, scope, options)",
489 "memberOf" : "Roo.util.Observable",
491 "isConstructor" : false,
501 "name" : "eventName",
503 "desc" : "The type of event to listen for",
509 "desc" : "The method the event invokes",
515 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
521 "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>",
532 "desc" : "Fires when a layout is performed.",
533 "sig" : "function (_self)\n{\n\n}",
542 "type" : "Roo.LayoutManager",
550 "name" : "regionexpanded",
552 "desc" : "Fires when a region is expanded.",
553 "sig" : "function (region)\n{\n\n}",
562 "type" : "Roo.LayoutRegion",
563 "desc" : "The expanded region",
570 "name" : "regionresized",
572 "desc" : "Fires when the user resizes a region.",
573 "sig" : "function (region, newSize)\n{\n\n}",
582 "type" : "Roo.LayoutRegion",
583 "desc" : "The resized region",
589 "desc" : "The new size (width for east/west, height for north/south)",
596 "name" : "regioncollapsed",
598 "desc" : "Fires when a region is collapsed.",
599 "sig" : "function (region)\n{\n\n}",
608 "type" : "Roo.LayoutRegion",
609 "desc" : "The collapsed region",