|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
ComponentTester
to provide support for
custom components.JComponentTester.actionClick(Component, ComponentLocation, int, int)
instead.
integer modifier mask
version instead.
ComponentLocation/
integer modifier mask
version instead.
JComponentTester.actionDrag(Component, ComponentLocation, int)
instead.
JToolBar
float.
MenuItem
) and returns when
the invocation has triggered (though not necessarily completed).
ComponentTester.actionSelectAWTMenuItem(Frame,String)
.
ComponentTester.actionSelectAWTPopupMenuItem(Component,String)
.
JToolBar
to the requested constraint position,
which must be one of the constants NORTH
,
EAST
, SOUTH
,
or WEST
.
ResourceBundle
as one to be searched.
CellRendererPane
to render the icon.ArrowButton
component.ComponentTester.assertFrameShowing(Hierarchy,String)
instead.
Frame
.
Frame
.
CelsiusConverter
) with
Abbot.ComponentLocation
encoding which represents
the center of the component.
Window
on the default screen.
Script.setFile(File)
.
String
into a Color
.Component
and related
UI objects such as windows, menus and menu bars throuh action methods.Throwable
.
null
after the test has run.
JFrame
.
ComponentLocation
.
FileDialog
misreports its screen
location.
FileDialog
requires an explicit
dismiss (ok/cancel).
String
into a File
.TreePath
(which may be composed of objects, string
representations of objects, or regular expressions), return the
equivalent TreePath
for the given JTree
constructed
from objects from the tree's model.
RootPaneContainer
in the given
container.
Fixture
from its XML attributes.
ScriptEditor
.Component
.
UIContext
to obtain a
ClassLoader
, or use the current Thread
's
context class loader.
AbstractComponentDecorator.Painter.setCursor(java.awt.Cursor)
.
Script
.
Robot.getDescriptiveName(Component)
instead
null
if no such exception has been thrown.
Frame
corresponding to the given object.
Hierarchy
of components.
Hierarchy
for the lifetime of
the fixture.
JGraphLocation
corresponding to the given
Point
location.
Component.getLocationOnScreen()
, which
avoids lockup if an AWT popup menu is showing.
Robot
for basic event generation.
ComponentTester
for the given Component
.
ComponentTester
object for the given Component
class, chaining up the inheritance tree if no specific tester is found
for that class.
null
if none has been thrown or the exception has been
cleared.
Script
is launchable.
AbstractButton.setDisplayedMnemonicIndex(int)
.
Robot.invokeLater(Runnable)
Robot.invokeLater(Component, Runnable)
getRobot().invokeAndWait(Runnable)
.
getRobot().invokeAndWait(Runnable)
.
getRobot().invokeLater(Runnable)
.
getRobot().invokeLater(Runnable)
.
RootPaneContainer
.
JRootPane
.
String
is an encoded
index.
AWTFixtureHelper.isShowing(String)
, but uses the given
ComponentFinder to do the lookup.
String
is an encoded
value.
JButton
s.JFileChooser
.JGraph
(a coordinate or item index).JGraph
.JLabel
s.JList
component.JMenuItem
given a simple label or a menu path of the
format "menu|submenu|menuitem", for example "File|Open|Can of worms".JMenuItem
s.JTextComponent
-based
components.JTextField
-based
components.JTree
.AbstractButton.setMnemonic(int)
.
Launch
step,
using the given runner as controller/monitor.
StepRunner.run(Step)
, but defers to the Script
to determine what subset of steps should be run as the UI context.
Runtime.exec
methods.java.awt.List
.name
.
Point
is visible on any screen.
String
into some
destination class type.Recorder
provides a mechanism for recording an event stream and
generating a sequence of script steps from that stream.junit.framework.TestCase#RunBare()
to ensure proper test harness setup and teardown that won't
likely be accidentally overridden by a derived class.
Hierarchy
instead.
Hierarchy
instead.
Script
from the given file.
JComponent.scrollRectToVisible(Rectangle)
on the given
JComponent
on the event dispatch thread.
JTextField
.
Robot.selectAWTMenuItem(Frame,String)
.
Robot.selectAWTPopupMenuItem(Component,String)
.
Sequence
from XML data.
Step
s.
PrintStream
.
AWTFixtureHelper.showModalDialog(Runnable)
, but provides a custom
ComponentFinder
to find the dialog.
ComponentTestFixture.showModalDialog(Runnable)
instead.
PrintStream
into two targets.Launch
step.
String
into a TreePath
.String
representation of the final component of
the given TreePath
, or null
if one can not be
obtained.
ComponentTester.waitForFrameShowing(Hierarchy,String)
instead.
JComponent
or JFrame
,
while dimming the component and displaying a wait cursor.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |