Package org.sikuli.script.support
Interface IRobot
-
- All Known Implementing Classes:
ADBRobot,RobotDesktop
public interface IRobotINTERNAL USE
function template for (alternative) Robot implementations
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIRobot.KeyMode
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScreenImagecaptureScreen(Rectangle screenRect)voidcleanup()voidclickEnds()voidclickStarts()voiddelay(int ms)ColorgetColorAt(int x, int y)IScreengetScreen()Return the underlying device object (if any).booleanisRemote()voidkeyDown(int code)voidkeyDown(String keys)voidkeyUp()voidkeyUp(int code)voidkeyUp(String keys)voidmouseDown(int buttons)voidmouseMove(int x, int y)voidmouseReset()intmouseUp(int buttons)voidmouseWheel(int wheelAmt)voidpressModifiers(int modifiers)voidreleaseModifiers(int modifiers)voidsetAutoDelay(int ms)voidsmoothMove(Location dest)voidsmoothMove(Location src, Location dest, long ms)voidtypeChar(char character, IRobot.KeyMode mode)voidtypeEnds()voidtypeKey(int key)voidtypeStarts()voidwaitForIdle()
-
-
-
Method Detail
-
keyDown
void keyDown(String keys)
-
keyUp
void keyUp(String keys)
-
keyDown
void keyDown(int code)
-
keyUp
void keyUp(int code)
-
keyUp
void keyUp()
-
pressModifiers
void pressModifiers(int modifiers)
-
releaseModifiers
void releaseModifiers(int modifiers)
-
typeChar
void typeChar(char character, IRobot.KeyMode mode)
-
typeKey
void typeKey(int key)
-
typeStarts
void typeStarts()
-
typeEnds
void typeEnds()
-
mouseMove
void mouseMove(int x, int y)
-
mouseDown
void mouseDown(int buttons)
-
mouseUp
int mouseUp(int buttons)
-
mouseReset
void mouseReset()
-
clickStarts
void clickStarts()
-
clickEnds
void clickEnds()
-
smoothMove
void smoothMove(Location dest)
-
mouseWheel
void mouseWheel(int wheelAmt)
-
captureScreen
ScreenImage captureScreen(Rectangle screenRect)
-
waitForIdle
void waitForIdle()
-
delay
void delay(int ms)
-
setAutoDelay
void setAutoDelay(int ms)
-
getColorAt
Color getColorAt(int x, int y)
-
cleanup
void cleanup()
-
isRemote
boolean isRemote()
-
getScreen
IScreen getScreen()
Return the underlying device object (if any).
-
-