IRobot.KeyMode| Modifier and Type | Field and Description |
|---|---|
static int |
stdAutoDelay |
static int |
stdDelay |
static int |
stdMaxElapsed |
| Constructor and Description |
|---|
RobotDesktop() |
RobotDesktop(Screen screen) |
| Modifier and Type | Method and Description |
|---|---|
ScreenImage |
captureScreen(Rectangle rect) |
void |
cleanup() |
void |
clickEnds() |
void |
clickStarts() |
void |
delay(int ms) |
Color |
getColorAt(int x,
int y) |
Screen |
getScreen()
Return the underlying device object (if any).
|
boolean |
isRemote() |
void |
keyDown(int code) |
void |
keyDown(String keys) |
void |
keyUp() |
void |
keyUp(int code) |
void |
keyUp(String keys) |
void |
mouseDown(int buttons) |
void |
mouseReset() |
int |
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) |
void |
typeEnds() |
void |
typeKey(int key) |
void |
typeStarts() |
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 static int stdAutoDelay
public static int stdDelay
public static int stdMaxElapsed
public RobotDesktop(Screen screen) throws AWTException
AWTExceptionpublic RobotDesktop()
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 mouseReset()
mouseReset in interface IRobotpublic void clickStarts()
clickStarts 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)
public void typeStarts()
typeStarts in interface IRobotCopyright © 2017. All rights reserved.