-
- All Known Implementing Classes:
ClickRobotImpl
public interface ClickRobot
-
-
Method Summary
Modifier and Type Method Description void
clickOn(javafx.scene.input.MouseButton... buttons)
Clicks whatever is under the mouse.default void
clickOn(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
Moves the mouse directly to the location specified by the givenPointQuery.query()
and clicks whatever is under it.void
clickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
Moves the mouse to the location specified by the givenPointQuery.query()
using the specifiedmotion
(see:Motion
) and clicks whatever is under it.void
doubleClickOn(javafx.scene.input.MouseButton... buttons)
Double-clicks whatever is under the mouse.default void
doubleClickOn(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
Moves the mouse directly to the location specified by the givenPointQuery.query()
and double-clicks whatever is under it.void
doubleClickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
Moves the mouse to the location specified by the givenPointQuery.query()
using the specifiedmotion
(see:Motion
and double-clicks whatever is under it.
-
-
-
Method Detail
-
clickOn
void clickOn(javafx.scene.input.MouseButton... buttons)
Clicks whatever is under the mouse.- Parameters:
buttons
- the mouse buttons to click
-
clickOn
default void clickOn(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
Moves the mouse directly to the location specified by the givenPointQuery.query()
and clicks whatever is under it.- Parameters:
pointQuery
- the pointQuery that specifies the location to move the mouse tobuttons
- the mouse buttons to click
-
clickOn
void clickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
Moves the mouse to the location specified by the givenPointQuery.query()
using the specifiedmotion
(see:Motion
) and clicks whatever is under it.- Parameters:
pointQuery
- the pointQuery that specifies the location to move the mouse tomotion
- the type of motion to use for movementbuttons
- the mouse buttons to click
-
doubleClickOn
void doubleClickOn(javafx.scene.input.MouseButton... buttons)
Double-clicks whatever is under the mouse.- Parameters:
buttons
- the mouse buttons to double-click
-
doubleClickOn
default void doubleClickOn(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
Moves the mouse directly to the location specified by the givenPointQuery.query()
and double-clicks whatever is under it.- Parameters:
pointQuery
- the pointQuery that specifies the location to move the mouse tobuttons
- the mouse buttons to double-click
-
doubleClickOn
void doubleClickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
Moves the mouse to the location specified by the givenPointQuery.query()
using the specifiedmotion
(see:Motion
and double-clicks whatever is under it.- Parameters:
pointQuery
- the pointQuery that specifies the location to move the mouse tomotion
- the type of motion to use for movementbuttons
- the mouse buttons to double-click
-
-