2 "name" : "Roo.util.ClickRepeater",
6 "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.",
10 "memberOf" : "ClickRepeater",
18 "type" : "String/HTMLElement/Element",
19 "desc" : "The element to listen on",
34 "name" : "stopDefault",
36 "desc" : "True to stop the default click event",
42 "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>",
43 "memberOf" : "Roo.util.Observable"
48 "desc" : "The initial delay before the repeating event begins firing.\nSimilar to an autorepeat key delay.",
52 "name" : "accelerate",
54 "desc" : "True if autorepeating should start slowly and accelerate.\n \"interval\" and \"delay\" are ignored. \"immediate\" is honored.",
58 "name" : "preventDefault",
60 "desc" : "True to prevent the default click event",
66 "desc" : "The interval between firings of the \"click\" event. Default 10 ms.",
71 "type" : "String/HTMLElement/Element",
72 "desc" : "The element to act as a button.",
76 "name" : "pressClass",
78 "desc" : "A CSS class name to be applied to the element while pressed.",
84 "name" : "purgeListeners",
86 "desc" : "Removes all listeners for this object",
89 "memberOf" : "Roo.util.Observable",
91 "isConstructor" : false,
105 "desc" : "Appends an event handler to this element (shorthand for addListener)",
106 "sig" : "(eventName, handler, scope, options)",
108 "memberOf" : "Roo.util.Observable",
110 "isConstructor" : false,
120 "name" : "eventName",
122 "desc" : "The type of event to listen for",
128 "desc" : "The method the event invokes",
134 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
140 "desc" : "(optional)",
149 "desc" : "Removes a listener (shorthand for removeListener)",
150 "sig" : "(eventName, handler, scope)",
152 "memberOf" : "Roo.util.Observable",
154 "isConstructor" : false,
164 "name" : "eventName",
166 "desc" : "The type of event to listen for",
172 "desc" : "The handler to remove",
178 "desc" : "(optional) The scope (this object) for the handler",
185 "name" : "addEvents",
187 "desc" : "Used to define events on this Observable",
190 "memberOf" : "Roo.util.Observable",
192 "isConstructor" : false,
204 "desc" : "The object with the events defined",
211 "name" : "releaseCapture",
213 "desc" : "Removes <b>all</b> added captures from the Observable.",
216 "memberOf" : "Roo.util.Observable",
218 "isConstructor" : false,
229 "type" : "Observable",
230 "desc" : "The Observable to release",
237 "name" : "removeListener",
239 "desc" : "Removes a listener",
240 "sig" : "(eventName, handler, scope)",
242 "memberOf" : "Roo.util.Observable",
244 "isConstructor" : false,
254 "name" : "eventName",
256 "desc" : "The type of event to listen for",
262 "desc" : "The handler to remove",
268 "desc" : "(optional) The scope (this object) for the handler",
275 "name" : "fireEvent",
277 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
278 "sig" : "(eventName, args)",
280 "memberOf" : "Roo.util.Observable",
282 "isConstructor" : false,
292 "name" : "eventName",
299 "type" : "Object...",
300 "desc" : "Variable number of parameters are passed to handlers",
308 "desc" : "returns false if any of the handlers return false otherwise it returns true"
313 "name" : "hasListener",
315 "desc" : "Checks to see if this object has any listeners for a specified event",
316 "sig" : "(eventName)",
318 "memberOf" : "Roo.util.Observable",
320 "isConstructor" : false,
330 "name" : "eventName",
332 "desc" : "The name of the event to check for",
340 "desc" : "True if the event is being listened for, else false"
347 "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.",
348 "sig" : "(o, fn, scope)",
350 "memberOf" : "Roo.util.Observable",
352 "isConstructor" : false,
363 "type" : "Observable",
364 "desc" : "The Observable to capture",
370 "desc" : "The function to call",
376 "desc" : "(optional) The scope (this object) for the fn",
383 "name" : "addListener",
385 "desc" : "Appends an event handler to this component",
386 "sig" : "(eventName, handler, scope, options)",
388 "memberOf" : "Roo.util.Observable",
390 "isConstructor" : false,
400 "name" : "eventName",
402 "desc" : "The type of event to listen for",
408 "desc" : "The method the event invokes",
414 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
420 "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>",
429 "name" : "mousedown",
431 "desc" : "Fires when the mouse button is depressed.",
432 "sig" : "function (_self)\n{\n\n}",
441 "type" : "Roo.util.ClickRepeater",
451 "desc" : "Fires on a specified interval during the time the element is pressed.",
452 "sig" : "function (_self)\n{\n\n}",
461 "type" : "Roo.util.ClickRepeater",
471 "desc" : "Fires when the mouse key is released.",
472 "sig" : "function (_self)\n{\n\n}",
481 "type" : "Roo.util.ClickRepeater",