|
| static boolean | isAWTEDTAlive () |
| | Probes whether AWT's EDT is alive or not. More...
|
| |
| static void | validateAWTEDTIsAlive () |
| | Throws Error if isAWTEDTAlive() returns false. More...
|
| |
| static void | waitForIdle (final Robot robot) |
| | Issuing validateAWTEDTIsAlive() before calling Robot#waitForIdle(). More...
|
| |
| static void | clearAWTFocus (Robot robot) throws InterruptedException, InvocationTargetException, AWTException |
| |
| static int[] | getCenterLocation (final Object obj, final boolean onTitleBarIfWindow) throws InterruptedException, InvocationTargetException |
| |
| static int[] | getClientLocation (final Object obj, final int x, final int y) throws InterruptedException, InvocationTargetException |
| |
| static void | awtRobotMouseMove (final Robot robot, final int x, final int y) |
| |
| static boolean | toFrontAndRequestFocus (Robot robot, final java.awt.Window window) throws AWTException, InterruptedException, InvocationTargetException |
| | toFront, call setVisible(true) and toFront(), after positioning the mouse in the middle of the window via robot. More...
|
| |
| static void | centerMouse (Robot robot, final Object obj, final boolean onTitleBarIfWindow) throws AWTException, InterruptedException, InvocationTargetException |
| | centerMouse FIXME: AWTRobotUtil Cleanup: Use specific type for argument object More...
|
| |
| static void | setMouseToClientLocation (Robot robot, final Object obj, final int x, final int y) throws AWTException, InterruptedException, InvocationTargetException |
| |
| static int | getClickTimeout (final Object obj) |
| |
| static void | requestFocus (final Robot robot, final Object obj) throws AWTException, InterruptedException, InvocationTargetException |
| | FIXME: AWTRobotUtil Cleanup: Use specific type for argument object. More...
|
| |
| static void | requestFocus (final Robot robot, final Object obj, final boolean onTitleBarIfWindow) throws AWTException, InterruptedException, InvocationTargetException |
| | FIXME: AWTRobotUtil Cleanup: Use specific type for argument object. More...
|
| |
| static void | requestFocus (final Robot robot, final Object obj, final int x, final int y) throws AWTException, InterruptedException, InvocationTargetException |
| |
| static boolean | hasFocus (final Object obj) |
| |
| static boolean | waitForFocus (final java.awt.Component comp, final Runnable waitAction) throws InterruptedException |
| |
| static boolean | waitForFocus (final java.awt.Component comp, final FocusEventCountAdapter gain, final FocusEventCountAdapter lost, final Runnable waitAction) throws InterruptedException |
| |
| static void | assertRequestFocusAndWait (final Robot robot, final Object requestFocus, final Object waitForFocus, final FocusEventCountAdapter gain, final FocusEventCountAdapter lost) throws AWTException, InterruptedException, InvocationTargetException |
| |
| static int | keyType (final int i, final Robot robot, final int keyCode, final Object obj, final KeyEventCountAdapter counter) throws InterruptedException, AWTException, InvocationTargetException |
| |
| static int | keyPress (final int i, final Robot robot, final boolean press, final int keyCode, final int msDelay) |
| | No validation is performed . More...
|
| |
| static int | newtKeyPress (final int i, final Robot robot, final boolean press, final short newtKeyCode, final int msDelay) |
| | No validation is performed . More...
|
| |
| static void | assertKeyType (Robot robot, final int keyCode, final int typeCount, final Object obj, final KeyEventCountAdapter counter) throws AWTException, InterruptedException, InvocationTargetException |
| | FIXME: AWTRobotUtil Cleanup: Use specific type for argument object. More...
|
| |
| static void | assertKeyPress (Robot robot, final int keyCode, final int typeCount, final Object obj, final KeyEventCountAdapter counter) throws AWTException, InterruptedException, InvocationTargetException |
| | FIXME: AWTRobotUtil Cleanup: Use specific type for argument object. More...
|
| |
| static void | mouseMove (final Robot robot, final Point destination, final int iter, final int delay) |
| |
| static void | mouseClick (final Robot robot, final Point pos, final int moveIter, final int moveDelay, final int actionDelay) |
| |
| static void | assertMouseClick (Robot robot, final int mouseButton, final int clickCount, final Object obj, final InputEventCountAdapter counter) throws AWTException, InterruptedException, InvocationTargetException |
| | FIXME: AWTRobotUtil Cleanup: Use specific type for argument object. More...
|
| |
| static boolean | waitForVisible (final java.awt.Component comp, final boolean visible, final Runnable waitAction) throws InterruptedException |
| |
| static boolean | waitForRealized (final java.awt.Component comp, final boolean realized, final Runnable waitAction) throws InterruptedException |
| |
| static boolean | closeWindow (final java.awt.Window win, final boolean willClose, final TestUtil.WindowClosingListener closingListener, final Runnable waitAction) throws InterruptedException |
| | Programmatically issue windowClosing on AWT or NEWT. More...
|
| |
| static TestUtil.WindowClosingListener | addClosingListener (final java.awt.Window win) |
| |
| static boolean | waitForFocus (final FocusEventCountAdapter gain, final FocusEventCountAdapter lost, final Runnable waitAction) throws InterruptedException |
| |
| static boolean | waitUntilClosed (final boolean willClose, final TestUtil.WindowClosingListener closingListener, final Runnable waitAction) throws InterruptedException |
| | Wait until the window is closing within TIME_OUT. More...
|
| |
Definition at line 51 of file AWTRobotUtil.java.