Package | Description |
---|---|
org.fest.swing.core |
Building blocks for all FEST-Swing fixtures.
|
org.fest.swing.core.matcher |
Common implementations of
. |
org.fest.swing.driver |
Drivers that simulate user input on GUI
s. |
Modifier and Type | Interface and Description |
---|---|
interface |
ResettableComponentMatcher
Understands whether a
matches some desired criteria. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractComponentMatcher
Understands a base class for implementations of
. |
class |
GenericTypeMatcher<T extends Component>
Understands a
that matches a by type and some
custom search criteria. |
class |
LabelMatcher
|
class |
NameMatcher
Understands
matching by name and (optionally) by type. |
class |
TypeMatcher
Understands
matching by type. |
Modifier and Type | Method and Description |
---|---|
Component |
BasicComponentFinder.find(ComponentMatcher m)
Finds a
using the given . |
Component |
ComponentFinder.find(ComponentMatcher m)
Finds a
using the given . |
Component |
BasicComponentFinder.find(Container root,
ComponentMatcher m)
Finds a
using the given in the hierarchy
under the given root. |
Component |
ComponentFinder.find(Container root,
ComponentMatcher m)
Finds a
using the given in the hierarchy
under the given root. |
Collection<Component> |
BasicComponentFinder.findAll(ComponentMatcher m)
Returns all the
s that match the search criteria specified in the given
. |
Collection<Component> |
ComponentFinder.findAll(ComponentMatcher m)
Returns all the
s that match the search criteria specified in the given
. |
Collection<Component> |
BasicComponentFinder.findAll(Container root,
ComponentMatcher m)
Returns all the
s under the given root that match the search criteria specified in
the given . |
Collection<Component> |
ComponentFinder.findAll(Container root,
ComponentMatcher m)
Returns all the
s under the given root that match the search criteria specified in
the given . |
void |
BasicComponentPrinter.printComponents(PrintStream out,
ComponentMatcher matcher)
$Prints only the components that match the given search criteria in the hierarchy.
|
void |
ComponentPrinter.printComponents(PrintStream out,
ComponentMatcher matcher)
Prints only the components that match the given search criteria in the hierarchy.
|
void |
BasicComponentPrinter.printComponents(PrintStream out,
ComponentMatcher matcher,
Container root)
$Prints all the components that match the given search criteria under the given root.
|
void |
ComponentPrinter.printComponents(PrintStream out,
ComponentMatcher matcher,
Container root)
Prints all the components that match the given search criteria under the given root.
|
Constructor and Description |
---|
ComponentFoundCondition(org.fest.assertions.Description description,
ComponentFinder finder,
ComponentMatcher matcher)
Creates a new
|
ComponentFoundCondition(org.fest.assertions.Description description,
ComponentFinder finder,
ComponentMatcher matcher,
Container root)
Creates a new
|
ComponentFoundCondition(String description,
ComponentFinder finder,
ComponentMatcher matcher)
Creates a new
|
ComponentFoundCondition(String description,
ComponentFinder finder,
ComponentMatcher matcher,
Container root)
Creates a new
|
Modifier and Type | Class and Description |
---|---|
class |
DialogMatcher
Understands matching a
by name, title and visibility on the screen. |
class |
FrameMatcher
Understands matching a
by type, name or title. |
class |
JButtonMatcher
Understands matching a
by name, text and visibility on the screen. |
class |
JLabelMatcher
Understands matching a
by type, name or text. |
class |
JTextComponentMatcher
Understands matching a
by type, name or text. |
class |
NamedComponentMatcherTemplate<T extends Component>
Understands a template for matching components by name.
|
Modifier and Type | Class and Description |
---|---|
class |
JMenuItemMatcher
Matches a
given a simple label or a menu path of the format "menu|submenu|menuitem",
for example "File|Open|Can of worms". |
Modifier and Type | Method and Description |
---|---|
protected <T extends Component> |
AbstractJTableCellWriter.waitForEditorActivation(ComponentMatcher matcher,
JTable table,
int row,
int column,
Class<T> supportedType)
Waits until the editor of the given table cell is showing on the screen.
|
Copyright © 2007-2013 FEST (Fixtures for Easy Software Testing). All Rights Reserved.