Uses of Class
org.fest.swing.core.GenericTypeMatcher
Packages that use GenericTypeMatcher
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 GenericTypeMatcher in org.fest.swing.core
Methods in org.fest.swing.core with parameters of type GenericTypeMatcherModifier and TypeMethodDescription<T extends Component>
TBasicComponentFinder.find
(Container root, GenericTypeMatcher<T> m) Finds a
using the givenComponent
in the hierarchy under the given root.GenericTypeMatcher
<T extends Component>
TBasicComponentFinder.find
(GenericTypeMatcher<T> m) Finds a
using the givenComponent
.GenericTypeMatcher
<T extends Component>
TComponentFinder.find
(Container root, GenericTypeMatcher<T> m) Finds a
using the givenComponent
in the hierarchy under the given root.GenericTypeMatcher
<T extends Component>
TComponentFinder.find
(GenericTypeMatcher<T> m) Finds a
using the givenComponent
.GenericTypeMatcher
(package private) <T extends Component>
Collection<T>FinderDelegate.find
(ComponentHierarchy h, GenericTypeMatcher<T> m) private <T extends Component>
voidFinderDelegate.find
(ComponentHierarchy h, GenericTypeMatcher<T> m, Component root, Set<T> found) <T extends Component>
Collection<T>BasicComponentFinder.findAll
(Container root, GenericTypeMatcher<T> m) Returns all the
s under the given root that match the search criteria specified in the givenComponent
.GenericTypeMatcher
<T extends Component>
Collection<T>BasicComponentFinder.findAll
(GenericTypeMatcher<T> m) Returns all the
s that match the search criteria specified in the givenComponent
.GenericTypeMatcher
<T extends Component>
Collection<T>ComponentFinder.findAll
(Container root, GenericTypeMatcher<T> m) Returns all the
s under the given root that match the search criteria specified in the givenComponent
.GenericTypeMatcher
<T extends Component>
Collection<T>ComponentFinder.findAll
(GenericTypeMatcher<T> m) Returns all the
s that match the search criteria specified in the givenComponent
.GenericTypeMatcher
private static <T extends Component>
booleanFinderDelegate.isMatching
(Component c, GenericTypeMatcher<T> m) -
Uses of GenericTypeMatcher in org.fest.swing.core.matcher
Subclasses of GenericTypeMatcher in org.fest.swing.core.matcherModifier 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 GenericTypeMatcher in org.fest.swing.driver
Methods in org.fest.swing.driver with parameters of type GenericTypeMatcherModifier and TypeMethodDescriptionJPopupMenuDriver.menuItem
(JPopupMenu popupMenu, GenericTypeMatcher<? extends JMenuItem> matcher) -
Uses of GenericTypeMatcher in org.fest.swing.finder
Methods in org.fest.swing.finder with parameters of type GenericTypeMatcherModifier and TypeMethodDescriptionstatic DialogFinder
WindowFinder.findDialog
(GenericTypeMatcher<? extends Dialog> matcher) Creates a new
capable of looking up aDialogFinder
using the provided matcher.Dialog
static JFileChooserFinder
JFileChooserFinder.findFileChooser
(GenericTypeMatcher<? extends JFileChooser> matcher) Creates a new
capable of looking up aJFileChooserFinder
using the given matcher.JFileChooser
static FrameFinder
WindowFinder.findFrame
(GenericTypeMatcher<? extends Frame> matcher) Creates a new
capable of looking up aFrameFinder
using the provided matcher.Frame
static JOptionPaneFinder
JOptionPaneFinder.findOptionPane
(GenericTypeMatcher<? extends JOptionPane> matcher) Creates a new
capable of looking up aJOptionPaneFinder
using the given matcher.JOptionPane
Constructors in org.fest.swing.finder with parameters of type GenericTypeMatcherModifierConstructorDescriptionprotected
ComponentFinderTemplate
(GenericTypeMatcher<? extends T> matcher) Creates a newComponentFinderTemplate
.protected
DialogFinder
(GenericTypeMatcher<? extends Dialog> matcher) Creates a newDialogFinder
.protected
FrameFinder
(GenericTypeMatcher<? extends Frame> matcher) Creates a newFrameFinder
.protected
JFileChooserFinder
(GenericTypeMatcher<? extends JFileChooser> matcher) Creates a newJFileChooserFinder
.protected
JOptionPaneFinder
(GenericTypeMatcher<? extends JOptionPane> matcher) Creates a newJOptionPaneFinder
.protected
WindowFinderTemplate
(GenericTypeMatcher<? extends T> matcher) Creates a newWindowFinderTemplate
. -
Uses of GenericTypeMatcher in org.fest.swing.fixture
Methods in org.fest.swing.fixture with parameters of type GenericTypeMatcherModifier and TypeMethodDescriptionComponentContainerFixture.button
(GenericTypeMatcher<? extends JButton> matcher) ContainerFixture.button
(GenericTypeMatcher<? extends JButton> matcher) ComponentContainerFixture.checkBox
(GenericTypeMatcher<? extends JCheckBox> matcher) ContainerFixture.checkBox
(GenericTypeMatcher<? extends JCheckBox> matcher) ComponentContainerFixture.comboBox
(GenericTypeMatcher<? extends JComboBox> matcher) ContainerFixture.comboBox
(GenericTypeMatcher<? extends JComboBox> matcher) ComponentContainerFixture.dialog
(GenericTypeMatcher<? extends Dialog> matcher) Finds a
that matches the specified search criteria.Dialog
ComponentContainerFixture.dialog
(GenericTypeMatcher<? extends Dialog> matcher, Timeout timeout) Finds a
that matches the specified search criteria.Dialog
ContainerFixture.dialog
(GenericTypeMatcher<? extends Dialog> matcher) Finds a
that matches the specified search criteria.Dialog
ContainerFixture.dialog
(GenericTypeMatcher<? extends Dialog> matcher, Timeout timeout) Finds a
that matches the specified search criteria.Dialog
ComponentContainerFixture.fileChooser
(GenericTypeMatcher<? extends JFileChooser> matcher) Finds a
that matches the specified search criteria.JFileChooser
ComponentContainerFixture.fileChooser
(GenericTypeMatcher<? extends JFileChooser> matcher, Timeout timeout) Finds a
that matches the specified search criteria.JFileChooser
ContainerFixture.fileChooser
(GenericTypeMatcher<? extends JFileChooser> matcher) Finds a
that matches the specified search criteria.JFileChooser
ContainerFixture.fileChooser
(GenericTypeMatcher<? extends JFileChooser> matcher, Timeout timeout) Finds a
that matches the specified search criteria.JFileChooser
protected final <C extends Component>
CContainerFixture.find
(GenericTypeMatcher<? extends C> matcher) ComponentContainerFixture.label
(GenericTypeMatcher<? extends JLabel> matcher) ContainerFixture.label
(GenericTypeMatcher<? extends JLabel> matcher) ComponentContainerFixture.list
(GenericTypeMatcher<? extends JList> matcher) ContainerFixture.list
(GenericTypeMatcher<? extends JList> matcher) ComponentContainerFixture.menuItem
(GenericTypeMatcher<? extends JMenuItem> matcher) ContainerFixture.menuItem
(GenericTypeMatcher<? extends JMenuItem> matcher) JPopupMenuFixture.menuItem
(GenericTypeMatcher<? extends JMenuItem> matcher) Finds a
, contained in this fixture'sJMenuItem
, that matches the specified search criteria.JPopupMenu
ComponentContainerFixture.panel
(GenericTypeMatcher<? extends JPanel> matcher) ContainerFixture.panel
(GenericTypeMatcher<? extends JPanel> matcher) ComponentContainerFixture.progressBar
(GenericTypeMatcher<? extends JProgressBar> matcher) Finds a
in this fixture'sJProgressBar
, that matches the specified search criteria.Container
ContainerFixture.progressBar
(GenericTypeMatcher<? extends JProgressBar> matcher) Finds a
in this fixture'sJProgressBar
, that matches the specified search criteria.Container
ComponentContainerFixture.radioButton
(GenericTypeMatcher<? extends JRadioButton> matcher) Finds a
in this fixture'sJRadioButton
, that matches the specified search criteria.Container
ContainerFixture.radioButton
(GenericTypeMatcher<? extends JRadioButton> matcher) Finds a
in this fixture'sJRadioButton
, that matches the specified search criteria.Container
ComponentContainerFixture.scrollBar
(GenericTypeMatcher<? extends JScrollBar> matcher) Finds a
in this fixture'sJScrollBar
, that matches the specified search criteria.Container
ContainerFixture.scrollBar
(GenericTypeMatcher<? extends JScrollBar> matcher) Finds a
in this fixture'sJScrollBar
, that matches the specified search criteria.Container
ComponentContainerFixture.scrollPane
(GenericTypeMatcher<? extends JScrollPane> matcher) Finds a
in this fixture'sJScrollPane
, that matches the specified search criteria.Container
ContainerFixture.scrollPane
(GenericTypeMatcher<? extends JScrollPane> matcher) Finds a
in this fixture'sJScrollPane
, that matches the specified search criteria.Container
ComponentContainerFixture.slider
(GenericTypeMatcher<? extends JSlider> matcher) ContainerFixture.slider
(GenericTypeMatcher<? extends JSlider> matcher) ComponentContainerFixture.spinner
(GenericTypeMatcher<? extends JSpinner> matcher) ContainerFixture.spinner
(GenericTypeMatcher<? extends JSpinner> matcher) ComponentContainerFixture.splitPane
(GenericTypeMatcher<? extends JSplitPane> matcher) Finds a
in this fixture'sJSplitPane
, that matches the specified search criteria.Container
ContainerFixture.splitPane
(GenericTypeMatcher<? extends JSplitPane> matcher) Finds a
in this fixture'sJSplitPane
, that matches the specified search criteria.Container
ComponentContainerFixture.tabbedPane
(GenericTypeMatcher<? extends JTabbedPane> matcher) Finds a
in this fixture'sJTabbedPane
, that matches the specified search criteria.Container
ContainerFixture.tabbedPane
(GenericTypeMatcher<? extends JTabbedPane> matcher) Finds a
in this fixture'sJTabbedPane
, that matches the specified search criteria.Container
ComponentContainerFixture.table
(GenericTypeMatcher<? extends JTable> matcher) ContainerFixture.table
(GenericTypeMatcher<? extends JTable> matcher) ComponentContainerFixture.textBox
(GenericTypeMatcher<? extends JTextComponent> matcher) Finds a
in this fixture'sJTextComponent
managed by this fixture, that matches the specified search criteria.Container
ContainerFixture.textBox
(GenericTypeMatcher<? extends JTextComponent> matcher) Finds a
in this fixture'sJTextComponent
managed by this fixture, that matches the specified search criteria.Container
ComponentContainerFixture.toggleButton
(GenericTypeMatcher<? extends JToggleButton> matcher) Finds a
in this fixture'sJToggleButton
, that matches the specified search criteria.Container
ContainerFixture.toggleButton
(GenericTypeMatcher<? extends JToggleButton> matcher) Finds a
in this fixture'sJToggleButton
, that matches the specified search criteria.Container
ComponentContainerFixture.toolBar
(GenericTypeMatcher<? extends JToolBar> matcher) ContainerFixture.toolBar
(GenericTypeMatcher<? extends JToolBar> matcher) ComponentContainerFixture.tree
(GenericTypeMatcher<? extends JTree> matcher) ContainerFixture.tree
(GenericTypeMatcher<? extends JTree> matcher)