| Previous | Next | Frames | No Frames |
| Summary: Field | Property | Contructor | Method | Detail: Field | Property | Contructor | Method |
Object | +--xp.util.MouseDownTimer
Constructor | |
| public | MouseDownTimer ( ) |
| Create a new instance of MouseDownTimer | |
Method Summary | |
| public | activate ( host: Object, callback: Function, timeout: Number ) |
| Activates the timer | |
| public | deactivate ( ) |
| Deactivates the timer | |
| public | onMouseUp ( ) |
| Mouse button up handler | |
| public | onTimeOut ( params: Array ) |
| The onTimeOut event handler | |
|
| Create a new instance of MouseDownTimer |
|
| Activates the timer | |||||||||
|
|
| Deactivates the timer |
|
| Mouse button up handler Clears the timer |
|
| The onTimeOut event handler |
Use if you wish to take an action after the mosue button has been held down for a period of time. Contrast to MouseDownRepeater that repeatedly fires an event whilst the mouse button remains down