Roo.util.Observable Roo.util.ClickRepeater
Package: | Roo.util |
Defined In: | Roo/util/ClickRepeater.js. |
Class: | ClickRepeater |
Extends: | Roo.util.Observable |
Options | Defined By | |
---|---|---|
accelerate : Boolean
True if autorepeating should start slowly and accelerate.
True if autorepeating should start slowly and accelerate.
"interval" and "delay" are ignored. "immediate" is honored. |
Roo.util.ClickRepeater | |
delay : Number
The initial delay before the repeating event begins firing.
The initial delay before the repeating event begins firing.
Similar to an autorepeat key delay. |
Roo.util.ClickRepeater | |
el : String/HTMLElement/Element
The element to act as a button.
The element to act as a button.
|
Roo.util.ClickRepeater | |
interval : Number
The interval between firings of the "click" event.
The interval between firings of the "click" event. Default 10 ms.
|
Roo.util.ClickRepeater | |
listeners : Object
list of events and functions to call for this object,
For example :
list of events and functions to call for this object,
For example :
|
Roo.util.Observable | |
pressClass : String
A CSS class name to be applied to the element while pressed.
A CSS class name to be applied to the element while pressed.
|
Roo.util.ClickRepeater | |
preventDefault : Boolean
True to prevent the default click event
True to prevent the default click event
|
Roo.util.ClickRepeater | |
stopDefault : Boolean
True to stop the default click event
True to stop the default click event
|
Roo.util.ClickRepeater |
Method | Defined By | |
---|---|---|
addEvents
(Object object)
Used to define events on this Observable
Used to define events on this Observable
|
Roo.util.Observable | |
Appends an event handler to this component
Appends an event handler to this component
|
Roo.util.Observable | |
Fires the specified event with the passed parameters (minus the event name).
|
Roo.util.Observable | |
Roo.util.Observable | ||
Appends an event handler to this element (shorthand for addListener)
Appends an event handler to this element (shorthand for addListener)
|
Roo.util.Observable | |
purgeListeners
()
Removes all listeners for this object
Removes all listeners for this object
|
Roo.util.Observable | |
Roo.util.Observable | ||
Roo.util.Observable |
Event | Defined By | |
---|---|---|
click (Roo.util.ClickRepeater this)
Fires on a specified interval during the time the element is pressed.
Fires on a specified interval during the time the element is pressed.
|
Roo.util.ClickRepeater | |
mousedown (Roo.util.ClickRepeater this)
Fires when the mouse button is depressed.
Fires when the mouse button is depressed.
|
Roo.util.ClickRepeater | |
mouseup (Roo.util.ClickRepeater this)
Fires when the mouse key is released.
Fires when the mouse key is released.
|
Roo.util.ClickRepeater |