public class RobotsMouse
extends java.lang.Object
| Constructor and Description |
|---|
RobotsMouse(Mouse mouse)
Wraps driver's mouse to use simplified RPA methods on it
|
| Modifier and Type | Method and Description |
|---|---|
void |
click(Coordinates where)
Driver Type: Desktop, Web
|
void |
click(Coordinates coordinates,
int clicks)
Driver Type: Desktop
|
RobotsMouse |
click(int clicks,
int x,
int y)
Clicks n-times on the point specified by coordinates.
|
void |
contextClick(Coordinates where)
Driver Type: Desktop, Web
|
RobotsMouse |
contextClick(int x,
int y)
Emulates the mouse right-click on the point specified by coordinates.
|
void |
doubleClick(Coordinates where)
Driver Type: Desktop, Web
|
RobotsMouse |
doubleClick(int x,
int y)
Double clicks on the point specified by coordinates.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
void |
mouseDown(Coordinates where)
Driver Type: Desktop, Web
|
RobotsMouse |
mouseDown(int x,
int y)
Emulates the mouse down action (without mouse up) on the point specified by coordinates.
|
void |
mouseMove(Coordinates where)
Driver Type: Desktop, Web
|
void |
mouseMove(Coordinates where,
long xOffset,
long yOffset)
Driver Type: Desktop, Web
|
RobotsMouse |
mouseMove(int x,
int y)
Emulates the mouse move to the point specified by coordinates.
|
RobotsMouse |
mouseMove(int x,
int y,
int xOffset,
int yOffset)
Emulates the mouse move to the point specified by coordinates.
|
void |
mouseUp(Coordinates where)
Driver Type: Desktop, Web
|
RobotsMouse |
mouseUp(int x,
int y)
Emulates the mouse up action on the point specified by coordinates.
|
void |
tripleClick(Coordinates where)
Driver Type: Desktop
|
RobotsMouse |
tripleClick(int x,
int y)
Triple clicks on the point specified by coordinates.
|
void |
wheelClick(Coordinates where)
Driver Type: Desktop
|
RobotsMouse |
wheelClick(int x,
int y)
Clicks wheel on the point specified by coordinates.
|
void |
wheelDown(int times)
Driver Type: Desktop
|
void |
wheelUp(int times)
Driver Type: Desktop
|
public RobotsMouse(Mouse mouse)
mouse - driver's Mouse objectpublic void click(Coordinates where)
Driver Type: Desktop, Web
Mouse#click(Coordinates)public void click(Coordinates coordinates,
int clicks)
Driver Type: Desktop
Mouse#click(Coordinates, int)public void doubleClick(Coordinates where)
Driver Type: Desktop, Web
Mouse#doubleClick(Coordinates)public void tripleClick(Coordinates where)
Driver Type: Desktop
Mouse#tripleClick(Coordinates)public void mouseDown(Coordinates where)
Driver Type: Desktop, Web
Mouse#mouseDown(Coordinates)public void mouseUp(Coordinates where)
Driver Type: Desktop, Web
Mouse#mouseUp(Coordinates)public void mouseMove(Coordinates where)
Driver Type: Desktop, Web
Mouse#mouseMove(Coordinates)public void mouseMove(Coordinates where,
long xOffset,
long yOffset)
Driver Type: Desktop, Web
Mouse#mouseMove(Coordinates, long, long)public void contextClick(Coordinates where)
Driver Type: Desktop, Web
Mouse#contextClick(Coordinates)public void wheelClick(Coordinates where)
Driver Type: Desktop
Mouse#wheelClick(Coordinates)public void wheelUp(int times)
Driver Type: Desktop
Mouse#wheelUp(int)public void wheelDown(int times)
Driver Type: Desktop
Mouse#wheelDown(int)public RobotsMouse click(int clicks, int x, int y)
Driver Type: Desktop
clicks - number of clicksx - click coordinatey - click coordinatepublic RobotsMouse doubleClick(int x, int y)
Driver Type: Desktop, Web
x - click coordinatey - click coordinatepublic RobotsMouse tripleClick(int x, int y)
Driver Type: Desktop
x - click coordinatey - click coordinatepublic RobotsMouse wheelClick(int x, int y)
Driver Type: Desktop
x - click coordinatey - click coordinatepublic RobotsMouse mouseDown(int x, int y)
Driver Type: Desktop, Web
x - click coordinatey - click coordinatepublic RobotsMouse mouseUp(int x, int y)
Driver Type: Desktop, Web
x - click coordinatey - click coordinatepublic RobotsMouse mouseMove(int x, int y)
Driver Type: Desktop, Web
x - click coordinatey - click coordinatepublic RobotsMouse mouseMove(int x, int y, int xOffset, int yOffset)
Driver Type: Desktop, Web
x - click coordinatey - click coordinatexOffset - offset by x axisyOffset - offset by y axispublic RobotsMouse contextClick(int x, int y)
Driver Type: Desktop, Web
x - click coordinatey - click coordinatepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2024 WorkFusion, Inc. All rights reserved.