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. |
org.fest.swing.finder |
Support for testing time-consuming tasks.
|
org.fest.swing.fixture |
The power and flexibility of FEST-Swing come from the fixtures in
this package.
|
Modifier and Type | Method and Description |
---|---|
<T extends Component> |
BasicComponentFinder.find(Container root,
GenericTypeMatcher<T> m)
Finds a
using the given in the hierarchy
under the given root. |
<T extends Component> |
ComponentFinder.find(Container root,
GenericTypeMatcher<T> m)
Finds a
using the given in the hierarchy
under the given root. |
<T extends Component> |
BasicComponentFinder.find(GenericTypeMatcher<T> m)
Finds a
using the given . |
<T extends Component> |
ComponentFinder.find(GenericTypeMatcher<T> m)
Finds a
using the given . |
<T extends Component> |
BasicComponentFinder.findAll(Container root,
GenericTypeMatcher<T> m)
Returns all the
s under the given root that match the search criteria specified in
the given . |
<T extends Component> |
ComponentFinder.findAll(Container root,
GenericTypeMatcher<T> m)
Returns all the
s under the given root that match the search criteria specified in
the given . |
<T extends Component> |
BasicComponentFinder.findAll(GenericTypeMatcher<T> m)
Returns all the
s that match the search criteria specified in the given
. |
<T extends Component> |
ComponentFinder.findAll(GenericTypeMatcher<T> m)
Returns all the
s that match the search criteria specified in the given
. |
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 | Method and Description |
---|---|
JMenuItem |
JPopupMenuDriver.menuItem(JPopupMenu popupMenu,
GenericTypeMatcher<? extends JMenuItem> matcher)
|
Modifier and Type | Method and Description |
---|---|
static DialogFinder |
WindowFinder.findDialog(GenericTypeMatcher<? extends Dialog> matcher)
Creates a new
capable of looking up a using the
provided matcher. |
static JFileChooserFinder |
JFileChooserFinder.findFileChooser(GenericTypeMatcher<? extends JFileChooser> matcher)
Creates a new
capable of looking up a
using the given matcher. |
static FrameFinder |
WindowFinder.findFrame(GenericTypeMatcher<? extends Frame> matcher)
Creates a new
capable of looking up a using the
provided matcher. |
static JOptionPaneFinder |
JOptionPaneFinder.findOptionPane(GenericTypeMatcher<? extends JOptionPane> matcher)
Creates a new
capable of looking up a
using the given matcher. |
Constructor and Description |
---|
ComponentFinderTemplate(GenericTypeMatcher<? extends T> matcher)
Creates a new
ComponentFinderTemplate . |
DialogFinder(GenericTypeMatcher<? extends Dialog> matcher)
Creates a new
DialogFinder . |
FrameFinder(GenericTypeMatcher<? extends Frame> matcher)
Creates a new
FrameFinder . |
JFileChooserFinder(GenericTypeMatcher<? extends JFileChooser> matcher)
Creates a new
JFileChooserFinder . |
JOptionPaneFinder(GenericTypeMatcher<? extends JOptionPane> matcher)
Creates a new
JOptionPaneFinder . |
WindowFinderTemplate(GenericTypeMatcher<? extends T> matcher)
Creates a new
WindowFinderTemplate . |
Modifier and Type | Method and Description |
---|---|
JButtonFixture |
ComponentContainerFixture.button(GenericTypeMatcher<? extends JButton> matcher)
|
JButtonFixture |
ContainerFixture.button(GenericTypeMatcher<? extends JButton> matcher)
|
JCheckBoxFixture |
ComponentContainerFixture.checkBox(GenericTypeMatcher<? extends JCheckBox> matcher)
|
JCheckBoxFixture |
ContainerFixture.checkBox(GenericTypeMatcher<? extends JCheckBox> matcher)
|
JComboBoxFixture |
ComponentContainerFixture.comboBox(GenericTypeMatcher<? extends JComboBox> matcher)
|
JComboBoxFixture |
ContainerFixture.comboBox(GenericTypeMatcher<? extends JComboBox> matcher)
|
DialogFixture |
ComponentContainerFixture.dialog(GenericTypeMatcher<? extends Dialog> matcher)
Finds a
that matches the specified search criteria. |
DialogFixture |
ContainerFixture.dialog(GenericTypeMatcher<? extends Dialog> matcher)
Finds a
that matches the specified search criteria. |
DialogFixture |
ComponentContainerFixture.dialog(GenericTypeMatcher<? extends Dialog> matcher,
Timeout timeout)
Finds a
that matches the specified search criteria. |
DialogFixture |
ContainerFixture.dialog(GenericTypeMatcher<? extends Dialog> matcher,
Timeout timeout)
Finds a
that matches the specified search criteria. |
JFileChooserFixture |
ComponentContainerFixture.fileChooser(GenericTypeMatcher<? extends JFileChooser> matcher)
Finds a
that matches the specified search criteria. |
JFileChooserFixture |
ContainerFixture.fileChooser(GenericTypeMatcher<? extends JFileChooser> matcher)
Finds a
that matches the specified search criteria. |
JFileChooserFixture |
ComponentContainerFixture.fileChooser(GenericTypeMatcher<? extends JFileChooser> matcher,
Timeout timeout)
Finds a
that matches the specified search criteria. |
JFileChooserFixture |
ContainerFixture.fileChooser(GenericTypeMatcher<? extends JFileChooser> matcher,
Timeout timeout)
Finds a
that matches the specified search criteria. |
protected <C extends Component> |
ContainerFixture.find(GenericTypeMatcher<? extends C> matcher)
|
JLabelFixture |
ComponentContainerFixture.label(GenericTypeMatcher<? extends JLabel> matcher)
|
JLabelFixture |
ContainerFixture.label(GenericTypeMatcher<? extends JLabel> matcher)
|
JListFixture |
ComponentContainerFixture.list(GenericTypeMatcher<? extends JList> matcher)
|
JListFixture |
ContainerFixture.list(GenericTypeMatcher<? extends JList> matcher)
|
JMenuItemFixture |
JPopupMenuFixture.menuItem(GenericTypeMatcher<? extends JMenuItem> matcher)
Finds a
, contained in this fixture's ,
that matches the specified search criteria. |
JMenuItemFixture |
ComponentContainerFixture.menuItem(GenericTypeMatcher<? extends JMenuItem> matcher)
|
JMenuItemFixture |
ContainerFixture.menuItem(GenericTypeMatcher<? extends JMenuItem> matcher)
|
JPanelFixture |
ComponentContainerFixture.panel(GenericTypeMatcher<? extends JPanel> matcher)
|
JPanelFixture |
ContainerFixture.panel(GenericTypeMatcher<? extends JPanel> matcher)
|
JProgressBarFixture |
ComponentContainerFixture.progressBar(GenericTypeMatcher<? extends JProgressBar> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JProgressBarFixture |
ContainerFixture.progressBar(GenericTypeMatcher<? extends JProgressBar> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JRadioButtonFixture |
ComponentContainerFixture.radioButton(GenericTypeMatcher<? extends JRadioButton> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JRadioButtonFixture |
ContainerFixture.radioButton(GenericTypeMatcher<? extends JRadioButton> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JScrollBarFixture |
ComponentContainerFixture.scrollBar(GenericTypeMatcher<? extends JScrollBar> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JScrollBarFixture |
ContainerFixture.scrollBar(GenericTypeMatcher<? extends JScrollBar> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JScrollPaneFixture |
ComponentContainerFixture.scrollPane(GenericTypeMatcher<? extends JScrollPane> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JScrollPaneFixture |
ContainerFixture.scrollPane(GenericTypeMatcher<? extends JScrollPane> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JSliderFixture |
ComponentContainerFixture.slider(GenericTypeMatcher<? extends JSlider> matcher)
|
JSliderFixture |
ContainerFixture.slider(GenericTypeMatcher<? extends JSlider> matcher)
|
JSpinnerFixture |
ComponentContainerFixture.spinner(GenericTypeMatcher<? extends JSpinner> matcher)
|
JSpinnerFixture |
ContainerFixture.spinner(GenericTypeMatcher<? extends JSpinner> matcher)
|
JSplitPaneFixture |
ComponentContainerFixture.splitPane(GenericTypeMatcher<? extends JSplitPane> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JSplitPaneFixture |
ContainerFixture.splitPane(GenericTypeMatcher<? extends JSplitPane> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JTabbedPaneFixture |
ComponentContainerFixture.tabbedPane(GenericTypeMatcher<? extends JTabbedPane> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JTabbedPaneFixture |
ContainerFixture.tabbedPane(GenericTypeMatcher<? extends JTabbedPane> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JTableFixture |
ComponentContainerFixture.table(GenericTypeMatcher<? extends JTable> matcher)
|
JTableFixture |
ContainerFixture.table(GenericTypeMatcher<? extends JTable> matcher)
|
JTextComponentFixture |
ComponentContainerFixture.textBox(GenericTypeMatcher<? extends JTextComponent> matcher)
Finds a
in this fixture's managed by this
fixture, that matches the specified search criteria. |
JTextComponentFixture |
ContainerFixture.textBox(GenericTypeMatcher<? extends JTextComponent> matcher)
Finds a
in this fixture's managed by this
fixture, that matches the specified search criteria. |
JToggleButtonFixture |
ComponentContainerFixture.toggleButton(GenericTypeMatcher<? extends JToggleButton> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JToggleButtonFixture |
ContainerFixture.toggleButton(GenericTypeMatcher<? extends JToggleButton> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JToolBarFixture |
ComponentContainerFixture.toolBar(GenericTypeMatcher<? extends JToolBar> matcher)
|
JToolBarFixture |
ContainerFixture.toolBar(GenericTypeMatcher<? extends JToolBar> matcher)
|
JTreeFixture |
ComponentContainerFixture.tree(GenericTypeMatcher<? extends JTree> matcher)
|
JTreeFixture |
ContainerFixture.tree(GenericTypeMatcher<? extends JTree> matcher)
|
Copyright © 2007-2013 FEST (Fixtures for Easy Software Testing). All Rights Reserved.