2 "name" : "Roo.util.ClickRepeater",
9 "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 "isSingleton" : false,
14 "isBuilderTop" : false,
15 "memberOf" : "ClickRepeater",
23 "type" : "String/HTMLElement/Element",
24 "desc" : "The element to listen on",
39 "name" : "stopDefault",
41 "desc" : "True to stop the default click event",
49 "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>",
50 "memberOf" : "Roo.util.Observable",
57 "desc" : "The initial delay before the repeating event begins firing.\nSimilar to an autorepeat key delay.",
63 "name" : "accelerate",
65 "desc" : "True if autorepeating should start slowly and accelerate.\n \"interval\" and \"delay\" are ignored. \"immediate\" is honored.",
71 "name" : "preventDefault",
73 "desc" : "True to prevent the default click event",
81 "desc" : "The interval between firings of the \"click\" event. Default 10 ms.",
88 "type" : "String/HTMLElement/Element",
89 "desc" : "The element to act as a button.",
95 "name" : "pressClass",
97 "desc" : "A CSS class name to be applied to the element while pressed.",
105 "name" : "purgeListeners",
107 "desc" : "Removes all listeners for this object",
108 "sig" : "()\n{\n\n}",
110 "memberOf" : "Roo.util.Observable",
112 "isConstructor" : false,
126 "desc" : "Appends an event handler to this element (shorthand for addListener)",
127 "sig" : "(eventName, handler, scope, options)",
129 "memberOf" : "Roo.util.Observable",
131 "isConstructor" : false,
141 "name" : "eventName",
143 "desc" : "The type of event to listen for",
149 "desc" : "The method the event invokes",
155 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
161 "desc" : "(optional)",
170 "desc" : "Removes a listener (shorthand for removeListener)",
171 "sig" : "(eventName, handler, scope)",
173 "memberOf" : "Roo.util.Observable",
175 "isConstructor" : false,
185 "name" : "eventName",
187 "desc" : "The type of event to listen for",
193 "desc" : "The handler to remove",
199 "desc" : "(optional) The scope (this object) for the handler",
206 "name" : "addEvents",
208 "desc" : "Used to define events on this Observable",
211 "memberOf" : "Roo.util.Observable",
213 "isConstructor" : false,
225 "desc" : "The object with the events defined",
232 "name" : "releaseCapture",
234 "desc" : "Removes <b>all</b> added captures from the Observable.",
237 "memberOf" : "Roo.util.Observable",
239 "isConstructor" : false,
250 "type" : "Observable",
251 "desc" : "The Observable to release",
258 "name" : "removeListener",
260 "desc" : "Removes a listener",
261 "sig" : "(eventName, handler, scope)",
263 "memberOf" : "Roo.util.Observable",
265 "isConstructor" : false,
275 "name" : "eventName",
277 "desc" : "The type of event to listen for",
283 "desc" : "The handler to remove",
289 "desc" : "(optional) The scope (this object) for the handler",
296 "name" : "fireEvent",
298 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
299 "sig" : "(eventName, args)",
301 "memberOf" : "Roo.util.Observable",
303 "isConstructor" : false,
313 "name" : "eventName",
320 "type" : "Object...",
321 "desc" : "Variable number of parameters are passed to handlers",
329 "desc" : "returns false if any of the handlers return false otherwise it returns true"
334 "name" : "hasListener",
336 "desc" : "Checks to see if this object has any listeners for a specified event",
337 "sig" : "(eventName)",
339 "memberOf" : "Roo.util.Observable",
341 "isConstructor" : false,
351 "name" : "eventName",
353 "desc" : "The name of the event to check for",
361 "desc" : "True if the event is being listened for, else false"
368 "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.",
369 "sig" : "(o, fn, scope)",
371 "memberOf" : "Roo.util.Observable",
373 "isConstructor" : false,
384 "type" : "Observable",
385 "desc" : "The Observable to capture",
391 "desc" : "The function to call",
397 "desc" : "(optional) The scope (this object) for the fn",
404 "name" : "addListener",
406 "desc" : "Appends an event handler to this component",
407 "sig" : "(eventName, handler, scope, options)",
409 "memberOf" : "Roo.util.Observable",
411 "isConstructor" : false,
421 "name" : "eventName",
423 "desc" : "The type of event to listen for",
429 "desc" : "The method the event invokes",
435 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
441 "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>",
450 "name" : "mousedown",
452 "desc" : "Fires when the mouse button is depressed.",
453 "sig" : "function (_self)\n{\n\n}",
462 "type" : "Roo.util.ClickRepeater",
472 "desc" : "Fires on a specified interval during the time the element is pressed.",
473 "sig" : "function (_self)\n{\n\n}",
482 "type" : "Roo.util.ClickRepeater",
492 "desc" : "Fires when the mouse key is released.",
493 "sig" : "function (_self)\n{\n\n}",
502 "type" : "Roo.util.ClickRepeater",