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.

Author:
Robi Khan

Method Summary
 int getRGBPixel(int x, int y)
           
 int[] getRGBPixels(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

public void mouseMove(int x,
                      int y)

mousePress

public void mousePress(int buttons)

mouseRelease

public void mouseRelease(int buttons)

mouseWheel

public void mouseWheel(int wheelAmt)

keyPress

public void keyPress(int keycode)

keyRelease

public void keyRelease(int keycode)

getRGBPixel

public int getRGBPixel(int x,
                       int y)

getRGBPixels

public int[] getRGBPixels(Rectangle bounds)