- java.lang.Object
-
- org.testfx.robot.impl.MoveRobotImpl
-
-
Constructor Summary
Constructors Constructor Description MoveRobotImpl(BaseRobot baseRobot, MouseRobot mouseRobot, SleepRobot sleepRobot)
-
Method Summary
Modifier and Type Method Description void
moveBy(double x, double y, Motion motion)
Moves the mouse from the current location to the given (x
,y
) location.void
moveTo(PointQuery pointQuery, Motion motion)
Moves the mouse to the (x,y) position specified by the givenPointQuery.query()
using the specifiedmotion
(see:Motion
) and clicks whatever is under it.
-
-
-
Constructor Detail
-
MoveRobotImpl
public MoveRobotImpl(BaseRobot baseRobot, MouseRobot mouseRobot, SleepRobot sleepRobot)
-
-
Method Detail
-
moveTo
public void moveTo(PointQuery pointQuery, Motion motion)
Description copied from interface:MoveRobot
Moves the mouse to the (x,y) position specified by the givenPointQuery.query()
using the specifiedmotion
(see:Motion
) and clicks whatever is under it.
-
-