public interface MouseStillDownHandler
extends com.google.gwt.event.shared.EventHandler
Modifier and Type | Method and Description |
---|---|
void |
onMouseStillDown(MouseStillDownEvent event)
Repeating notification method for the user holding the left mouse button down over this canvas.
|
void onMouseStillDown(MouseStillDownEvent event)
The
mouseStillDown
event is fired immediately when the mouse goes down. If the user holds the mouse down, after
a pause of mouseStillDownInitialDelay
, it will
begin to fire repeatedly every mouseStillDownDelay
milliseconds.
This provides developers with a simple way to handle the common "repeated action" use case where a
user can click a UI element to perform an action once, or click and hold to perform the action repeatedly.
Examples
of this include standard scrollbar button behavior and buttons to increase or decrease the value in a spinner type
input element.
This event is not native to JavaScript, but is provided by the ISC system.
event
- the event