|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fest.swing.driver.ComponentDriver
org.fest.swing.driver.ContainerDriver
public abstract class ContainerDriver
Understands functional testing of s:
Container
org.fest.swing.fixture in your tests.
| Field Summary |
|---|
| Fields inherited from class org.fest.swing.driver.ComponentDriver |
|---|
robot |
| Constructor Summary | |
|---|---|
ContainerDriver(Robot robot)
Creates a new ContainerDriver. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.fest.swing.driver.ComponentDriver |
|---|
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, waitForShowing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContainerDriver(Robot robot)
ContainerDriver.
robot - the robot to use to simulate user input.| Method Detail |
|---|
@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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||