public interface

RobotPeer

java.awt.peer.RobotPeer

Class Overview

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.

Summary

Public Methods
abstract void dispose()
abstract int getRGBPixel(int x, int y)
abstract int[] getRGBPixels(Rectangle bounds)
abstract void keyPress(int keycode)
abstract void keyRelease(int keycode)
abstract void mouseMove(int x, int y)
abstract void mousePress(int buttons)
abstract void mouseRelease(int buttons)
abstract void mouseWheel(int wheelAmt)

Public Methods

public abstract void dispose ()

public abstract int getRGBPixel (int x, int y)

public abstract int[] getRGBPixels (Rectangle bounds)

public abstract void keyPress (int keycode)

public abstract void keyRelease (int keycode)

public abstract void mouseMove (int x, int y)

public abstract void mousePress (int buttons)

public abstract void mouseRelease (int buttons)

public abstract void mouseWheel (int wheelAmt)