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",
42 "memberOf" : "Roo.util.ClickRepeater"
47 "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>",
48 "memberOf" : "Roo.util.Observable"
53 "desc" : "The initial delay before the repeating event begins firing.\nSimilar to an autorepeat key delay.",
54 "memberOf" : "Roo.util.ClickRepeater"
57 "name" : "accelerate",
59 "desc" : "True if autorepeating should start slowly and accelerate.\n \"interval\" and \"delay\" are ignored. \"immediate\" is honored.",
60 "memberOf" : "Roo.util.ClickRepeater"
63 "name" : "preventDefault",
65 "desc" : "True to prevent the default click event",
66 "memberOf" : "Roo.util.ClickRepeater"
71 "desc" : "The interval between firings of the \"click\" event. Default 10 ms.",
72 "memberOf" : "Roo.util.ClickRepeater"
76 "type" : "String/HTMLElement/Element",
77 "desc" : "The element to act as a button.",
78 "memberOf" : "Roo.util.ClickRepeater"
81 "name" : "pressClass",
83 "desc" : "A CSS class name to be applied to the element while pressed.",
84 "memberOf" : "Roo.util.ClickRepeater"
89 "name" : "purgeListeners",
91 "desc" : "Removes all listeners for this object",
94 "memberOf" : "Roo.util.Observable",
96 "isConstructor" : false,
110 "desc" : "Appends an event handler to this element (shorthand for addListener)",
111 "sig" : "(eventName, handler, scope, options)",
113 "memberOf" : "Roo.util.Observable",
115 "isConstructor" : false,
125 "name" : "eventName",
127 "desc" : "The type of event to listen for",
133 "desc" : "The method the event invokes",
139 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
145 "desc" : "(optional)",
154 "desc" : "Removes a listener (shorthand for removeListener)",
155 "sig" : "(eventName, handler, scope)",
157 "memberOf" : "Roo.util.Observable",
159 "isConstructor" : false,
169 "name" : "eventName",
171 "desc" : "The type of event to listen for",
177 "desc" : "The handler to remove",
183 "desc" : "(optional) The scope (this object) for the handler",
190 "name" : "addEvents",
192 "desc" : "Used to define events on this Observable",
195 "memberOf" : "Roo.util.Observable",
197 "isConstructor" : false,
209 "desc" : "The object with the events defined",
216 "name" : "releaseCapture",
218 "desc" : "Removes <b>all</b> added captures from the Observable.",
221 "memberOf" : "Roo.util.Observable",
223 "isConstructor" : false,
234 "type" : "Observable",
235 "desc" : "The Observable to release",
242 "name" : "removeListener",
244 "desc" : "Removes a listener",
245 "sig" : "(eventName, handler, scope)",
247 "memberOf" : "Roo.util.Observable",
249 "isConstructor" : false,
259 "name" : "eventName",
261 "desc" : "The type of event to listen for",
267 "desc" : "The handler to remove",
273 "desc" : "(optional) The scope (this object) for the handler",
280 "name" : "fireEvent",
282 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
283 "sig" : "(eventName, args)",
285 "memberOf" : "Roo.util.Observable",
287 "isConstructor" : false,
297 "name" : "eventName",
304 "type" : "Object...",
305 "desc" : "Variable number of parameters are passed to handlers",
313 "desc" : "returns false if any of the handlers return false otherwise it returns true"
318 "name" : "hasListener",
320 "desc" : "Checks to see if this object has any listeners for a specified event",
321 "sig" : "(eventName)",
323 "memberOf" : "Roo.util.Observable",
325 "isConstructor" : false,
335 "name" : "eventName",
337 "desc" : "The name of the event to check for",
345 "desc" : "True if the event is being listened for, else false"
352 "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.",
353 "sig" : "(o, fn, scope)",
355 "memberOf" : "Roo.util.Observable",
357 "isConstructor" : false,
368 "type" : "Observable",
369 "desc" : "The Observable to capture",
375 "desc" : "The function to call",
381 "desc" : "(optional) The scope (this object) for the fn",
388 "name" : "addListener",
390 "desc" : "Appends an event handler to this component",
391 "sig" : "(eventName, handler, scope, options)",
393 "memberOf" : "Roo.util.Observable",
395 "isConstructor" : false,
405 "name" : "eventName",
407 "desc" : "The type of event to listen for",
413 "desc" : "The method the event invokes",
419 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
425 "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>",
434 "name" : "mousedown",
436 "desc" : "Fires when the mouse button is depressed.",
437 "sig" : "function (_self)\n{\n\n}",
446 "type" : "Roo.util.ClickRepeater",
456 "desc" : "Fires on a specified interval during the time the element is pressed.",
457 "sig" : "function (_self)\n{\n\n}",
466 "type" : "Roo.util.ClickRepeater",
476 "desc" : "Fires when the mouse key is released.",
477 "sig" : "function (_self)\n{\n\n}",
486 "type" : "Roo.util.ClickRepeater",