public class JAppletDriver extends ComponentDriver
JApplets:
org.fest.swing.fixture in your tests.robot| Constructor and Description |
|---|
JAppletDriver(Robot robot)
Creates a new
JAppletDriver. |
| Modifier and Type | Method and Description |
|---|---|
AppletContext |
appletContextOf(JApplet applet)
Returns the
of the given . |
URL |
codeBaseOf(JApplet applet)
Returns the URL of the directory that contains the given
. |
URL |
documentBaseOf(JApplet applet)
Returns the URL of the document the given
is embedded. |
boolean |
isActive(JApplet applet)
Indicates whether the given
is active or not. |
String |
parameterValue(JApplet applet,
String parameterName)
Returns the value of the named parameter in the given
in the HTML tag, or
null if not set. |
void |
resize(JApplet applet,
int width,
int height)
Requests the given
to be resized. |
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 JAppletDriver(Robot robot)
JAppletDriver.robot - the robot to use simulate user input.@RunsInEDT public AppletContext appletContextOf(JApplet applet)
AppletContext of the given JApplet.applet - the given JApplet.AppletContext of the given JApplet.@RunsInEDT public void resize(JApplet applet, int width, int height)
JApplet to be resized.applet - the given JApplet.width - the new width.height - the new height.@RunsInEDT public URL codeBaseOf(JApplet applet)
JApplet.applet - the given JApplet.JApplet.@RunsInEDT public URL documentBaseOf(JApplet applet)
JApplet is embedded.applet - the given JApplet.JApplet is embedded.@RunsInEDT public String parameterValue(JApplet applet, String parameterName)
JApplet in the HTML tag, or
null if not set.applet - the given JApplet.parameterName - a parameter name.null if not
set.@RunsInEDT public boolean isActive(JApplet applet)
JApplet is active or not.applet - the given JApplet.true if the given JApplet is active; false otherwise.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.