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