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, waitForIdle
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
mouseMove, mouseWheel, setAutoDelay, waitForIdle
public static int stdAutoDelay
public static int stdDelay
public static int stdMaxElapsed
public RobotDesktop(Screen screen) throws AWTException
AWTException
public RobotDesktop() throws AWTException
AWTException
public Screen getScreen()
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 mouseReset()
mouseReset
in interface IRobot
public void clickStarts()
clickStarts
in interface IRobot
public void delay(int ms)
public ScreenImage captureScreen(Rectangle rect)
captureScreen
in interface IRobot
public Color getColorAt(int x, int y)
getColorAt
in interface IRobot
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
Copyright © 2017. All rights reserved.