Class CTCRobotPeer
- java.lang.Object
-
- com.github.caciocavallosilano.cacio.ctc.CTCRobotPeer
-
- All Implemented Interfaces:
java.awt.peer.RobotPeer
public class CTCRobotPeer extends Object implements java.awt.peer.RobotPeer
-
-
Constructor Summary
Constructors Constructor Description CTCRobotPeer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()intgetRGBPixel(int x, int y)int[]getRGBPixels(Rectangle bounds)voidkeyPress(int keycode)voidkeyRelease(int keycode)voidmouseMove(int x, int y)voidmousePress(int buttons)voidmouseRelease(int buttons)voidmouseWheel(int wheelAmt)
-
-
-
Method Detail
-
mouseMove
public void mouseMove(int x, int y)- Specified by:
mouseMovein interfacejava.awt.peer.RobotPeer
-
mousePress
public void mousePress(int buttons)
- Specified by:
mousePressin interfacejava.awt.peer.RobotPeer
-
mouseRelease
public void mouseRelease(int buttons)
- Specified by:
mouseReleasein interfacejava.awt.peer.RobotPeer
-
mouseWheel
public void mouseWheel(int wheelAmt)
- Specified by:
mouseWheelin interfacejava.awt.peer.RobotPeer
-
keyPress
public void keyPress(int keycode)
- Specified by:
keyPressin interfacejava.awt.peer.RobotPeer
-
keyRelease
public void keyRelease(int keycode)
- Specified by:
keyReleasein interfacejava.awt.peer.RobotPeer
-
getRGBPixel
public int getRGBPixel(int x, int y)- Specified by:
getRGBPixelin interfacejava.awt.peer.RobotPeer
-
getRGBPixels
public int[] getRGBPixels(Rectangle bounds)
- Specified by:
getRGBPixelsin interfacejava.awt.peer.RobotPeer
-
dispose
public void dispose()
- Specified by:
disposein interfacejava.awt.peer.RobotPeer
-
-