public interface IRobot
Modifier and Type | Interface and Description |
---|---|
static class |
IRobot.KeyMode |
Modifier and Type | Method and Description |
---|---|
ScreenImage |
captureScreen(java.awt.Rectangle screenRect) |
void |
delay(int ms) |
void |
dragDrop(Location start,
Location end,
int steps,
long ms,
int buttons) |
java.lang.Object |
getDevice()
Return the underlying device object (if any).
|
void |
keyPress(int keycode) |
void |
keyRelease(int keycode) |
void |
mouseMove(int x,
int y) |
void |
mousePress(int buttons) |
void |
mouseRelease(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 keyPress(int keycode)
void keyRelease(int keycode)
void pressModifiers(int modifiers)
void releaseModifiers(int modifiers)
void typeChar(char character, IRobot.KeyMode mode)
void mouseMove(int x, int y)
void mousePress(int buttons)
void mouseRelease(int buttons)
void smoothMove(Location dest)
void mouseWheel(int wheelAmt)
ScreenImage captureScreen(java.awt.Rectangle screenRect)
void waitForIdle()
void delay(int ms)
void setAutoDelay(int ms)
java.lang.Object getDevice()