|
||||||||||
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.JAppletDriver
public class JAppletDriver
Understands functional testing of
s:
JApplet
org.fest.swing.fixture
in your tests.
Field Summary |
---|
Fields inherited from class org.fest.swing.driver.ComponentDriver |
---|
robot |
Constructor Summary | |
---|---|
JAppletDriver(Robot robot)
Creates a new JAppletDriver . |
Method Summary | |
---|---|
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. |
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 JAppletDriver(Robot robot)
JAppletDriver
.
robot
- the robot to use simulate user input.Method Detail |
---|
@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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |