Interface ClickRobot
- All Known Implementing Classes:
ClickRobotImpl
public interface ClickRobot
-
Method Summary
Modifier and TypeMethodDescriptionvoidclickOn(javafx.scene.input.MouseButton... buttons) Clicks whatever is under the mouse.default voidclickOn(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.voidclickOn(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.voiddoubleClickOn(javafx.scene.input.MouseButton... buttons) Double-clicks whatever is under the mouse.default voiddoubleClickOn(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.voiddoubleClickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons) Moves the mouse to the location specified by the givenPointQuery.query()using the specifiedmotion(see:Motionand double-clicks whatever is under it.
-
Method Details
-
clickOn
void clickOn(javafx.scene.input.MouseButton... buttons) Clicks whatever is under the mouse.- Parameters:
buttons- the mouse buttons to click
-
clickOn
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
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
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
Moves the mouse to the location specified by the givenPointQuery.query()using the specifiedmotion(see:Motionand 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
-