IRobot.KeyMode| Constructor and Description |
|---|
FakeRobot() |
| Modifier and Type | Method and Description |
|---|---|
ScreenImage |
captureScreen(Rectangle screenRect) |
void |
cleanup() |
void |
clickEnds() |
void |
clickStarts() |
void |
delay(int ms) |
Color |
getColorAt(int x,
int y) |
static IRobot |
getDesktopRobot() |
IScreen |
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 |
mouseMove(int x,
int y) |
void |
mouseReset() |
int |
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 |
typeEnds() |
void |
typeKey(int key) |
void |
typeStarts() |
void |
waitForIdle() |
public static IRobot getDesktopRobot()
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 mouseReset()
mouseReset in interface IRobotpublic void clickStarts()
clickStarts in interface IRobotpublic void smoothMove(Location dest)
smoothMove in interface IRobotpublic void smoothMove(Location src, Location dest, long ms)
smoothMove in interface IRobotpublic void mouseWheel(int wheelAmt)
mouseWheel in interface IRobotpublic ScreenImage captureScreen(Rectangle screenRect)
captureScreen in interface IRobotpublic void waitForIdle()
waitForIdle in interface IRobotpublic void setAutoDelay(int ms)
setAutoDelay in interface IRobotpublic Color getColorAt(int x, int y)
getColorAt in interface IRobotCopyright © 2017. All rights reserved.