public class GuiRobot
extends abbot.tester.Robot
Modifier and Type | Class and Description |
---|---|
static class |
GuiRobot.ModiferKey |
Modifier and Type | Field and Description |
---|---|
private AppLog |
_log |
private GuiAppManager |
_owner |
int |
GuiWaitTime |
componentDelay, defaultDelay, DRAG_DELAY, EM_AWT, EM_ROBOT, IDLE_TIMEOUT, MOUSELESS_MODIFIER, MOUSELESS_MODIFIER_MASK, popupDelay, popupJitterDelay, REALSYNC_IDLE_TIMEOUT, REALSYNC_IDLE_TIMEOUT_DEFAULT
BUTTON_MASK, COPY_MASK, DRAG_THRESHOLD, LINK_MASK, MENU_SHORTCUT_KEYCODE, MENU_SHORTCUT_MASK, MENU_SHORTCUT_MODIFIER, MENU_SHORTCUT_STRING, MOVE_MASK, MULTI_CLICK_INTERVAL, POPUP_MASK, POPUP_MODIFIER, POPUP_ON_PRESS, TERTIARY_MASK, TERTIARY_MODIFIER
Constructor and Description |
---|
GuiRobot(GuiAppManager owner) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
doAction(java.lang.String action,
java.lang.Object[] args) |
java.awt.Component |
evalGuiRef(java.lang.Object gui) |
java.awt.Component |
evalGuiRef(java.lang.Object gui,
boolean required) |
java.awt.Component |
evalGuiRef(java.lang.Object gui,
boolean required,
boolean allowNull,
int timeout) |
int |
getSpecialKey(java.lang.String keyName) |
void |
keyClick(int keyCode) |
void |
sendKeyString(java.lang.String s) |
activate, callAndWait, callAndWait, canMoveWindows, canResizeWindows, capture, capture, capture, click, click, click, click, click, close, deiconify, delay, descriptiveClassName, drag, drag, dragOver, drop, findFocusOwner, fireAccessibleAction, focus, focus, getAutoDelay, getBorderTitle, getCanonicalClass, getCloseLocation, getDescriptiveName, getEventID, getEventID, getEventMode, getEventModeDescription, getEventPostDelay, getEventQueue, getIconifyLocation, getIconName, getIndex, getLabel, getMaximizeLocation, getMoveLocation, getName, getPreferredRobotAutoDelay, getResizeLocation, getRobot, getState, getText, getTitle, iconify, invokeAction, invokeAction, invokeAndWait, invokeAndWait, invokeLater, invokeLater, isReadyForInput, jitter, jitter, key, key, keyPress, keyRelease, keyString, keyStroke, maximize, mouseMove, mouseMove, mousePress, mousePress, mousePress, mousePress, mousePress, mouseRelease, mouseRelease, move, moveBy, normalize, postEvent, postInvocationEvent, queueBlocked, reset, resize, resizeBy, sample, sample, sample, selectAWTMenuItem, selectAWTMenuItem, selectAWTMenuItemByLabel, selectAWTPopupMenuItem, selectAWTPopupMenuItem, selectAWTPopupMenuItemByLabel, selectMenuItem, selectMenuItem, selectPopupMenuItem, sendEvent, setAutoDelay, setEventMode, setEventPostDelay, setModifiers, showPopupMenu, showPopupMenu, simpleClassName, sleep, toHierarchyPath, toString, toString, toString, userMovable, userResizable, useScreenMenuBar, wait, wait, wait, waitForIdle
private AppLog _log
private GuiAppManager _owner
public int GuiWaitTime
public GuiRobot(GuiAppManager owner)
public java.lang.Object doAction(java.lang.String action, java.lang.Object[] args) throws RuntimeTools.ActionException, GuiItemNotFoundException
public java.awt.Component evalGuiRef(java.lang.Object gui) throws GuiItemNotFoundException
GuiItemNotFoundException
public java.awt.Component evalGuiRef(java.lang.Object gui, boolean required) throws GuiItemNotFoundException
GuiItemNotFoundException
public java.awt.Component evalGuiRef(java.lang.Object gui, boolean required, boolean allowNull, int timeout) throws GuiItemNotFoundException
GuiItemNotFoundException
public int getSpecialKey(java.lang.String keyName)
public void keyClick(int keyCode)
public void sendKeyString(java.lang.String s)