final class LensRobot extends Robot
| Modifier and Type | Field and Description |
|---|---|
private static int |
GET_X |
private static int |
GET_Y |
private static int |
numOfInstances |
MOUSE_LEFT_BTN, MOUSE_MIDDLE_BTN, MOUSE_RIGHT_BTN| Modifier | Constructor and Description |
|---|---|
protected |
LensRobot() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_create() |
protected void |
_destroy() |
protected int |
_getMouseX() |
protected int |
_getMouseY() |
protected int |
_getPixelColor(int x,
int y) |
protected Pixels |
_getScreenCapture(int x,
int y,
int width,
int height,
boolean isHiDPI) |
private void |
_getScreenCapture(int x,
int y,
int width,
int height,
int[] data) |
protected void |
_keyPress(int code) |
protected void |
_keyRelease(int code) |
protected void |
_mouseMove(int x,
int y) |
protected void |
_mousePress(int buttons) |
protected void |
_mouseRelease(int buttons) |
protected void |
_mouseWheel(int wheelAmt) |
private int |
getMouseLocation(int axsis) |
private void |
postKeyEvent(int keyEventType,
int keyCode) |
private void |
postMouseEvent(int mouseEventType,
int x,
int y,
int buttons) |
private void |
postScrollEvent(int wheelAmt) |
destroy, getMouseX, getMouseY, getPixelColor, getScreenCapture, getScreenCapture, keyPress, keyRelease, mouseMove, mousePress, mouseRelease, mouseWheelprivate static int numOfInstances
private static final int GET_X
private static final int GET_Y
protected void _keyRelease(int code)
_keyRelease in class Robotprotected void _mouseMove(int x,
int y)
_mouseMove in class Robotprotected void _mousePress(int buttons)
_mousePress in class Robotprotected void _mouseRelease(int buttons)
_mouseRelease in class Robotprotected void _mouseWheel(int wheelAmt)
_mouseWheel in class Robotprotected int _getMouseX()
_getMouseX in class Robotprotected int _getMouseY()
_getMouseY in class Robotprivate void postScrollEvent(int wheelAmt)
private void postKeyEvent(int keyEventType,
int keyCode)
private void postMouseEvent(int mouseEventType,
int x,
int y,
int buttons)
private int getMouseLocation(int axsis)
protected int _getPixelColor(int x,
int y)
_getPixelColor in class Robotprivate void _getScreenCapture(int x,
int y,
int width,
int height,
int[] data)
protected Pixels _getScreenCapture(int x, int y, int width, int height, boolean isHiDPI)
_getScreenCapture in class Robot