public interface MoveRobot
| Modifier and Type | Method and Description |
|---|---|
default void |
moveBy(double x,
double y)
Moves the mouse directly (see:
Motion.DIRECT from the current location to the
given (x, y) location. |
void |
moveBy(double x,
double y,
Motion motion)
Moves the mouse from the current location to the given (
x, y) location. |
default void |
moveTo(PointQuery pointQuery)
Moves the mouse directly to the (x,y) position specified by the given
PointQuery.query(). |
void |
moveTo(PointQuery pointQuery,
Motion motion)
Moves the mouse to the (x,y) position specified by the given
PointQuery.query()
using the specified motion (see: Motion) and clicks whatever is under it. |
default void moveTo(PointQuery pointQuery)
PointQuery.query().pointQuery - the pointQuery to move tovoid moveTo(PointQuery pointQuery, Motion motion)
PointQuery.query()
using the specified motion (see: Motion) and clicks whatever is under it.pointQuery - the pointQuery to move tomotion - the type of motion to use for movementdefault void moveBy(double x,
double y)
Motion.DIRECT from the current location to the
given (x, y) location.x - the amount by which to directly move the mouse horizontallyy - the amount by which to directly move the mouse verticallyvoid moveBy(double x,
double y,
Motion motion)
x, y) location.
The movement is done using the given Motion.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