|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object abbot.tester.Robot abbot.tester.ComponentTester abbot.tester.ContainerTester abbot.tester.WindowTester
public class WindowTester
Provides user actions on a Window.
Field Summary |
---|
Fields inherited from class abbot.tester.ComponentTester |
---|
IGNORED_METHODS |
Fields inherited from class abbot.tester.Robot |
---|
componentDelay, defaultDelay, EM_AWT, EM_ROBOT, IDLE_TIMEOUT, MOUSELESS_MODIFIER, MOUSELESS_MODIFIER_MASK, popupDelay |
Fields inherited from interface abbot.tester.AWTConstants |
---|
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 Summary | |
---|---|
WindowTester()
|
Method Summary | |
---|---|
void |
actionActivate(Window w)
Activate the given Window. |
void |
actionClose(Component c)
Send a WINDOW_CLOSING event to the window, equivalent to the user closing the window through the window manager. |
void |
actionMove(Component w,
int screenx,
int screeny)
Move the window to the given location. |
void |
actionMoveBy(Component w,
int dx,
int dy)
Move the window to the given location. |
void |
actionResize(Component w,
int width,
int height)
Resize the given window. |
void |
actionResizeBy(Component w,
int dx,
int dy)
Resize the given window. |
String |
deriveTag(Component comp)
The window's size seems as good an ID as any. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WindowTester()
Method Detail |
---|
public String deriveTag(Component comp)
deriveTag
in class ComponentTester
public void actionClose(Component c)
public void actionMove(Component w, int screenx, int screeny)
public void actionMoveBy(Component w, int dx, int dy)
public void actionResize(Component w, int width, int height)
public void actionResizeBy(Component w, int dx, int dy)
public void actionActivate(Window w)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |