1 7 8 package java.awt.peer; 9 10 import java.awt.*; 11 12 23 public interface RobotPeer 24 { 25 public void mouseMove(int x, int y); 26 public void mousePress(int buttons); 27 public void mouseRelease(int buttons); 28 29 public void mouseWheel(int wheelAmt); 30 31 public void keyPress(int keycode); 32 public void keyRelease(int keycode); 33 34 public int getRGBPixel(int x, int y); 35 public int [] getRGBPixels(Rectangle bounds); 36 } 37 | Popular Tags |