public interface MouseMoved extends MouseEvent
Modifier and Type | Interface and Description |
---|---|
static class |
MouseMoved.Builder
A builder of
MouseMoved . |
Modifier and Type | Method and Description |
---|---|
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.
|
static MouseMoved.Builder |
newBuilder(Point location)
Creates a new
MouseMoved builder with the given required parameters. |
static MouseMoved.Builder newBuilder(Point location)
MouseMoved
builder with the given required parameters.location
- the mouse position relative to the bounds of the browser instanceMouseMoved.Builder
instancedefault Point location()
MouseEvent
location
in interface MouseEvent
default Point locationOnScreen()
MouseEvent
locationOnScreen
in interface MouseEvent