java.awt.peer
Interface RobotPeer


public interface RobotPeer

RobotPeer defines an interface whereby toolkits support automated testing by allowing native input events to be generated from Java code. This interface should not be directly imported by code outside the java.awt.* hierarchy; it is not to be considered public and is subject to change.


Method Summary
 void dispose()
           
 int getRGBPixel(int x, int y)
           
 int[] getRGBPixels(java.awt.Rectangle bounds)
           
 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)
           
 

Method Detail

mouseMove

void mouseMove(int x,
               int y)

mousePress

void mousePress(int buttons)

mouseRelease

void mouseRelease(int buttons)

mouseWheel

void mouseWheel(int wheelAmt)

keyPress

void keyPress(int keycode)

keyRelease

void keyRelease(int keycode)

getRGBPixel

int getRGBPixel(int x,
                int y)

getRGBPixels

int[] getRGBPixels(java.awt.Rectangle bounds)

dispose

void dispose()