taxisrus.tests.accept_test1
Class AutoRobot
java.lang.Object
|
+--taxisrus.tests.accept_test1.AutoRobot
- public class AutoRobot
- extends Object
Robot class
Notes:
0,0 upper left hand corner of screen
x runs horizontally across screen, positive towards right
y runs vertically across screen, positive down screen
seem to be independent of screen resolution
- Author:
- dannylee of SegFaults
|
Constructor Summary |
AutoRobot(Rectangle bounds)
Default constructor, catch any exceptions that initializing a robot causes. |
|
Method Summary |
void |
doubleClick(int x,
int y)
Move mouse cursor to location x,y and single left click. |
void |
move(int x,
int y)
Move mouse cursor to location x,y. |
void |
singleClick(int x,
int y)
Move mouse cursor to location x,y and single left click. |
void |
wait(int msecs)
Wait some number of milliseconds |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoRobot
public AutoRobot(Rectangle bounds)
- Default constructor, catch any exceptions that initializing a robot causes.
singleClick
public void singleClick(int x,
int y)
- Move mouse cursor to location x,y and single left click.
doubleClick
public void doubleClick(int x,
int y)
- Move mouse cursor to location x,y and single left click.
move
public void move(int x,
int y)
- Move mouse cursor to location x,y.
wait
public void wait(int msecs)
- Wait some number of milliseconds
API documentation for build 958