public interface MouseModifiers
Modifier and Type | Interface and Description |
---|---|
static class |
MouseModifiers.Builder
A builder of
MouseModifiers . |
Modifier and Type | Method and Description |
---|---|
default boolean |
isMiddleButtonDown()
Returns
true if the middle mouse button is pressed. |
default boolean |
isPrimaryButtonDown()
Returns
true if the primary mouse button is pressed. |
default boolean |
isSecondaryButtonDown()
Returns
true if the secondary mouse button is pressed. |
static MouseModifiers.Builder |
newBuilder()
Creates a new
MouseModifiers builder. |
static MouseModifiers.Builder newBuilder()
MouseModifiers
builder.MouseModifiers.Builder
instancedefault boolean isPrimaryButtonDown()
true
if the primary mouse button is pressed.default boolean isMiddleButtonDown()
true
if the middle mouse button is pressed.default boolean isSecondaryButtonDown()
true
if the secondary mouse button is pressed.