| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected native float | |
| protected native float | |
| protected native int | |
| protected native void | |
| protected native void | |
| protected native void | |
| protected native void | |
| protected native void | |
| protected native void | |
| protected native void | |
| public void | create()
Implements abstract com. Initializes any state necessary for this |
| public void | destroy()
Implements abstract com. Frees any resources allocated by this |
| public double | getMouseX()
Implements abstract com. Returns the current mouse x-position. |
| public double | getMouseY()
Implements abstract com. Returns the current mouse y-position. |
| public Color | getPixelColor(double x, double y)
Implements abstract com. Returns the |
| public void | getScreenCapture(int x, int y, int width, int height, int[] data, boolean scaleToFit)
Overrides com. Captures the specified rectangular area of the screen and uses it to fill the given
|
| public void | keyPress(KeyCode code)
Implements abstract com. Presses the specified |
| public void | keyRelease(KeyCode code)
Implements abstract com. Releases the specified |
| public void | mouseMove(double x, double y)
Implements abstract com. Moves the mouse to the specified (x,y) screen coordinates relative to the primary screen. |
| public void | mousePress(MouseButton... buttons)
Implements abstract com. Presses the specified |
| public void | mouseRelease(MouseButton... buttons)
Implements abstract com. Releases the specified |
| public void | mouseWheel(int wheelAmt)
Implements abstract com. Scrolls the mouse wheel by the specified amount of wheel clicks. |
| WinRobot | back to summary |
|---|---|
| pack-priv WinRobot() | |
| _getMouseX | back to summary |
|---|---|
| protected native float _getMouseX() | |
| _getMouseY | back to summary |
|---|---|
| protected native float _getMouseY() | |
| _getPixelColor | back to summary |
|---|---|
| protected native int _getPixelColor(int x, int y) | |
| _getScreenCapture | back to summary |
|---|---|
| protected native void _getScreenCapture(int x, int y, int width, int height, int[] data) | |
| _keyPress | back to summary |
|---|---|
| protected native void _keyPress(int code) | |
| _keyRelease | back to summary |
|---|---|
| protected native void _keyRelease(int code) | |
| _mouseMove | back to summary |
|---|---|
| protected native void _mouseMove(int x, int y) | |
| _mousePress | back to summary |
|---|---|
| protected native void _mousePress(int buttons) | |
| _mouseRelease | back to summary |
|---|---|
| protected native void _mouseRelease(int buttons) | |
| _mouseWheel | back to summary |
|---|---|
| protected native void _mouseWheel(int wheelAmt) | |
| create | back to summary |
|---|---|
| public void create() Implements abstract com. Doc from com. Initializes any state necessary for this
| |
| destroy | back to summary |
|---|---|
| public void destroy() Implements abstract com. Doc from com. Frees any resources allocated by this
| |
| getMouseX | back to summary |
|---|---|
| public double getMouseX() Implements abstract com. Doc from com. Returns the current mouse x-position.
| |
| getMouseY | back to summary |
|---|---|
| public double getMouseY() Implements abstract com. Doc from com. Returns the current mouse y-position.
| |
| getPixelColor | back to summary |
|---|---|
| public Color getPixelColor(double x, double y) Implements abstract com. Doc from com. Returns the
| |
| getScreenCapture | back to summary |
|---|---|
| public void getScreenCapture(int x, int y, int width, int height, int[] data, boolean scaleToFit) Overrides com. Doc from com. Captures the specified rectangular area of the screen and uses it to fill the given
| |
| keyPress | back to summary |
|---|---|
| public void keyPress(KeyCode code) Implements abstract com. Doc from com. Presses the specified
| |
| keyRelease | back to summary |
|---|---|
| public void keyRelease(KeyCode code) Implements abstract com. Doc from com. Releases the specified
| |
| mouseMove | back to summary |
|---|---|
| public void mouseMove(double x, double y) Implements abstract com. Doc from com. Moves the mouse to the specified (x,y) screen coordinates relative to the primary screen.
| |
| mousePress | back to summary |
|---|---|
| public void mousePress(MouseButton... buttons) Implements abstract com. Doc from com. Presses the specified
| |
| mouseRelease | back to summary |
|---|---|
| public void mouseRelease(MouseButton... buttons) Implements abstract com. Doc from com. Releases the specified
| |
| mouseWheel | back to summary |
|---|---|
| public void mouseWheel(int wheelAmt) Implements abstract com. Doc from com. Scrolls the mouse wheel by the specified amount of wheel clicks. A positive
| |