public interface MouseReleased extends MouseEvent
Modifier and Type | Interface and Description |
---|---|
static class |
MouseReleased.Builder
A builder of
MouseReleased . |
Modifier and Type | Method and Description |
---|---|
default MouseButton |
button()
Returns the released mouse button.
|
default int |
clickCount()
Returns the count of consecutive clicks that happened in a short amount of time.
|
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 MouseReleased.Builder |
newBuilder(Point location)
Creates a new
MouseReleased builder with the given required parameters. |
static MouseReleased.Builder newBuilder(Point location)
MouseReleased
builder with the given required parameters.location
- the mouse position relative to the bounds of the browser instanceMouseReleased.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()
default int clickCount()