public interface ClickRobot
Modifier and Type | Method and Description |
---|---|
void |
clickOn(MouseButton... buttons)
Clicks whatever is under the mouse.
|
void |
clickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons)
Moves mouse to
PointQuery.query() using the specified motion
(see: Motion ) and clicks whatever is under it. |
default void |
clickOn(PointQuery pointQuery,
MouseButton... buttons)
Moves mouse directly to
PointQuery.query() and clicks whatever is under it. |
void |
doubleClickOn(MouseButton... buttons)
Double-clicks whatever is under the mouse.
|
void |
doubleClickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons)
Moves mouse to
PointQuery.query() using the specified motion
(see: Motion and double-clicks whatever is under it. |
default void |
doubleClickOn(PointQuery pointQuery,
MouseButton... buttons)
Moves mouse directly to
PointQuery.query() and double-clicks whatever
is under it. |
void clickOn(MouseButton... buttons)
buttons
- the mouse buttons to clickdefault void clickOn(PointQuery pointQuery, MouseButton... buttons)
PointQuery.query()
and clicks whatever is under it.pointQuery
- the pointQuerybuttons
- the mouse buttons to clickvoid clickOn(PointQuery pointQuery, Motion motion, MouseButton... buttons)
PointQuery.query()
using the specified motion
(see: Motion
) and clicks whatever is under it.pointQuery
- the pointQuerymotion
- the type of motion to use for movementbuttons
- the mouse buttons to clickvoid doubleClickOn(MouseButton... buttons)
buttons
- the mouse buttons to clickdefault void doubleClickOn(PointQuery pointQuery, MouseButton... buttons)
PointQuery.query()
and double-clicks whatever
is under it.pointQuery
- the pointQuerybuttons
- the mouse buttons to clickvoid doubleClickOn(PointQuery pointQuery, Motion motion, MouseButton... buttons)
PointQuery.query()
using the specified motion
(see: Motion
and double-clicks whatever is under it.pointQuery
- the pointQuerymotion
- the type of motion to use for movementbuttons
- the mouse buttons to click