2 "name" : "Roo.LayoutManager",
6 "desc" : "Base class for layout managers.",
10 "memberOf" : "LayoutManager",
21 "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>",
22 "memberOf" : "Roo.util.Observable",
29 "desc" : "Returns the specified region.",
31 "isConstructor" : false,
33 "memberOf" : "Roo.LayoutManager",
42 "desc" : "The region key ('center', 'north', 'south', 'east' or 'west')",
49 "type" : "Roo.LayoutRegion",
55 "name" : "beginUpdate",
56 "desc" : "Suspend the LayoutManager from doing auto-layouts while\nmaking multiple add or remove calls",
58 "isConstructor" : false,
60 "memberOf" : "Roo.LayoutManager",
69 "name" : "isUpdating",
70 "desc" : "Returns true if this layout is currently being updated",
72 "isConstructor" : false,
74 "memberOf" : "Roo.LayoutManager",
89 "name" : "getViewSize",
90 "desc" : "Returns the size of the current view. This method normalizes document.body and element embedded layouts and\nperforms box-model adjustments.",
92 "isConstructor" : false,
94 "memberOf" : "Roo.LayoutManager",
104 "desc" : "The size as an object {width: (the width), height: (the height)}"
109 "name" : "endUpdate",
110 "desc" : "Restore auto-layouts and optionally disable the manager from performing a layout",
112 "isConstructor" : false,
114 "memberOf" : "Roo.LayoutManager",
123 "desc" : "true to disable a layout update",
131 "desc" : "Returns the Element this layout is bound to.",
133 "isConstructor" : false,
135 "memberOf" : "Roo.LayoutManager",
144 "type" : "Roo.Element",
150 "name" : "purgeListeners",
151 "desc" : "Removes all listeners for this object",
153 "isConstructor" : false,
155 "memberOf" : "Roo.util.Observable",
165 "desc" : "Appends an event handler to this element (shorthand for addListener)",
167 "isConstructor" : false,
169 "memberOf" : "Roo.util.Observable",
176 "name" : "eventName",
178 "desc" : "The type of event to listen for",
184 "desc" : "The method the event invokes",
190 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
196 "desc" : "(optional)",
204 "desc" : "Removes a listener (shorthand for removeListener)",
206 "isConstructor" : false,
208 "memberOf" : "Roo.util.Observable",
215 "name" : "eventName",
217 "desc" : "The type of event to listen for",
223 "desc" : "The handler to remove",
229 "desc" : "(optional) The scope (this object) for the handler",
236 "name" : "addEvents",
237 "desc" : "Used to define events on this Observable",
239 "isConstructor" : false,
241 "memberOf" : "Roo.util.Observable",
250 "desc" : "The object with the events defined",
257 "name" : "releaseCapture",
258 "desc" : "Removes <b>all</b> added captures from the Observable.",
260 "isConstructor" : false,
262 "memberOf" : "Roo.util.Observable",
270 "type" : "Observable",
271 "desc" : "The Observable to release",
278 "name" : "removeListener",
279 "desc" : "Removes a listener",
281 "isConstructor" : false,
283 "memberOf" : "Roo.util.Observable",
290 "name" : "eventName",
292 "desc" : "The type of event to listen for",
298 "desc" : "The handler to remove",
304 "desc" : "(optional) The scope (this object) for the handler",
311 "name" : "fireEvent",
312 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
314 "isConstructor" : false,
316 "memberOf" : "Roo.util.Observable",
323 "name" : "eventName",
330 "type" : "Object...",
331 "desc" : "Variable number of parameters are passed to handlers",
339 "desc" : "returns false if any of the handlers return false otherwise it returns true"
344 "name" : "hasListener",
345 "desc" : "Checks to see if this object has any listeners for a specified event",
347 "isConstructor" : false,
349 "memberOf" : "Roo.util.Observable",
356 "name" : "eventName",
358 "desc" : "The name of the event to check for",
366 "desc" : "True if the event is being listened for, else false"
372 "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.",
374 "isConstructor" : false,
376 "memberOf" : "Roo.util.Observable",
384 "type" : "Observable",
385 "desc" : "The Observable to capture",
391 "desc" : "The function to call",
397 "desc" : "(optional) The scope (this object) for the fn",
404 "name" : "addListener",
405 "desc" : "Appends an event handler to this component",
407 "isConstructor" : false,
409 "memberOf" : "Roo.util.Observable",
416 "name" : "eventName",
418 "desc" : "The type of event to listen for",
424 "desc" : "The method the event invokes",
430 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
436 "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>",
446 "desc" : "Fires when a layout is performed.",
447 "memberOf" : "Roo.LayoutManager",
455 "type" : "Roo.LayoutManager",
463 "name" : "regionexpanded",
464 "desc" : "Fires when a region is expanded.",
465 "memberOf" : "Roo.LayoutManager",
473 "type" : "Roo.LayoutRegion",
474 "desc" : "The expanded region",
481 "name" : "regionresized",
482 "desc" : "Fires when the user resizes a region.",
483 "memberOf" : "Roo.LayoutManager",
491 "type" : "Roo.LayoutRegion",
492 "desc" : "The resized region",
498 "desc" : "The new size (width for east/west, height for north/south)",
505 "name" : "regioncollapsed",
506 "desc" : "Fires when a region is collapsed.",
507 "memberOf" : "Roo.LayoutManager",
515 "type" : "Roo.LayoutRegion",
516 "desc" : "The collapsed region",