public class RobotRemote extends Object implements IRobot
IRobot.KeyMode| Constructor and Description |
|---|
RobotRemote() |
RobotRemote(ScreenRemote sr) |
| Modifier and Type | Method and Description |
|---|---|
ScreenImage |
captureScreen(Rectangle r) |
void |
cleanup() |
void |
clickEnds() |
void |
clickStarts() |
void |
delay(int ms) |
Rectangle |
getBounds() |
Rectangle |
getBounds(int screenID) |
Color |
getColorAt(int x,
int y) |
int |
getNumberScreens() |
IScreen |
getScreen()
Return the underlying device object (if any).
|
String |
getSystem() |
boolean |
isRemote() |
boolean |
isValid() |
void |
keyDown(int code) |
void |
keyDown(String keys) |
void |
keyUp() |
void |
keyUp(int code) |
void |
keyUp(String keys) |
void |
mouseDown(int buttons) |
void |
mouseMove(int x,
int y) |
Location |
mousePointer() |
int |
mouseUp(int buttons) |
void |
mouseWheel(int wheelAmt) |
void |
pressModifiers(int modifiers) |
void |
releaseModifiers(int modifiers) |
Object |
send(String command) |
void |
setAutoDelay(int ms) |
void |
smoothMove(Location dest) |
void |
smoothMove(Location src,
Location dest,
long ms) |
void |
typeChar(char character,
IRobot.KeyMode mode) |
void |
typeEnds() |
void |
typeKey(int key) |
void |
typeStarts() |
void |
waitForIdle() |
public RobotRemote(ScreenRemote sr)
public RobotRemote()
public boolean isValid()
public String getSystem()
public int getNumberScreens()
public Rectangle getBounds()
public Rectangle getBounds(int screenID)
public void pressModifiers(int modifiers)
pressModifiers in interface IRobotpublic void releaseModifiers(int modifiers)
releaseModifiers in interface IRobotpublic void typeChar(char character,
IRobot.KeyMode mode)
public void typeStarts()
typeStarts in interface IRobotpublic void clickStarts()
clickStarts in interface IRobotpublic Location mousePointer()
public void mouseWheel(int wheelAmt)
mouseWheel in interface IRobotpublic ScreenImage captureScreen(Rectangle r)
captureScreen in interface IRobotpublic void smoothMove(Location dest)
smoothMove in interface IRobotpublic void smoothMove(Location src, Location dest, long ms)
smoothMove in interface IRobotpublic void setAutoDelay(int ms)
setAutoDelay in interface IRobotpublic Color getColorAt(int x, int y)
getColorAt in interface IRobotpublic IScreen getScreen()
IRobotpublic void waitForIdle()
waitForIdle in interface IRobot