| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the RGB value of the specified pixel on screenthe X screen coordinate x, int the Y screen coordinate y)Gets the RGB value of the specified pixel on screen. |
| public int[] | Returns: the RGB values of the specified screen areathe screen area to capture the RGB values from bounds)Gets the RGB values of the specified screen area as an array. |
| public void | |
| public void | |
| public void | mouseMove(int
the X location on screen x, int the Y location on screen y)Moves the mouse pointer to the specified screen location. |
| public void | |
| public void | |
| public void | |
| public default boolean | Returns: true if absolute coordinates should be used,
false otherwiseDetermines if absolute coordinates should be used by this peer. |
| getRGBPixel | back to summary |
|---|---|
| public int getRGBPixel(int x, int y) Gets the RGB value of the specified pixel on screen.
| |
| getRGBPixels | back to summary |
|---|---|
| public int[] getRGBPixels(Rectangle bounds) Gets the RGB values of the specified screen area as an array.
| |
| keyPress | back to summary |
|---|---|
| public void keyPress(int keycode) Simulates a key press of the specified key.
| |
| keyRelease | back to summary |
|---|---|
| public void keyRelease(int keycode) Simulates a key release of the specified key.
| |
| mouseMove | back to summary |
|---|---|
| public void mouseMove(int x, int y) Moves the mouse pointer to the specified screen location.
| |
| mousePress | back to summary |
|---|---|
| public void mousePress(int buttons) Simulates a mouse press with the specified button(s).
| |
| mouseRelease | back to summary |
|---|---|
| public void mouseRelease(int buttons) Simulates a mouse release with the specified button(s).
| |
| mouseWheel | back to summary |
|---|---|
| public void mouseWheel(int wheelAmt) Simulates mouse wheel action.
| |
| useAbsoluteCoordinates | back to summary |
|---|---|
| public default boolean useAbsoluteCoordinates() Determines if absolute coordinates should be used by this peer.
| |