Uses of Interface
org.fest.swing.core.ComponentMatcher
Packages that use ComponentMatcher
Package
Description
Building blocks for all FEST-Swing fixtures.
Common implementations of
GenericTypeMatcher
.
Drivers that simulate user input on GUI
Component
s.
Support for testing time-consuming tasks.
The power and flexibility of FEST-Swing come from the fixtures in
this package.
-
Uses of ComponentMatcher in org.fest.swing.core
Subinterfaces of ComponentMatcher in org.fest.swing.coreModifier and TypeInterfaceDescriptioninterface
Understands whether a
matches some desired criteria.Component
Classes in org.fest.swing.core that implement ComponentMatcherModifier and TypeClassDescriptionclass
Understands a base class for implementations of
.ResettableComponentMatcher
class
GenericTypeMatcher<T extends Component>
Understands a
that matches aComponentMatcher
by type and some custom search criteria.Component
class
final class
Understands
matching by name and (optionally) by type.Component
final class
Understands
matching by type.Component
Fields in org.fest.swing.core declared as ComponentMatcherModifier and TypeFieldDescriptionprivate static final ComponentMatcher
BasicComponentPrinter.ALWAYS_MATCHES
private final ComponentMatcher
ComponentFoundCondition.matcher
(package private) static final ComponentMatcher
UnexpectedJOptionPaneFinder.OPTION_PANE_MATCHER
private static final ComponentMatcher
BasicRobot.POPUP_MATCHER
Methods in org.fest.swing.core that return ComponentMatcherModifier and TypeMethodDescriptionprivate static ComponentMatcher
BasicComponentPrinter.alwaysMatches()
Methods in org.fest.swing.core with parameters of type ComponentMatcherModifier and TypeMethodDescriptionprivate ComponentLookupException
BasicComponentFinder.componentNotFound
(ComponentHierarchy h, ComponentMatcher m) BasicComponentFinder.find
(Container root, ComponentMatcher m) Finds a
using the givenComponent
in the hierarchy under the given root.ComponentMatcher
BasicComponentFinder.find
(ComponentMatcher m) Finds a
using the givenComponent
.ComponentMatcher
private Component
BasicComponentFinder.find
(ComponentHierarchy h, ComponentMatcher m) ComponentFinder.find
(Container root, ComponentMatcher m) Finds a
using the givenComponent
in the hierarchy under the given root.ComponentMatcher
ComponentFinder.find
(ComponentMatcher m) Finds a
using the givenComponent
.ComponentMatcher
(package private) Collection<Component>
FinderDelegate.find
(ComponentHierarchy h, ComponentMatcher m) private void
FinderDelegate.find
(ComponentHierarchy h, ComponentMatcher m, Component root, Set<Component> found) BasicComponentFinder.findAll
(Container root, ComponentMatcher m) Returns all the
s under the given root that match the search criteria specified in the givenComponent
.ComponentMatcher
BasicComponentFinder.findAll
(ComponentMatcher m) Returns all the
s that match the search criteria specified in the givenComponent
.ComponentMatcher
ComponentFinder.findAll
(Container root, ComponentMatcher m) Returns all the
s under the given root that match the search criteria specified in the givenComponent
.ComponentMatcher
ComponentFinder.findAll
(ComponentMatcher m) Returns all the
s that match the search criteria specified in the givenComponent
.ComponentMatcher
UnexpectedJOptionPaneFinder.findAll
(ComponentMatcher m) private static boolean
FinderDelegate.isMatching
(Component c, ComponentMatcher m) private static ComponentLookupException
BasicComponentFinder.multipleComponentsFound
(Collection<Component> found, ComponentMatcher m) private static void
BasicComponentPrinter.print
(Component c, ComponentHierarchy h, ComponentMatcher matcher, int level, PrintStream out) private static void
BasicComponentPrinter.print
(ComponentHierarchy hierarchy, ComponentMatcher matcher, PrintStream out) void
BasicComponentPrinter.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) Prints only the components that match the given search criteria in the hierarchy.void
ComponentPrinter.printComponents
(PrintStream out, ComponentMatcher matcher, Container root) Prints all the components that match the given search criteria under the given root.Constructors in org.fest.swing.core with parameters of type ComponentMatcherModifierConstructorDescriptionComponentFoundCondition
(String description, ComponentFinder finder, ComponentMatcher matcher) Creates a newComponentFoundCondition
ComponentFoundCondition
(String description, ComponentFinder finder, ComponentMatcher matcher, Container root) Creates a newComponentFoundCondition
ComponentFoundCondition
(org.fest.assertions.Description description, ComponentFinder finder, ComponentMatcher matcher) Creates a newComponentFoundCondition
ComponentFoundCondition
(org.fest.assertions.Description description, ComponentFinder finder, ComponentMatcher matcher, Container root) Creates a newComponentFoundCondition
-
Uses of ComponentMatcher in org.fest.swing.core.matcher
Classes in org.fest.swing.core.matcher that implement ComponentMatcherModifier and TypeClassDescriptionfinal class
Understands matching a
by name, title and visibility on the screen.Dialog
final class
Understands matching a
by type, name or title.Frame
final class
Understands matching a
by name, text and visibility on the screen.JButton
final class
Understands matching a
by type, name or text.JLabel
final class
Understands matching a
by type, name or text.JTextComponent
class
NamedComponentMatcherTemplate<T extends Component>
Understands a template for matching components by name. -
Uses of ComponentMatcher in org.fest.swing.driver
Classes in org.fest.swing.driver that implement ComponentMatcherModifier and TypeClassDescriptionclass
Matches a
given a simple label or a menu path of the format "menu|submenu|menuitem", for example "File|Open|Can of worms".JMenuItem
Fields in org.fest.swing.driver declared as ComponentMatcherModifier and TypeFieldDescription(package private) static final ComponentMatcher
JComboBoxDropDownListFinder.LIST_MATCHER
Methods in org.fest.swing.driver with parameters of type ComponentMatcherModifier and TypeMethodDescriptionprotected final <T extends Component>
TAbstractJTableCellWriter.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. -
Uses of ComponentMatcher in org.fest.swing.finder
Fields in org.fest.swing.finder declared as ComponentMatcherConstructors in org.fest.swing.finder with parameters of type ComponentMatcher -
Uses of ComponentMatcher in org.fest.swing.fixture
Methods in org.fest.swing.fixture with parameters of type ComponentMatcherModifier and TypeMethodDescriptionprivate DialogFixture
ContainerFixture.findDialog
(ComponentMatcher matcher, Timeout timeout) private JFileChooserFixture
ContainerFixture.findFileChooser
(ComponentMatcher matcher, Timeout timeout)