IRobot.KeyMode| Constructor and Description |
|---|
RobotDesktop(Screen screen) |
| Modifier and Type | Method and Description |
|---|---|
ScreenImage |
captureScreen(Rectangle rect) |
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 |
mouseUp(int buttons) |
void |
pressModifiers(int modifiers) |
void |
releaseModifiers(int modifiers) |
void |
smoothMove(Location dest) |
void |
smoothMove(Location src,
Location dest,
long ms) |
void |
typeChar(char character,
IRobot.KeyMode mode) |
createScreenCapture, getAutoDelay, getPixelColor, isAutoWaitForIdle, keyPress, keyRelease, mouseMove, mousePress, mouseRelease, mouseWheel, setAutoDelay, setAutoWaitForIdle, toString, waitForIdleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmouseMove, mouseWheel, setAutoDelay, waitForIdlepublic RobotDesktop(Screen screen) throws AWTException
AWTExceptionpublic Screen getScreen()
IRobotpublic void smoothMove(Location dest)
smoothMove in interface IRobotpublic void smoothMove(Location src, Location dest, long ms)
smoothMove in interface IRobotpublic void delay(int ms)
public ScreenImage captureScreen(Rectangle rect)
captureScreen in interface IRobotpublic Color getColorAt(int x, int y)
getColorAt in interface IRobotpublic void pressModifiers(int modifiers)
pressModifiers in interface IRobotpublic void releaseModifiers(int modifiers)
releaseModifiers in interface IRobotpublic void typeChar(char character,
IRobot.KeyMode mode)