public interface MoveRobot
Modifier and Type | Method and Description |
---|---|
default void |
moveBy(double x,
double y)
Moves mouse directly from current location to new location by
x on the
horizontal axis and by y on the vertical axis. |
void |
moveBy(double x,
double y,
Motion motion)
Moves mouse from current location to new location by
x using the given
motion (see: Motion on the horizontal axis and by y on
the vertical axis. |
default void |
moveTo(PointQuery pointQuery)
Moves mouse directly to
PointQuery.query() . |
void |
moveTo(PointQuery pointQuery,
Motion motion)
Moves mouse to
PointQuery.query() using the specified motion
(see: Motion ) and clicks whatever is under it. |
default void moveTo(PointQuery pointQuery)
PointQuery.query()
.pointQuery
- the pointQueryvoid moveTo(PointQuery pointQuery, Motion motion)
PointQuery.query()
using the specified motion
(see: Motion
) and clicks whatever is under it.pointQuery
- the pointQuerymotion
- the type of motion to use for movementdefault void moveBy(double x, double y)
x
on the
horizontal axis and by y
on the vertical axis.x
- the amount by which to move the mouse horizontallyy
- the amount by which to move the mouse verticallyvoid moveBy(double x, double y, Motion motion)
x
using the given
motion
(see: Motion
on the horizontal axis and by y
on
the vertical axis.x
- the amount by which to move the mouse horizontallyy
- the amount by which to move the mouse verticallymotion
- the type of motion to use for movement