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",
32 "name" : "stopDefault",
34 "desc" : "True to stop the default click event",
35 "memberOf" : "Roo.util.ClickRepeater",
41 "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>",
42 "memberOf" : "Roo.util.Observable",
48 "desc" : "The initial delay before the repeating event begins firing.\nSimilar to an autorepeat key delay.",
49 "memberOf" : "Roo.util.ClickRepeater",
53 "name" : "accelerate",
55 "desc" : "True if autorepeating should start slowly and accelerate.\n \"interval\" and \"delay\" are ignored. \"immediate\" is honored.",
56 "memberOf" : "Roo.util.ClickRepeater",
60 "name" : "preventDefault",
62 "desc" : "True to prevent the default click event",
63 "memberOf" : "Roo.util.ClickRepeater",
69 "desc" : "The interval between firings of the \"click\" event. Default 10 ms.",
70 "memberOf" : "Roo.util.ClickRepeater",
75 "type" : "String/HTMLElement/Element",
76 "desc" : "The element to act as a button.",
77 "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",
90 "name" : "purgeListeners",
91 "desc" : "Removes all listeners for this object",
93 "isConstructor" : false,
95 "memberOf" : "Roo.util.Observable",
105 "desc" : "Appends an event handler to this element (shorthand for addListener)",
107 "isConstructor" : false,
109 "memberOf" : "Roo.util.Observable",
116 "name" : "eventName",
118 "desc" : "The type of event to listen for",
124 "desc" : "The method the event invokes",
130 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
136 "desc" : "(optional)",
144 "desc" : "Removes a listener (shorthand for removeListener)",
146 "isConstructor" : false,
148 "memberOf" : "Roo.util.Observable",
155 "name" : "eventName",
157 "desc" : "The type of event to listen for",
163 "desc" : "The handler to remove",
169 "desc" : "(optional) The scope (this object) for the handler",
176 "name" : "addEvents",
177 "desc" : "Used to define events on this Observable",
179 "isConstructor" : false,
181 "memberOf" : "Roo.util.Observable",
190 "desc" : "The object with the events defined",
197 "name" : "releaseCapture",
198 "desc" : "Removes <b>all</b> added captures from the Observable.",
200 "isConstructor" : false,
202 "memberOf" : "Roo.util.Observable",
210 "type" : "Observable",
211 "desc" : "The Observable to release",
218 "name" : "removeListener",
219 "desc" : "Removes a listener",
221 "isConstructor" : false,
223 "memberOf" : "Roo.util.Observable",
230 "name" : "eventName",
232 "desc" : "The type of event to listen for",
238 "desc" : "The handler to remove",
244 "desc" : "(optional) The scope (this object) for the handler",
251 "name" : "fireEvent",
252 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
254 "isConstructor" : false,
256 "memberOf" : "Roo.util.Observable",
263 "name" : "eventName",
270 "type" : "Object...",
271 "desc" : "Variable number of parameters are passed to handlers",
279 "desc" : "returns false if any of the handlers return false otherwise it returns true"
284 "name" : "hasListener",
285 "desc" : "Checks to see if this object has any listeners for a specified event",
287 "isConstructor" : false,
289 "memberOf" : "Roo.util.Observable",
296 "name" : "eventName",
298 "desc" : "The name of the event to check for",
306 "desc" : "True if the event is being listened for, else false"
312 "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.",
314 "isConstructor" : false,
316 "memberOf" : "Roo.util.Observable",
324 "type" : "Observable",
325 "desc" : "The Observable to capture",
331 "desc" : "The function to call",
337 "desc" : "(optional) The scope (this object) for the fn",
344 "name" : "addListener",
345 "desc" : "Appends an event handler to this component",
347 "isConstructor" : false,
349 "memberOf" : "Roo.util.Observable",
356 "name" : "eventName",
358 "desc" : "The type of event to listen for",
364 "desc" : "The method the event invokes",
370 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
376 "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>",
385 "name" : "mousedown",
386 "desc" : "Fires when the mouse button is depressed.",
387 "memberOf" : "Roo.util.ClickRepeater",
395 "type" : "Roo.util.ClickRepeater",
404 "desc" : "Fires on a specified interval during the time the element is pressed.",
405 "memberOf" : "Roo.util.ClickRepeater",
413 "type" : "Roo.util.ClickRepeater",
422 "desc" : "Fires when the mouse key is released.",
423 "memberOf" : "Roo.util.ClickRepeater",
431 "type" : "Roo.util.ClickRepeater",