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 IRobot
public void releaseModifiers(int modifiers)
releaseModifiers
in interface IRobot
public void typeChar(char character, IRobot.KeyMode mode)
public void typeStarts()
typeStarts
in interface IRobot
public void mouseReset()
mouseReset
in interface IRobot
public void clickStarts()
clickStarts
in interface IRobot
public void smoothMove(Location dest)
smoothMove
in interface IRobot
public void smoothMove(Location src, Location dest, long ms)
smoothMove
in interface IRobot
public void mouseWheel(int wheelAmt)
mouseWheel
in interface IRobot
public ScreenImage captureScreen(Rectangle screenRect)
captureScreen
in interface IRobot
public void waitForIdle()
waitForIdle
in interface IRobot
public void setAutoDelay(int ms)
setAutoDelay
in interface IRobot
public Color getColorAt(int x, int y)
getColorAt
in interface IRobot