2 "name" : "Roo.LayoutManager",
6 "desc" : "Base class for layout managers.",
14 "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>",
15 "memberOf" : "Roo.util.Observable",
23 "desc" : "Returns the specified region.",
25 "isConstructor" : false,
27 "memberOf" : "Roo.LayoutManager",
36 "desc" : "The region key ('center', 'north', 'south', 'east' or 'west')",
43 "type" : "Roo.LayoutRegion",
49 "name" : "beginUpdate",
50 "desc" : "Suspend the LayoutManager from doing auto-layouts while\nmaking multiple add or remove calls",
52 "isConstructor" : false,
54 "memberOf" : "Roo.LayoutManager",
65 "name" : "isUpdating",
66 "desc" : "Returns true if this layout is currently being updated",
68 "isConstructor" : false,
70 "memberOf" : "Roo.LayoutManager",
86 "name" : "getViewSize",
87 "desc" : "Returns the size of the current view. This method normalizes document.body and element embedded layouts and\nperforms box-model adjustments.",
89 "isConstructor" : false,
91 "memberOf" : "Roo.LayoutManager",
102 "desc" : "The size as an object {width: (the width), height: (the height)}"
107 "name" : "endUpdate",
108 "desc" : "Restore auto-layouts and optionally disable the manager from performing a layout",
110 "isConstructor" : false,
112 "memberOf" : "Roo.LayoutManager",
121 "desc" : "true to disable a layout update",
130 "desc" : "Returns the Element this layout is bound to.",
132 "isConstructor" : false,
134 "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",
167 "desc" : "Appends an event handler to this element (shorthand for addListener)",
169 "isConstructor" : false,
171 "memberOf" : "Roo.util.Observable",
178 "name" : "eventName",
180 "desc" : "The type of event to listen for",
186 "desc" : "The method the event invokes",
192 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
198 "desc" : "(optional)",
207 "desc" : "Removes a listener (shorthand for removeListener)",
209 "isConstructor" : false,
211 "memberOf" : "Roo.util.Observable",
218 "name" : "eventName",
220 "desc" : "The type of event to listen for",
226 "desc" : "The handler to remove",
232 "desc" : "(optional) The scope (this object) for the handler",
240 "name" : "addEvents",
241 "desc" : "Used to define events on this Observable",
243 "isConstructor" : false,
245 "memberOf" : "Roo.util.Observable",
254 "desc" : "The object with the events defined",
262 "name" : "releaseCapture",
263 "desc" : "Removes <b>all</b> added captures from the Observable.",
265 "isConstructor" : false,
267 "memberOf" : "Roo.util.Observable",
275 "type" : "Observable",
276 "desc" : "The Observable to release",
284 "name" : "removeListener",
285 "desc" : "Removes a listener",
287 "isConstructor" : false,
289 "memberOf" : "Roo.util.Observable",
296 "name" : "eventName",
298 "desc" : "The type of event to listen for",
304 "desc" : "The handler to remove",
310 "desc" : "(optional) The scope (this object) for the handler",
318 "name" : "fireEvent",
319 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
321 "isConstructor" : false,
323 "memberOf" : "Roo.util.Observable",
330 "name" : "eventName",
337 "type" : "Object...",
338 "desc" : "Variable number of parameters are passed to handlers",
346 "desc" : "returns false if any of the handlers return false otherwise it returns true"
351 "name" : "hasListener",
352 "desc" : "Checks to see if this object has any listeners for a specified event",
354 "isConstructor" : false,
356 "memberOf" : "Roo.util.Observable",
363 "name" : "eventName",
365 "desc" : "The name of the event to check for",
373 "desc" : "True if the event is being listened for, else false"
379 "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.",
381 "isConstructor" : false,
383 "memberOf" : "Roo.util.Observable",
391 "type" : "Observable",
392 "desc" : "The Observable to capture",
398 "desc" : "The function to call",
404 "desc" : "(optional) The scope (this object) for the fn",
412 "name" : "addListener",
413 "desc" : "Appends an event handler to this component",
415 "isConstructor" : false,
417 "memberOf" : "Roo.util.Observable",
424 "name" : "eventName",
426 "desc" : "The type of event to listen for",
432 "desc" : "The method the event invokes",
438 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
444 "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>",
455 "desc" : "Fires when a layout is performed.",
464 "type" : "Roo.LayoutManager",
473 "name" : "regionexpanded",
474 "desc" : "Fires when a region is expanded.",
483 "type" : "Roo.LayoutRegion",
484 "desc" : "The expanded region",
492 "name" : "regionresized",
493 "desc" : "Fires when the user resizes a region.",
502 "type" : "Roo.LayoutRegion",
503 "desc" : "The resized region",
509 "desc" : "The new size (width for east/west, height for north/south)",
517 "name" : "regioncollapsed",
518 "desc" : "Fires when a region is collapsed.",
527 "type" : "Roo.LayoutRegion",
528 "desc" : "The collapsed region",