public interface HasMouseStillDownHandlers
extends com.google.gwt.event.shared.HasHandlers
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addMouseStillDownHandler(MouseStillDownHandler handler)
Repeating notification method for the user holding the left mouse button down over this canvas.
|
com.google.gwt.event.shared.HandlerRegistration addMouseStillDownHandler(MouseStillDownHandler handler)
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.
handler
- the mouseStillDown handlerHandlerRegistration
used to remove this handler