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
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)