public interface ComponentContainerFixture
| Modifier and Type | Field and Description |
|---|---|
static Timeout |
DEFAULT_DIALOG_LOOKUP_TIMEOUT
The timeout to use when looking for a dialog.
|
| Modifier and Type | Method and Description |
|---|---|
JButtonFixture |
button()
|
JButtonFixture |
button(GenericTypeMatcher<? extends JButton> matcher)
|
JButtonFixture |
button(String name)
|
JCheckBoxFixture |
checkBox()
|
JCheckBoxFixture |
checkBox(GenericTypeMatcher<? extends JCheckBox> matcher)
|
JCheckBoxFixture |
checkBox(String name)
|
JComboBoxFixture |
comboBox()
|
JComboBoxFixture |
comboBox(GenericTypeMatcher<? extends JComboBox> matcher)
|
JComboBoxFixture |
comboBox(String name)
|
DialogFixture |
dialog()
Returns the only
currently available (if any.) This method uses the value defined in
as the default lookup timeout. |
DialogFixture |
dialog(GenericTypeMatcher<? extends Dialog> matcher)
Finds a
that matches the specified search criteria. |
DialogFixture |
dialog(GenericTypeMatcher<? extends Dialog> matcher,
Timeout timeout)
Finds a
that matches the specified search criteria. |
DialogFixture |
dialog(String name)
Finds a
with a name matching the specified one. |
DialogFixture |
dialog(String name,
Timeout timeout)
Finds a
with a name matching the specified one. |
DialogFixture |
dialog(Timeout timeout)
Returns the only
currently available (if any.) |
JFileChooserFixture |
fileChooser()
Returns the only
currently available (if any.) This method uses the value
defined in as the default lookup timeout. |
JFileChooserFixture |
fileChooser(GenericTypeMatcher<? extends JFileChooser> matcher)
Finds a
that matches the specified search criteria. |
JFileChooserFixture |
fileChooser(GenericTypeMatcher<? extends JFileChooser> matcher,
Timeout timeout)
Finds a
that matches the specified search criteria. |
JFileChooserFixture |
fileChooser(String name)
Finds a
with a name matching the specified one. |
JFileChooserFixture |
fileChooser(String name,
Timeout timeout)
Finds a
with a name matching the specified one. |
JFileChooserFixture |
fileChooser(Timeout timeout)
Returns the only
currently available (if any.) |
JLabelFixture |
label()
|
JLabelFixture |
label(GenericTypeMatcher<? extends JLabel> matcher)
|
JLabelFixture |
label(String name)
|
JListFixture |
list()
|
JListFixture |
list(GenericTypeMatcher<? extends JList> matcher)
|
JListFixture |
list(String name)
|
JMenuItemFixture |
menuItem(GenericTypeMatcher<? extends JMenuItem> matcher)
|
JMenuItemFixture |
menuItem(String name)
|
JMenuItemFixture |
menuItemWithPath(String... path)
|
JOptionPaneFixture |
optionPane()
Returns the only
currently available (if any.) This method uses the value defined
in as the default lookup timeout. |
JOptionPaneFixture |
optionPane(Timeout timeout)
Returns the only
currently available (if any.) |
JPanelFixture |
panel()
|
JPanelFixture |
panel(GenericTypeMatcher<? extends JPanel> matcher)
|
JPanelFixture |
panel(String name)
|
JProgressBarFixture |
progressBar()
Returns a
found in this fixture's . |
JProgressBarFixture |
progressBar(GenericTypeMatcher<? extends JProgressBar> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JProgressBarFixture |
progressBar(String name)
Finds a
in this fixture's , which name matches
the specified one. |
JRadioButtonFixture |
radioButton()
Returns a
found in this fixture's . |
JRadioButtonFixture |
radioButton(GenericTypeMatcher<? extends JRadioButton> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JRadioButtonFixture |
radioButton(String name)
Finds a
in this fixture's , which name matches
the specified one. |
JScrollBarFixture |
scrollBar()
Returns a
found in this fixture's . |
JScrollBarFixture |
scrollBar(GenericTypeMatcher<? extends JScrollBar> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JScrollBarFixture |
scrollBar(String name)
Finds a
in this fixture's , which name matches the
specified one. |
JScrollPaneFixture |
scrollPane()
Returns a
found in this fixture's . |
JScrollPaneFixture |
scrollPane(GenericTypeMatcher<? extends JScrollPane> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JScrollPaneFixture |
scrollPane(String name)
Finds a
in this fixture's , which name matches the
specified one. |
JSliderFixture |
slider()
|
JSliderFixture |
slider(GenericTypeMatcher<? extends JSlider> matcher)
|
JSliderFixture |
slider(String name)
|
JSpinnerFixture |
spinner()
|
JSpinnerFixture |
spinner(GenericTypeMatcher<? extends JSpinner> matcher)
|
JSpinnerFixture |
spinner(String name)
|
JSplitPaneFixture |
splitPane()
Returns the
found in this fixture's . |
JSplitPaneFixture |
splitPane(GenericTypeMatcher<? extends JSplitPane> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JSplitPaneFixture |
splitPane(String name)
Finds a
in this fixture's , which name matches
the specified one. |
JTabbedPaneFixture |
tabbedPane()
Returns a
found in this fixture's . |
JTabbedPaneFixture |
tabbedPane(GenericTypeMatcher<? extends JTabbedPane> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JTabbedPaneFixture |
tabbedPane(String name)
Finds a
in this fixture's , which name matches
the specified one. |
JTableFixture |
table()
|
JTableFixture |
table(GenericTypeMatcher<? extends JTable> matcher)
|
JTableFixture |
table(String name)
|
JTextComponentFixture |
textBox()
Returns a
found in this fixture's . |
JTextComponentFixture |
textBox(GenericTypeMatcher<? extends JTextComponent> matcher)
Finds a
in this fixture's managed by this
fixture, that matches the specified search criteria. |
JTextComponentFixture |
textBox(String name)
Finds a
in this fixture's managed by this
fixture, which name matches the specified one. |
JToggleButtonFixture |
toggleButton()
Returns a
found in this fixture's . |
JToggleButtonFixture |
toggleButton(GenericTypeMatcher<? extends JToggleButton> matcher)
Finds a
in this fixture's , that matches the
specified search criteria. |
JToggleButtonFixture |
toggleButton(String name)
Finds a
in this fixture's , which name matches
the specified one. |
JToolBarFixture |
toolBar()
|
JToolBarFixture |
toolBar(GenericTypeMatcher<? extends JToolBar> matcher)
|
JToolBarFixture |
toolBar(String name)
|
JTreeFixture |
tree()
|
JTreeFixture |
tree(GenericTypeMatcher<? extends JTree> matcher)
|
JTreeFixture |
tree(String name)
|
<C extends Component,F extends ComponentFixture<C>> |
with(ComponentFixtureExtension<C,F> extension)
Returns a
managing a component inside this fixture's
. |
static final Timeout DEFAULT_DIALOG_LOOKUP_TIMEOUT
JButtonFixture button()
JButton found.ComponentLookupException - if a JButton could not be found.ComponentLookupException - if more than one JButton is found.JButtonFixture button(GenericTypeMatcher<? extends JButton> matcher)
matcher - contains the search criteria for finding a JButton.JButton found.ComponentLookupException - if a JButton that matches the given search criteria could not be
found.ComponentLookupException - if more than one JButton that matches the given search criteria is
found.JButtonFixture button(String name)
name - the name to match.JButton found.ComponentLookupException - if a JButton having a matching name could not be found.ComponentLookupException - if more than one JButton having a matching name is found.JCheckBoxFixture checkBox()
JCheckBox found.ComponentLookupException - if a JCheckBox could not be found.ComponentLookupException - if more than one JCheckBox is found.JCheckBoxFixture checkBox(GenericTypeMatcher<? extends JCheckBox> matcher)
matcher - contains the search criteria for finding a JCheckBox.JCheckBox found.ComponentLookupException - if a JCheckBox that matches the given search criteria could not be
found.ComponentLookupException - if more than one JCheckBox that matches the given search criteria is
found.JCheckBoxFixture checkBox(String name)
name - the name to match.JCheckBox found.ComponentLookupException - if a JCheckBox having a matching name could not be found.JComboBoxFixture comboBox()
JComboBox found.ComponentLookupException - if a JComboBox could not be found.ComponentLookupException - if more than one JComboBox is found.JComboBoxFixture comboBox(GenericTypeMatcher<? extends JComboBox> matcher)
matcher - contains the search criteria for finding a JComboBox.JComboBox found.ComponentLookupException - if a JComboBox that matches the given search criteria could not be
found.ComponentLookupException - if more than one JComboBox that matches the given search criteria is
found.JComboBoxFixture comboBox(String name)
name - the name to match.JComboBox found.ComponentLookupException - if a JComboBox having a matching name could not be found.ComponentLookupException - if more than one JComboBox having a matching name is found.DialogFixture dialog()
Dialog currently available (if any.) This method uses the value defined in
DEFAULT_DIALOG_LOOKUP_TIMEOUT as the default lookup timeout.Dialog found.WaitTimedOutError - if a Dialog could not be found.dialog(Timeout)DialogFixture dialog(Timeout timeout)
Dialog currently available (if any.)timeout - the amount of time to wait for a Dialog to be found.Dialog found.WaitTimedOutError - if a Dialog could not be found.DialogFixture dialog(GenericTypeMatcher<? extends Dialog> matcher)
Dialog that matches the specified search criteria. This method uses the value defined
in DEFAULT_DIALOG_LOOKUP_TIMEOUT as the default lookup timeout.matcher - contains the search criteria for finding a Dialog.Dialog found.WaitTimedOutError - if a Dialog that matches the given search criteria could not be found.dialog(GenericTypeMatcher, Timeout)DialogFixture dialog(GenericTypeMatcher<? extends Dialog> matcher, Timeout timeout)
Dialog that matches the specified search criteria.matcher - contains the search criteria for finding a Dialog.timeout - the amount of time to wait for a Dialog to be found.Dialog found.WaitTimedOutError - if a Dialog that matches the given search criteria could not be found.DialogFixture dialog(String name)
Dialog with a name matching the specified one. This method uses the value defined in
DEFAULT_DIALOG_LOOKUP_TIMEOUT as the default lookup timeout.name - the name to match.Dialog found.WaitTimedOutError - if a Dialog that a matching name could not be found.dialog(String, Timeout)DialogFixture dialog(String name, Timeout timeout)
Dialog with a name matching the specified one.name - the name to match.timeout - the amount of time to wait for a Dialog to be found.Dialog found.WaitTimedOutError - if a Dialog that a matching name could not be found.JFileChooserFixture fileChooser()
JFileChooser currently available (if any.) This method uses the value
defined in DEFAULT_DIALOG_LOOKUP_TIMEOUT as the default lookup timeout.JFileChooser found.WaitTimedOutError - if a JFileChooser could not be found.fileChooser(Timeout)JFileChooserFixture fileChooser(Timeout timeout)
JFileChooser currently available (if any.)timeout - the amount of time to wait for a JFileChooser to be found.JFileChooser found.WaitTimedOutError - if a JFileChooser could not be found.JFileChooserFixture fileChooser(GenericTypeMatcher<? extends JFileChooser> matcher)
JFileChooser that matches the specified search criteria. This method uses the value
defined in DEFAULT_DIALOG_LOOKUP_TIMEOUT as the default lookup timeout.matcher - contains the search criteria for finding a JFileChooser.JFileChooser found.WaitTimedOutError - if a JFileChooser could not be found.fileChooser(GenericTypeMatcher, Timeout)JFileChooserFixture fileChooser(GenericTypeMatcher<? extends JFileChooser> matcher, Timeout timeout)
JFileChooser that matches the specified search criteria.matcher - contains the search criteria for finding a JFileChooser.timeout - the amount of time to wait for a JFileChooser to be found.JFileChooser found.WaitTimedOutError - if a JFileChooser could not be found.JFileChooserFixture fileChooser(String name)
JFileChooser with a name matching the specified one. This method uses the value
defined in DEFAULT_DIALOG_LOOKUP_TIMEOUT as the default lookup timeout.name - the name to match.JFileChooser found.WaitTimedOutError - if a JFileChooser could not be found.fileChooser(String, Timeout)JFileChooserFixture fileChooser(String name, Timeout timeout)
JFileChooser with a name matching the specified one.name - the name to match.timeout - the amount of time to wait for a JFileChooser to be found.JFileChooser found.WaitTimedOutError - if a JFileChooser could not be found.JLabelFixture label()
JLabel found.ComponentLookupException - if a JLabel could not be found.ComponentLookupException - if more than one JLabel is found.JLabelFixture label(GenericTypeMatcher<? extends JLabel> matcher)
matcher - contains the search criteria for finding a JLabel.JLabel found.ComponentLookupException - if a JLabel that matches the given search criteria could not be
found.ComponentLookupException - if more than one JLabel that matches the given search criteria is
found.JLabelFixture label(String name)
name - the name to match.JLabel found.ComponentLookupException - if a JLabel having a matching name could not be found.ComponentLookupException - if more than one JLabel having a matching name could is found.JListFixture list()
JList found.ComponentLookupException - if a JList could not be found.ComponentLookupException - if more than one JList is found.JListFixture list(GenericTypeMatcher<? extends JList> matcher)
matcher - contains the search criteria for finding a JList.JList found.ComponentLookupException - if a JList that matches the given search criteria could not be found.ComponentLookupException - if more than one JList that matches the given search criteria is
found.JListFixture list(String name)
name - the name to match.JList found.ComponentLookupException - if a JList having a matching name could not be found.ComponentLookupException - if more than one JList having a matching name is found.JMenuItemFixture menuItemWithPath(String... path)
JMenuItem in this fixture's Container, which path matches
the given one.
For example, if we are looking for the menu with text "New" contained under the menu with text "File", we can simply call
JMenuItemFixture menuItem = container.menuItemWithPath("File", "Menu");
path - the path of the menu to find.JMenuItem found.ComponentLookupException - if a JMenuItem under the given path could not be found.AssertionError - if the Component found under the given path is not a JMenuItem.JMenuItemFixture menuItem(String name)
name - the name to match.JMenuItem found.ComponentLookupException - if a JMenuItem having a matching name could not be found.ComponentLookupException - if more than one JMenuItem having a matching name is found.JMenuItemFixture menuItem(GenericTypeMatcher<? extends JMenuItem> matcher)
JMenuItem, contained in this fixture's Container,
that matches the specified search criteria.matcher - contains the search criteria for finding a JMenuItem.JMenuItem found.ComponentLookupException - if a JMenuItem that matches the given search criteria could not be
found.ComponentLookupException - if more than one JMenuItem that matches the given search criteria is
found.JOptionPaneFixture optionPane()
JOptionPane currently available (if any.) This method uses the value defined
in DEFAULT_DIALOG_LOOKUP_TIMEOUT as the default lookup timeout.JOptionPane found.WaitTimedOutError - if a JOptionPane could not be found.optionPane(Timeout)JOptionPaneFixture optionPane(Timeout timeout)
JOptionPane currently available (if any.)timeout - the amount of time to wait for a JOptionPane to be found.JOptionPane found.WaitTimedOutError - if a JOptionPane could not be found.JPanelFixture panel()
JPanel found.ComponentLookupException - if a JPanel could not be found.ComponentLookupException - if more than one JPanel is found.JPanelFixture panel(GenericTypeMatcher<? extends JPanel> matcher)
matcher - contains the search criteria for finding a JPanel.JPanel found.ComponentLookupException - if a JPanel that matches the given search criteria could not be
found.ComponentLookupException - if more than one JPanel that matches the given search criteria is
found.JPanelFixture panel(String name)
name - the name to match.JPanel found.ComponentLookupException - if a JPanel having a matching name could not be found.JProgressBarFixture progressBar()
JProgressBar found in this fixture's Container.JProgressBar found.ComponentLookupException - if a JProgressBar could not be found.ComponentLookupException - if more than one JProgressBar is found.JProgressBarFixture progressBar(GenericTypeMatcher<? extends JProgressBar> matcher)
JProgressBar in this fixture's Container, that matches the
specified search criteria.matcher - contains the search criteria for finding a JProgressBar.JProgressBar found.ComponentLookupException - if a JProgressBar that matches the given search criteria could not be
found.ComponentLookupException - if more than one JProgressBar that matches the given search criteria
is found.JProgressBarFixture progressBar(String name)
JProgressBar in this fixture's Container, which name matches
the specified one.name - the name to match.JProgressBar found.ComponentLookupException - if a JProgressBar having a matching name could not be found.JRadioButtonFixture radioButton()
JRadioButton found in this fixture's Container.JRadioButton found.ComponentLookupException - if a JRadioButton could not be found.ComponentLookupException - if more than one JRadioButton is found.JRadioButtonFixture radioButton(GenericTypeMatcher<? extends JRadioButton> matcher)
JRadioButton in this fixture's Container, that matches the
specified search criteria.matcher - contains the search criteria for finding a JRadioButton.JRadioButton found.ComponentLookupException - if a JRadioButton that matches the given search criteria could not be
found.ComponentLookupException - if more than one JRadioButton that matches the given search criteria
is found.JRadioButtonFixture radioButton(String name)
JRadioButton in this fixture's Container, which name matches
the specified one.name - the name to match.JRadioButton found.ComponentLookupException - if a JRadioButton having a matching name could not be found.ComponentLookupException - if more than one JRadioButton having a matching name is found.JScrollBarFixture scrollBar()
JScrollBar found in this fixture's Container.JScrollBar found.ComponentLookupException - if a JScrollBar could not be found.ComponentLookupException - if more than one JScrollBar is found.JScrollBarFixture scrollBar(GenericTypeMatcher<? extends JScrollBar> matcher)
JScrollBar in this fixture's Container, that matches the
specified search criteria.matcher - contains the search criteria for finding a JScrollBar.JScrollBar found.ComponentLookupException - if a JScrollBar that matches the given search criteria could not be
found.ComponentLookupException - if more than one JScrollBar that matches the given search criteria is
found.JScrollBarFixture scrollBar(String name)
JScrollBar in this fixture's Container, which name matches the
specified one.name - the name to match.JScrollBar found.ComponentLookupException - if a JScrollBar having a matching name could not be found.ComponentLookupException - if more than one JScrollBar having a matching name is found.JScrollPaneFixture scrollPane()
JScrollPane found in this fixture's Container.JScrollPane found.ComponentLookupException - if a JScrollPane could not be found.ComponentLookupException - if more than one JScrollPane is found.JScrollPaneFixture scrollPane(GenericTypeMatcher<? extends JScrollPane> matcher)
JScrollPane in this fixture's Container, that matches the
specified search criteria.matcher - contains the search criteria for finding a JScrollPane.JScrollPane found.ComponentLookupException - if a JScrollPane that matches the given search criteria could not be
found.ComponentLookupException - if more than one JScrollPane that matches the given search criteria
is found.JScrollPaneFixture scrollPane(String name)
JScrollPane in this fixture's Container, which name matches the
specified one.name - the name to match.JScrollPane found.ComponentLookupException - if a JScrollPane having a matching name could not be found.ComponentLookupException - if more than one JScrollPane having a matching name is found.JSliderFixture slider()
JSlider found.ComponentLookupException - if a JSlider could not be found.ComponentLookupException - if more than one JSlider is found.JSliderFixture slider(GenericTypeMatcher<? extends JSlider> matcher)
matcher - contains the search criteria for finding a JSlider.JSlider found.ComponentLookupException - if a JSlider that matches the given search criteria could not be
found.ComponentLookupException - if more than one JSlider that matches the given search criteria is
found.JSliderFixture slider(String name)
name - the name to match.JSlider found.ComponentLookupException - if a JSlider having a matching name could not be found.ComponentLookupException - if more than one JSlider having a matching name is found.JSpinnerFixture spinner()
JSpinner found.ComponentLookupException - if a JSpinner could not be found.ComponentLookupException - if more than one JSpinner is found.JSpinnerFixture spinner(GenericTypeMatcher<? extends JSpinner> matcher)
matcher - contains the search criteria for finding a JSpinner.JSpinner found.ComponentLookupException - if a JSpinner that matches the given search criteria could not be
found.ComponentLookupException - if more than one JSpinner that matches the given search criteria is
found.JSpinnerFixture spinner(String name)
name - the name to match.JSpinner found.ComponentLookupException - if a JSpinner having a matching name could not be found.ComponentLookupException - if more than one JSpinner having a matching name is found.JSplitPaneFixture splitPane()
JSplitPane found in this fixture's Container.JSplitPane found.ComponentLookupException - if a JSplitPane could not be found.ComponentLookupException - if more than one JSplitPane is found.JSplitPaneFixture splitPane(GenericTypeMatcher<? extends JSplitPane> matcher)
JSplitPane in this fixture's Container, that matches the
specified search criteria.matcher - contains the search criteria for finding a JSplitPane.JSplitPane found.ComponentLookupException - if a JSplitPane that matches the given search criteria could not be
found.ComponentLookupException - if more than one JSplitPane that matches the given search criteria is
found.JSplitPaneFixture splitPane(String name)
JSplitPane in this fixture's Container, which name matches
the specified one.name - the name to match.JSplitPane found.ComponentLookupException - if a JSplitPane having a matching name could not be found.ComponentLookupException - if more than one JSplitPane having a matching name is found.JTabbedPaneFixture tabbedPane()
JTabbedPane found in this fixture's Container.JTabbedPane found.ComponentLookupException - if a JTabbedPane could not be found.ComponentLookupException - if more than one JTabbedPane is found.JTabbedPaneFixture tabbedPane(GenericTypeMatcher<? extends JTabbedPane> matcher)
JTabbedPane in this fixture's Container, that matches the
specified search criteria.matcher - contains the search criteria for finding a JTabbedPane.JTabbedPane found.ComponentLookupException - if a JTabbedPane that matches the given search criteria could not be
found.ComponentLookupException - if more than one JTabbedPane that matches the given search criteria
is found.JTabbedPaneFixture tabbedPane(String name)
JTabbedPane in this fixture's Container, which name matches
the specified one.name - the name to match.JTabbedPane found.ComponentLookupException - if a JTabbedPane having a matching name could not be found.ComponentLookupException - if more than one JTabbedPane having a matching name is found.JTableFixture table()
JTable found.ComponentLookupException - if a JTable having a matching name could not be found.ComponentLookupException - if more than one JTable having a matching name is found.JTableFixture table(GenericTypeMatcher<? extends JTable> matcher)
matcher - contains the search criteria for finding a JTable.JTable found.ComponentLookupException - if a JTable that matches the given search criteria could not be
found.ComponentLookupException - if more than one JTable that matches the given search criteria is
found.JTableFixture table(String name)
name - the name to match.JTable found.ComponentLookupException - if a JTable having a matching name could not be found.ComponentLookupException - if more than one JTable having a matching name is found.JTextComponentFixture textBox()
JTextComponent found in this fixture's Container.JTextComponent found.ComponentLookupException - if a JTextComponent having a matching name could not be found.ComponentLookupException - if more than one JTextComponent having a matching name is found.JTextComponentFixture textBox(GenericTypeMatcher<? extends JTextComponent> matcher)
JTextComponent in this fixture's Container managed by this
fixture, that matches the specified search criteria.matcher - contains the search criteria for finding a JTextComponent.JTextComponent found.ComponentLookupException - if a JTextComponent that matches the given search criteria could not
be found.ComponentLookupException - if more than one JTextComponent that matches the given search
criteria is found.JTextComponentFixture textBox(String name)
JTextComponent in this fixture's Container managed by this
fixture, which name matches the specified one.name - the name to match.JTextComponent found.ComponentLookupException - if a JTextComponent having a matching name could not be found.ComponentLookupException - if more than one JTextComponent having a matching name is found.JToggleButtonFixture toggleButton()
JToggleButton found in this fixture's Container.JToggleButton found.ComponentLookupException - if a JToggleButton could not be found.ComponentLookupException - if more than one JToggleButton is found.JToggleButtonFixture toggleButton(GenericTypeMatcher<? extends JToggleButton> matcher)
JToggleButton in this fixture's Container, that matches the
specified search criteria.matcher - contains the search criteria for finding a JToggleButton.JToggleButton found.ComponentLookupException - if a JToggleButton that matches the given search criteria could not
be found.ComponentLookupException - if more than one JToggleButton that matches the given search criteria
is found.JToggleButtonFixture toggleButton(String name)
JToggleButton in this fixture's Container, which name matches
the specified one.name - the name to match.JToggleButton found.ComponentLookupException - if a JToggleButton having a matching name could not be found.ComponentLookupException - if more than one JToggleButton having a matching name is found.JToolBarFixture toolBar()
JToolBar found.ComponentLookupException - if a JToolBar having a matching name could not be found.ComponentLookupException - if more than one JToolBar having a matching name could is found.JToolBarFixture toolBar(GenericTypeMatcher<? extends JToolBar> matcher)
matcher - contains the search criteria for finding a JToolBar.JToolBar found.ComponentLookupException - if a JToolBar that matches the given search criteria could not be
found.ComponentLookupException - if more than one JToolBar that matches the given search criteria is
found.JToolBarFixture toolBar(String name)
name - the name to match.JToolBar found.ComponentLookupException - if a JToolBar having a matching name could not be found.ComponentLookupException - if more than one JToolBar having a matching name is found.JTreeFixture tree()
JTree found.ComponentLookupException - if a JTree having a matching name could not be found.ComponentLookupException - if more than one JTree having a matching name is found.JTreeFixture tree(GenericTypeMatcher<? extends JTree> matcher)
matcher - contains the search criteria for finding a JTree.JTree found.ComponentLookupException - if a JTree that matches the given search criteria could not be found.ComponentLookupException - if more than one JTree that matches the given search criteria is
found.JTreeFixture tree(String name)
name - the name to match.JTree found.ComponentLookupException - if a JTree having a matching name could not be found.ComponentLookupException - if more than one JTree having a matching name is found.<C extends Component,F extends ComponentFixture<C>> F with(ComponentFixtureExtension<C,F> extension)
ComponentFixture managing a component inside this fixture's
Container. This is an extension method, to allow implementations of
ContainerFixture handle custom GUI components.C - the type of Component the fixture to return can handle.F - the type of ComponentFixture to return.extension - the ComponentFixtureExtension that creates the ComponentFixture to
return.ComponentFixture managing a component inside this fixture's Container.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.