org.sikuli.script
Interface IRobot

All Known Implementing Classes:
DesktopRobot

public interface IRobot


Nested Class Summary
static class IRobot.KeyMode
           
 
Method Summary
 ScreenImage captureScreen(Rectangle screenRect)
           
 void delay(int ms)
           
 void dragDrop(Location start, Location end, int steps, long ms, int buttons)
           
 Object getDevice()
          Return the underlying device object (if any).
 void keyPress(int keycode)
           
 void keyRelease(int keycode)
           
 void mouseMove(int x, int y)
           
 void mousePress(int buttons)
           
 void mouseRelease(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 waitForIdle()
           
 

Method Detail

keyPress

void keyPress(int keycode)

keyRelease

void keyRelease(int keycode)

pressModifiers

void pressModifiers(int modifiers)

releaseModifiers

void releaseModifiers(int modifiers)

typeChar

void typeChar(char character,
              IRobot.KeyMode mode)

mouseMove

void mouseMove(int x,
               int y)

mousePress

void mousePress(int buttons)

mouseRelease

void mouseRelease(int buttons)

smoothMove

void smoothMove(Location dest)

smoothMove

void smoothMove(Location src,
                Location dest,
                long ms)

dragDrop

void dragDrop(Location start,
              Location end,
              int steps,
              long ms,
              int buttons)

mouseWheel

void mouseWheel(int wheelAmt)

captureScreen

ScreenImage captureScreen(Rectangle screenRect)

waitForIdle

void waitForIdle()

delay

void delay(int ms)

setAutoDelay

void setAutoDelay(int ms)

getDevice

Object getDevice()
Return the underlying device object (if any).