2 "name" : "Roo.util.ClickRepeater",
7 "desc" : "A wrapper class which can be applied to any element. Fires a \"click\" event while the\nmouse is pressed. The interval between firings may be specified in the config but\ndefaults to 10 milliseconds.\n\nOptionally, a CSS class may be applied to the element during the time it is pressed.",
11 "memberOf" : "ClickRepeater",
19 "type" : "String/HTMLElement/Element",
20 "desc" : "The element to listen on",
35 "name" : "stopDefault",
37 "desc" : "True to stop the default click event",
43 "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>",
44 "memberOf" : "Roo.util.Observable"
49 "desc" : "The initial delay before the repeating event begins firing.\nSimilar to an autorepeat key delay.",
53 "name" : "accelerate",
55 "desc" : "True if autorepeating should start slowly and accelerate.\n \"interval\" and \"delay\" are ignored. \"immediate\" is honored.",
59 "name" : "preventDefault",
61 "desc" : "True to prevent the default click event",
67 "desc" : "The interval between firings of the \"click\" event. Default 10 ms.",
72 "type" : "String/HTMLElement/Element",
73 "desc" : "The element to act as a button.",
77 "name" : "pressClass",
79 "desc" : "A CSS class name to be applied to the element while pressed.",
85 "name" : "purgeListeners",
87 "desc" : "Removes all listeners for this object",
90 "memberOf" : "Roo.util.Observable",
92 "isConstructor" : false,
106 "desc" : "Appends an event handler to this element (shorthand for addListener)",
107 "sig" : "(eventName, handler, scope, options)",
109 "memberOf" : "Roo.util.Observable",
111 "isConstructor" : false,
121 "name" : "eventName",
123 "desc" : "The type of event to listen for",
129 "desc" : "The method the event invokes",
135 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
141 "desc" : "(optional)",
150 "desc" : "Removes a listener (shorthand for removeListener)",
151 "sig" : "(eventName, handler, scope)",
153 "memberOf" : "Roo.util.Observable",
155 "isConstructor" : false,
165 "name" : "eventName",
167 "desc" : "The type of event to listen for",
173 "desc" : "The handler to remove",
179 "desc" : "(optional) The scope (this object) for the handler",
186 "name" : "addEvents",
188 "desc" : "Used to define events on this Observable",
191 "memberOf" : "Roo.util.Observable",
193 "isConstructor" : false,
205 "desc" : "The object with the events defined",
212 "name" : "releaseCapture",
214 "desc" : "Removes <b>all</b> added captures from the Observable.",
217 "memberOf" : "Roo.util.Observable",
219 "isConstructor" : false,
230 "type" : "Observable",
231 "desc" : "The Observable to release",
238 "name" : "removeListener",
240 "desc" : "Removes a listener",
241 "sig" : "(eventName, handler, scope)",
243 "memberOf" : "Roo.util.Observable",
245 "isConstructor" : false,
255 "name" : "eventName",
257 "desc" : "The type of event to listen for",
263 "desc" : "The handler to remove",
269 "desc" : "(optional) The scope (this object) for the handler",
276 "name" : "fireEvent",
278 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
279 "sig" : "(eventName, args)",
281 "memberOf" : "Roo.util.Observable",
283 "isConstructor" : false,
293 "name" : "eventName",
300 "type" : "Object...",
301 "desc" : "Variable number of parameters are passed to handlers",
309 "desc" : "returns false if any of the handlers return false otherwise it returns true"
314 "name" : "hasListener",
316 "desc" : "Checks to see if this object has any listeners for a specified event",
317 "sig" : "(eventName)",
319 "memberOf" : "Roo.util.Observable",
321 "isConstructor" : false,
331 "name" : "eventName",
333 "desc" : "The name of the event to check for",
341 "desc" : "True if the event is being listened for, else false"
348 "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.",
349 "sig" : "(o, fn, scope)",
351 "memberOf" : "Roo.util.Observable",
353 "isConstructor" : false,
364 "type" : "Observable",
365 "desc" : "The Observable to capture",
371 "desc" : "The function to call",
377 "desc" : "(optional) The scope (this object) for the fn",
384 "name" : "addListener",
386 "desc" : "Appends an event handler to this component",
387 "sig" : "(eventName, handler, scope, options)",
389 "memberOf" : "Roo.util.Observable",
391 "isConstructor" : false,
401 "name" : "eventName",
403 "desc" : "The type of event to listen for",
409 "desc" : "The method the event invokes",
415 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
421 "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>",
430 "name" : "mousedown",
432 "desc" : "Fires when the mouse button is depressed.",
433 "sig" : "function (_self)\n{\n\n}",
442 "type" : "Roo.util.ClickRepeater",
452 "desc" : "Fires on a specified interval during the time the element is pressed.",
453 "sig" : "function (_self)\n{\n\n}",
462 "type" : "Roo.util.ClickRepeater",
472 "desc" : "Fires when the mouse key is released.",
473 "sig" : "function (_self)\n{\n\n}",
482 "type" : "Roo.util.ClickRepeater",