public abstract class ContainerDriver extends ComponentDriver
Containers:
org.fest.swing.fixture in your tests.robot| Constructor and Description |
|---|
ContainerDriver(Robot robot)
Creates a new
ContainerDriver. |
| Modifier and Type | Method and Description |
|---|---|
void |
move(Container c,
int x,
int y)
Move the given
to the requested location. |
protected void |
resize(Container c,
int width,
int height)
Resizes the
to the given size. |
protected void |
resizeHeight(Container c,
int height)
Resizes the
vertically. |
protected void |
resizeWidth(Container c,
int width)
Resizes the
horizontally. |
assertIsEnabledAndShowing, click, click, click, click, click, doubleClick, drag, dragOver, drop, focus, focusAndWaitForFocusGain, invokePopupMenu, invokePopupMenu, moveMouseIgnoringAnyError, moveMouseIgnoringAnyError, performAccessibleActionOf, pressAndReleaseKey, pressAndReleaseKey, pressAndReleaseKeys, pressKey, propertyName, releaseKey, requireDisabled, requireEnabled, requireEnabled, requireFocused, requireNotVisible, requireSize, requireVisible, rightClick, settings, waitForShowingpublic ContainerDriver(Robot robot)
ContainerDriver.robot - the robot to use to simulate user input.@RunsInEDT protected final void resizeWidth(Container c, int width)
Container horizontally.c - the target Container.width - the width that the Container should have after being resized.IllegalStateException - if the Container is not enabled.IllegalStateException - if the Container is not resizable by the user.IllegalStateException - if the Container is not showing on the screen.@RunsInEDT protected final void resizeHeight(Container c, int height)
Container vertically.c - the target Container.height - the height that the Container should have after being resized.IllegalStateException - if the Container is not enabled.IllegalStateException - if the Container is not resizable by the user.IllegalStateException - if the Container is not showing on the screen.@RunsInEDT protected final void resize(Container c, int width, int height)
Container to the given size.c - the target Container.width - the width to resize the Container to.height - the height to resize the Container to.IllegalStateException - if the Container is not enabled.IllegalStateException - if the Container is not resizable by the user.IllegalStateException - if the Container is not showing on the screen.@RunsInEDT public void move(Container c, int x, int y)
Container to the requested location.c - the target Container.x - the horizontal coordinate.y - the vertical coordinate.IllegalStateException - if the Container is not enabled.IllegalStateException - if the Container is not movable by the user.IllegalStateException - if the Container is not showing on the screen.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.