public static final class MouseEntered.Builder
extends java.lang.Object
MouseEntered.
Builders are created by invoking MouseEntered.newBuilder(Point). Each of the setter methods
modifies the state of the builder and returns the same instance. Builders are not thread-safe
and should not be used concurrently from multiple threads without external synchronization.
| Modifier and Type | Method and Description |
|---|---|
MouseEntered |
build()
Returns a new
MouseEntered instance built from the current state of this
builder. |
MouseEntered.Builder |
locationOnScreen(Point locationOnScreen)
Sets the mouse position relative to the bounds of the screen.
|
public MouseEntered.Builder locationOnScreen(Point locationOnScreen)
locationOnScreen - the mouse positionpublic MouseEntered build()
MouseEntered instance built from the current state of this
builder.MouseEntered instance