public class RobotRemote extends Object implements IRobot
IRobot.KeyMode
Constructor and Description |
---|
RobotRemote() |
RobotRemote(ScreenRemote sr) |
Modifier and Type | Method and Description |
---|---|
ScreenImage |
captureScreen(Rectangle r) |
void |
cleanup() |
void |
clickEnds() |
void |
clickStarts() |
void |
delay(int ms) |
Rectangle |
getBounds() |
Rectangle |
getBounds(int screenID) |
Color |
getColorAt(int x,
int y) |
int |
getNumberScreens() |
IScreen |
getScreen()
Return the underlying device object (if any).
|
String |
getSystem() |
boolean |
isRemote() |
boolean |
isValid() |
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) |
Location |
mousePointer() |
int |
mouseUp(int buttons) |
void |
mouseWheel(int wheelAmt) |
void |
pressModifiers(int modifiers) |
void |
releaseModifiers(int modifiers) |
Object |
send(String command) |
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 RobotRemote(ScreenRemote sr)
public RobotRemote()
public boolean isValid()
public String getSystem()
public int getNumberScreens()
public Rectangle getBounds()
public Rectangle getBounds(int screenID)
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 clickStarts()
clickStarts
in interface IRobot
public Location mousePointer()
public void mouseWheel(int wheelAmt)
mouseWheel
in interface IRobot
public ScreenImage captureScreen(Rectangle r)
captureScreen
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 setAutoDelay(int ms)
setAutoDelay
in interface IRobot
public Color getColorAt(int x, int y)
getColorAt
in interface IRobot
public IScreen getScreen()
IRobot
public void waitForIdle()
waitForIdle
in interface IRobot