public class ClickRobotImpl extends java.lang.Object implements ClickRobot
| Constructor and Description |
|---|
ClickRobotImpl(MouseRobot mouseRobot,
MoveRobot moveRobot,
SleepRobot sleepRobot) |
| Modifier and Type | Method and Description |
|---|---|
void |
clickOn(javafx.scene.input.MouseButton... buttons)
Clicks whatever is under the mouse.
|
void |
clickOn(PointQuery pointQuery,
Motion motion,
javafx.scene.input.MouseButton... buttons)
Moves the mouse to the location specified by the given
PointQuery.query() using
the specified motion (see: Motion) and clicks whatever is under it. |
void |
doubleClickOn(javafx.scene.input.MouseButton... buttons)
Double-clicks whatever is under the mouse.
|
void |
doubleClickOn(PointQuery pointQuery,
Motion motion,
javafx.scene.input.MouseButton... buttons)
Moves the mouse to the location specified by the given
PointQuery.query() using
the specified motion (see: Motion and double-clicks whatever is under it. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclickOn, doubleClickOnpublic ClickRobotImpl(MouseRobot mouseRobot, MoveRobot moveRobot, SleepRobot sleepRobot)
public void clickOn(javafx.scene.input.MouseButton... buttons)
ClickRobotclickOn in interface ClickRobotbuttons - the mouse buttons to clickpublic void clickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
ClickRobotPointQuery.query() using
the specified motion (see: Motion) and clicks whatever is under it.clickOn in interface ClickRobotpointQuery - the pointQuery that specifies the location to move the mouse tomotion - the type of motion to use for movementbuttons - the mouse buttons to clickpublic void doubleClickOn(javafx.scene.input.MouseButton... buttons)
ClickRobotdoubleClickOn in interface ClickRobotbuttons - the mouse buttons to double-clickpublic void doubleClickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
ClickRobotPointQuery.query() using
the specified motion (see: Motion and double-clicks whatever is under it.doubleClickOn in interface ClickRobotpointQuery - 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