public interface MouseDragged extends MouseEvent
Modifier and Type | Interface and Description |
---|---|
static class |
MouseDragged.Builder
A builder of
MouseDragged . |
Modifier and Type | Method and Description |
---|---|
default MouseButton |
button()
Returns the button that is pressed during the move.
|
default KeyModifiers |
keyModifiers()
Returns the keyboard modifiers applied.
|
default Point |
location()
Returns the mouse position relative to the bounds of the browser instance.
|
default Point |
locationOnScreen()
Returns the mouse position relative to the bounds of the screen.
|
default MouseModifiers |
mouseModifiers()
Returns the mouse modifiers applied.
|
static MouseDragged.Builder |
newBuilder(Point location)
Creates a new
MouseDragged builder with the given required parameters. |
static MouseDragged.Builder newBuilder(Point location)
MouseDragged
builder with the given required parameters.location
- the mouse position relative to the bounds of the browser instanceMouseDragged.Builder
instancedefault Point location()
MouseEvent
location
in interface MouseEvent
default Point locationOnScreen()
MouseEvent
locationOnScreen
in interface MouseEvent
default MouseButton button()
default KeyModifiers keyModifiers()
default MouseModifiers mouseModifiers()