2 "name" : "Roo.Document",
6 "desc" : "This is a convience class to wrap up the main document loading code.. , rather than adding Roo.onReady(......)",
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",
22 "name" : "purgeListeners",
23 "desc" : "Removes all listeners for this object",
25 "isConstructor" : false,
27 "memberOf" : "Roo.util.Observable",
39 "desc" : "Appends an event handler to this element (shorthand for addListener)",
41 "isConstructor" : false,
43 "memberOf" : "Roo.util.Observable",
52 "desc" : "The type of event to listen for",
58 "desc" : "The method the event invokes",
64 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
70 "desc" : "(optional)",
79 "desc" : "Removes a listener (shorthand for removeListener)",
81 "isConstructor" : false,
83 "memberOf" : "Roo.util.Observable",
92 "desc" : "The type of event to listen for",
98 "desc" : "The handler to remove",
104 "desc" : "(optional) The scope (this object) for the handler",
112 "name" : "addEvents",
113 "desc" : "Used to define events on this Observable",
115 "isConstructor" : false,
117 "memberOf" : "Roo.util.Observable",
126 "desc" : "The object with the events defined",
134 "name" : "releaseCapture",
135 "desc" : "Removes <b>all</b> added captures from the Observable.",
137 "isConstructor" : false,
139 "memberOf" : "Roo.util.Observable",
147 "type" : "Observable",
148 "desc" : "The Observable to release",
156 "name" : "removeListener",
157 "desc" : "Removes a listener",
159 "isConstructor" : false,
161 "memberOf" : "Roo.util.Observable",
168 "name" : "eventName",
170 "desc" : "The type of event to listen for",
176 "desc" : "The handler to remove",
182 "desc" : "(optional) The scope (this object) for the handler",
190 "name" : "fireEvent",
191 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
193 "isConstructor" : false,
195 "memberOf" : "Roo.util.Observable",
202 "name" : "eventName",
209 "type" : "Object...",
210 "desc" : "Variable number of parameters are passed to handlers",
218 "desc" : "returns false if any of the handlers return false otherwise it returns true"
223 "name" : "hasListener",
224 "desc" : "Checks to see if this object has any listeners for a specified event",
226 "isConstructor" : false,
228 "memberOf" : "Roo.util.Observable",
235 "name" : "eventName",
237 "desc" : "The name of the event to check for",
245 "desc" : "True if the event is being listened for, else false"
251 "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.",
253 "isConstructor" : false,
255 "memberOf" : "Roo.util.Observable",
263 "type" : "Observable",
264 "desc" : "The Observable to capture",
270 "desc" : "The function to call",
276 "desc" : "(optional) The scope (this object) for the fn",
284 "name" : "addListener",
285 "desc" : "Appends an event handler to this component",
287 "isConstructor" : false,
289 "memberOf" : "Roo.util.Observable",
296 "name" : "eventName",
298 "desc" : "The type of event to listen for",
304 "desc" : "The method the event invokes",
310 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
316 "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>",