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",
32 "desc" : "Returns the specified region.",
34 "isConstructor" : false,
36 "memberOf" : "Roo.LayoutManager",
45 "desc" : "The region key ('center', 'north', 'south', 'east' or 'west')",
52 "type" : "Roo.LayoutRegion",
58 "name" : "beginUpdate",
59 "desc" : "Suspend the LayoutManager from doing auto-layouts while\nmaking multiple add or remove calls",
61 "isConstructor" : false,
63 "memberOf" : "Roo.LayoutManager",
74 "name" : "isUpdating",
75 "desc" : "Returns true if this layout is currently being updated",
77 "isConstructor" : false,
79 "memberOf" : "Roo.LayoutManager",
95 "name" : "getViewSize",
96 "desc" : "Returns the size of the current view. This method normalizes document.body and element embedded layouts and\nperforms box-model adjustments.",
98 "isConstructor" : false,
100 "memberOf" : "Roo.LayoutManager",
111 "desc" : "The size as an object {width: (the width), height: (the height)}"
116 "name" : "endUpdate",
117 "desc" : "Restore auto-layouts and optionally disable the manager from performing a layout",
119 "isConstructor" : false,
121 "memberOf" : "Roo.LayoutManager",
130 "desc" : "true to disable a layout update",
139 "desc" : "Returns the Element this layout is bound to.",
141 "isConstructor" : false,
143 "memberOf" : "Roo.LayoutManager",
153 "type" : "Roo.Element",
159 "name" : "purgeListeners",
160 "desc" : "Removes all listeners for this object",
162 "isConstructor" : false,
164 "memberOf" : "Roo.util.Observable",
176 "desc" : "Appends an event handler to this element (shorthand for addListener)",
178 "isConstructor" : false,
180 "memberOf" : "Roo.util.Observable",
187 "name" : "eventName",
189 "desc" : "The type of event to listen for",
195 "desc" : "The method the event invokes",
201 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
207 "desc" : "(optional)",
216 "desc" : "Removes a listener (shorthand for removeListener)",
218 "isConstructor" : false,
220 "memberOf" : "Roo.util.Observable",
227 "name" : "eventName",
229 "desc" : "The type of event to listen for",
235 "desc" : "The handler to remove",
241 "desc" : "(optional) The scope (this object) for the handler",
249 "name" : "addEvents",
250 "desc" : "Used to define events on this Observable",
252 "isConstructor" : false,
254 "memberOf" : "Roo.util.Observable",
263 "desc" : "The object with the events defined",
271 "name" : "releaseCapture",
272 "desc" : "Removes <b>all</b> added captures from the Observable.",
274 "isConstructor" : false,
276 "memberOf" : "Roo.util.Observable",
284 "type" : "Observable",
285 "desc" : "The Observable to release",
293 "name" : "removeListener",
294 "desc" : "Removes a listener",
296 "isConstructor" : false,
298 "memberOf" : "Roo.util.Observable",
305 "name" : "eventName",
307 "desc" : "The type of event to listen for",
313 "desc" : "The handler to remove",
319 "desc" : "(optional) The scope (this object) for the handler",
327 "name" : "fireEvent",
328 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
330 "isConstructor" : false,
332 "memberOf" : "Roo.util.Observable",
339 "name" : "eventName",
346 "type" : "Object...",
347 "desc" : "Variable number of parameters are passed to handlers",
355 "desc" : "returns false if any of the handlers return false otherwise it returns true"
360 "name" : "hasListener",
361 "desc" : "Checks to see if this object has any listeners for a specified event",
363 "isConstructor" : false,
365 "memberOf" : "Roo.util.Observable",
372 "name" : "eventName",
374 "desc" : "The name of the event to check for",
382 "desc" : "True if the event is being listened for, else false"
388 "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.",
390 "isConstructor" : false,
392 "memberOf" : "Roo.util.Observable",
400 "type" : "Observable",
401 "desc" : "The Observable to capture",
407 "desc" : "The function to call",
413 "desc" : "(optional) The scope (this object) for the fn",
421 "name" : "addListener",
422 "desc" : "Appends an event handler to this component",
424 "isConstructor" : false,
426 "memberOf" : "Roo.util.Observable",
433 "name" : "eventName",
435 "desc" : "The type of event to listen for",
441 "desc" : "The method the event invokes",
447 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
453 "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>",
464 "desc" : "Fires when a layout is performed.",
465 "memberOf" : "Roo.LayoutManager",
473 "type" : "Roo.LayoutManager",
482 "name" : "regionexpanded",
483 "desc" : "Fires when a region is expanded.",
484 "memberOf" : "Roo.LayoutManager",
492 "type" : "Roo.LayoutRegion",
493 "desc" : "The expanded region",
501 "name" : "regionresized",
502 "desc" : "Fires when the user resizes a region.",
503 "memberOf" : "Roo.LayoutManager",
511 "type" : "Roo.LayoutRegion",
512 "desc" : "The resized region",
518 "desc" : "The new size (width for east/west, height for north/south)",
526 "name" : "regioncollapsed",
527 "desc" : "Fires when a region is collapsed.",
528 "memberOf" : "Roo.LayoutManager",
536 "type" : "Roo.LayoutRegion",
537 "desc" : "The collapsed region",