- java.lang.Object
-
- org.testfx.robot.impl.MoveRobotImpl
-
-
Constructor Summary
Constructors Constructor Description MoveRobotImpl(BaseRobot baseRobot, MouseRobot mouseRobot, SleepRobot sleepRobot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmoveBy(double x, double y, Motion motion)Moves the mouse from the current location to the given (x,y) location.voidmoveTo(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:MoveRobotMoves the mouse to the (x,y) position specified by the givenPointQuery.query()using the specifiedmotion(see:Motion) and clicks whatever is under it.
-
-