java.lang.Object
gnu.java.awt.peer.gtk.GdkRobotPeer
- All Implemented Interfaces:
- java.awt.peer.RobotPeer
- public class GdkRobotPeer
- extends java.lang.Object
- implements java.awt.peer.RobotPeer
Implements the RobotPeer interface using the XTest extension.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cm
static final java.awt.image.ColorModel cm
GdkRobotPeer
public GdkRobotPeer(java.awt.GraphicsDevice screen)
throws java.awt.AWTException
initXTest
boolean initXTest()
mouseMove
public void mouseMove(int x,
int y)
- Specified by:
mouseMove in interface java.awt.peer.RobotPeer
mousePress
public void mousePress(int buttons)
- Specified by:
mousePress in interface java.awt.peer.RobotPeer
mouseRelease
public void mouseRelease(int buttons)
- Specified by:
mouseRelease in interface java.awt.peer.RobotPeer
mouseWheel
public void mouseWheel(int wheelAmt)
- Specified by:
mouseWheel in interface java.awt.peer.RobotPeer
keyPress
public void keyPress(int keycode)
- Specified by:
keyPress in interface java.awt.peer.RobotPeer
keyRelease
public void keyRelease(int keycode)
- Specified by:
keyRelease in interface java.awt.peer.RobotPeer
nativeGetRGBPixels
int[] nativeGetRGBPixels(int x,
int y,
int width,
int height)
getRGBPixel
public int getRGBPixel(int x,
int y)
- Specified by:
getRGBPixel in interface java.awt.peer.RobotPeer
getRGBPixels
public int[] getRGBPixels(java.awt.Rectangle r)
- Specified by:
getRGBPixels in interface java.awt.peer.RobotPeer