public class FrameDriver extends WindowDriver
Frames:
org.fest.swing.fixture in your tests.robot| Constructor and Description |
|---|
FrameDriver(Robot robot)
Creates a new
FrameDriver. |
| Modifier and Type | Method and Description |
|---|---|
void |
deiconify(Frame frame)
Deiconifies the given
. |
void |
iconify(Frame frame)
Iconifies the given
. |
void |
maximize(Frame frame)
Makes the
full size. |
void |
normalize(Frame frame)
Normalizes the given
. |
close, moveTo, moveToBack, moveToFront, resizeHeightTo, resizeTo, resizeWidthTo, show, showmove, resize, resizeHeight, resizeWidthassertIsEnabledAndShowing, 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 FrameDriver(Robot robot)
FrameDriver.robot - the robot to use to simulate user input.@RunsInEDT public void iconify(Frame frame)
Frame.frame - the given Frame.IllegalStateException - if the Frame is not enabled.IllegalStateException - if the Frame is not showing on the screen.@RunsInEDT public void deiconify(Frame frame)
Frame.frame - the given Frame.IllegalStateException - if the Frame is not enabled.IllegalStateException - if the Frame is not showing on the screen.@RunsInEDT public void normalize(Frame frame)
Frame.frame - the given Frame.IllegalStateException - if the Frame is not enabled.IllegalStateException - if the Frame is not showing on the screen.@RunsInEDT public void maximize(Frame frame)
Frame full size.frame - the target Frame.IllegalStateException - if the Frame is not enabled.IllegalStateException - if the Frame is not showing on the screen.ActionFailedException - if the operating system does not support maximizing frames.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.