| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private HeadlessWindow | |
| private final HeadlessApplication | |
| private final HeadlessRobot. | |
| private double | |
| private double | |
| pack-priv final int | |
| pack-priv final int | |
| private final char[] | |
| private final HeadlessRobot. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private 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 |
| private HeadlessWindow | |
| pack-priv int | |
| pack-priv int | |
| private char[] | |
| private int | |
| pack-priv int | |
| 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 WritableImage | getScreenCapture(WritableImage image, double x, double y, double width, double height, boolean scaleToFit)
Overrides com. Returns an |
| 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
|
| private HeadlessWindow | |
| private HeadlessWindow | |
| public void | keyPress(KeyCode keyCode)
Implements abstract com. Presses the specified |
| public void | keyRelease(KeyCode keyCode)
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. |
| private void | |
| pack-priv void | |
| pack-priv void |
| activeWindow | back to summary |
|---|---|
| private HeadlessWindow activeWindow | |
| application | back to summary |
|---|---|
| private final HeadlessApplication application | |
| mouseState | back to summary |
|---|---|
| private final HeadlessRobot. | |
| mouseX | back to summary |
|---|---|
| private double mouseX | |
| mouseY | back to summary |
|---|---|
| private double mouseY | |
| multiplierX | back to summary |
|---|---|
| pack-priv final int multiplierX | |
| multiplierY | back to summary |
|---|---|
| pack-priv final int multiplierY | |
| NO_CHAR | back to summary |
|---|---|
| private final char[] NO_CHAR | |
| specialKeys | back to summary |
|---|---|
| private final HeadlessRobot. | |
| HeadlessRobot | back to summary |
|---|---|
| public HeadlessRobot(HeadlessApplication application) | |
| checkActiveWindowExists | back to summary |
|---|---|
| private void checkActiveWindowExists() | |
| checkWindowEnterExit | back to summary |
|---|---|
| private void checkWindowEnterExit() | |
| checkWindowFocused | back to summary |
|---|---|
| private void checkWindowFocused() | |
| 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
| |
| getFocusedWindow | back to summary |
|---|---|
| private HeadlessWindow getFocusedWindow() | |
| getGlassEventButton | back to summary |
|---|---|
| pack-priv int getGlassEventButton(MouseButton[] buttons) | |
| getGlassEventButton | back to summary |
|---|---|
| pack-priv int getGlassEventButton(MouseButton button) | |
| getKeyChars | back to summary |
|---|---|
| private char[] getKeyChars(int key) | |
| getKeyModifiers | back to summary |
|---|---|
| private int getKeyModifiers() | |
| getModifiers | back to summary |
|---|---|
| pack-priv int getModifiers(MouseButton... buttons) | |
| 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 WritableImage getScreenCapture(WritableImage image, double x, double y, double width, double height, boolean scaleToFit) Overrides com. Doc from com. Returns an
If the
If
| |
| 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
| |
| getTargetWindow | back to summary |
|---|---|
| private HeadlessWindow getTargetWindow(double x, double y) | |
| getTopWindow | back to summary |
|---|---|
| private HeadlessWindow getTopWindow() | |
| keyPress | back to summary |
|---|---|
| public void keyPress(KeyCode keyCode) Implements abstract com. Doc from com. Presses the specified
| |
| keyRelease | back to summary |
|---|---|
| public void keyRelease(KeyCode keyCode) 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
| |
| processSpecialKeys | back to summary |
|---|---|
| private void processSpecialKeys(int c, boolean on) | |
| windowAdded | back to summary |
|---|---|
| pack-priv void windowAdded(HeadlessWindow window) | |
| windowRemoved | back to summary |
|---|---|
| pack-priv void windowRemoved(HeadlessWindow window) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final HashSet |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| pressedButtons | back to summary |
|---|---|
| pack-priv final HashSet<MouseButton> pressedButtons | |
| MouseState | back to summary |
|---|---|
| pack-priv MouseState() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| capsLock | back to summary |
|---|---|
| pack-priv boolean capsLock | |
| keyAlt | back to summary |
|---|---|
| pack-priv boolean keyAlt | |
| keyCommand | back to summary |
|---|---|
| pack-priv boolean keyCommand | |
| keyControl | back to summary |
|---|---|
| pack-priv boolean keyControl | |
| keyShift | back to summary |
|---|---|
| pack-priv boolean keyShift | |
| numLock | back to summary |
|---|---|
| pack-priv boolean numLock | |
| SpecialKeys | back to summary |
|---|---|
| pack-priv SpecialKeys() | |