public interface IRobot
Modifier and Type | Interface and Description |
---|---|
static class |
IRobot.KeyMode |
Modifier and Type | Method and Description |
---|---|
ScreenImage |
captureScreen(Rectangle screenRect) |
void |
cleanup() |
void |
delay(int ms) |
Color |
getColorAt(int x,
int y) |
Screen |
getScreen()
Return the underlying device object (if any).
|
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) |
void |
mouseUp(int buttons) |
void |
mouseWheel(int wheelAmt) |
void |
pressModifiers(int modifiers) |
void |
releaseModifiers(int modifiers) |
void |
setAutoDelay(int ms) |
void |
smoothMove(Location dest) |
void |
smoothMove(Location src,
Location dest,
long ms) |
void |
typeChar(char character,
IRobot.KeyMode mode) |
void |
waitForIdle() |
void keyDown(String keys)
void keyUp(String keys)
void keyDown(int code)
void keyUp(int code)
void keyUp()
void pressModifiers(int modifiers)
void releaseModifiers(int modifiers)
void typeChar(char character, IRobot.KeyMode mode)
void mouseMove(int x, int y)
void mouseDown(int buttons)
void mouseUp(int buttons)
void smoothMove(Location dest)
void mouseWheel(int wheelAmt)
ScreenImage captureScreen(Rectangle screenRect)
void waitForIdle()
void delay(int ms)
void setAutoDelay(int ms)
Color getColorAt(int x, int y)
void cleanup()
Screen getScreen()