|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fest.swing.fixture.ComponentFixture<T>
org.fest.swing.fixture.ContainerFixture<T>
T - the type of container handled by this fixture.public abstract class ContainerFixture<T extends Container>
Understands lookup of s contained in a Component.
Container
| Field Summary |
|---|
| Fields inherited from class org.fest.swing.fixture.ComponentFixture |
|---|
BACKGROUND_PROPERTY, FONT_PROPERTY, FOREGROUND_PROPERTY, robot, target |
| Fields inherited from interface org.fest.swing.fixture.ComponentContainerFixture |
|---|
DEFAULT_DIALOG_LOOKUP_TIMEOUT |
| Constructor Summary | |
|---|---|
ContainerFixture(Robot robot,
Class<? extends T> type)
Creates a new . |
|
ContainerFixture(Robot robot,
String name,
Class<? extends T> type)
Creates a new . |
|
ContainerFixture(Robot robot,
T target)
Creates a new . |
|
| Method Summary | ||
|---|---|---|
JButtonFixture |
button()
Returns a found in this fixture's . |
|
JButtonFixture |
button(GenericTypeMatcher<? extends JButton> matcher)
Finds a in this fixture's , that matches the
specified search criteria. |
|
JButtonFixture |
button(String name)
Finds a in this fixture's , which name matches the
specified one. |
|
JCheckBoxFixture |
checkBox()
Returns a found in this fixture's . |
|
JCheckBoxFixture |
checkBox(GenericTypeMatcher<? extends JCheckBox> matcher)
Finds a in this fixture's , that matches the
specified search criteria. |
|
JCheckBoxFixture |
checkBox(String name)
Finds a in this fixture's , which name matches
the specified one. |
|
JComboBoxFixture |
comboBox()
Returns a found in this fixture's . |
|
JComboBoxFixture |
comboBox(GenericTypeMatcher<? extends JComboBox> matcher)
Finds a in this fixture's , that matches the
specified search criteria. |
|
JComboBoxFixture |
comboBox(String name)
Finds a in this fixture's , which name matches
the specified one. |
|
DialogFixture |
dialog()
Returns the only currently available (if any.) |
|
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.) |
|
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.) |
|
protected
|
find(GenericTypeMatcher<? extends C> matcher)
Finds a using the given , contained in this
fixture's . |
|
protected
|
findByName(String name,
Class<C> type)
Finds a component by name and type, contained in this fixture's . |
|
protected
|
findByType(Class<C> type)
Finds a component by type, contained in this fixture's . |
|
protected ComponentFinder |
finder()
Returns the contained in this fixture's . |
|
JLabelFixture |
label()
Returns a found in this fixture's . |
|
JLabelFixture |
label(GenericTypeMatcher<? extends JLabel> matcher)
Finds a in this fixture's , that matches the
specified search criteria. |
|
JLabelFixture |
label(String name)
Finds a in this fixture's , which name matches the
specified one. |
|
JListFixture |
list()
Returns a found in this fixture's . |
|
JListFixture |
list(GenericTypeMatcher<? extends JList> matcher)
Finds a in this fixture's , that matches the
specified search criteria. |
|
JListFixture |
list(String name)
Finds a in this fixture's , which name matches the
specified one. |
|
JMenuItemFixture |
menuItem(GenericTypeMatcher<? extends JMenuItem> matcher)
Finds a , contained in this fixture's ,
that matches the specified search criteria. |
|
JMenuItemFixture |
menuItem(String name)
Finds a , contained in this fixture's ,
which name matches the specified one. |
|
JMenuItemFixture |
menuItemWithPath(String... path)
Finds a in this fixture's , which path matches
the given one. |
|
JOptionPaneFixture |
optionPane()
Returns the only currently available (if any.) |
|
JOptionPaneFixture |
optionPane(Timeout timeout)
Returns the only currently available (if any.) |
|
JPanelFixture |
panel()
Returns a found in this fixture's . |
|
JPanelFixture |
panel(GenericTypeMatcher<? extends JPanel> matcher)
Finds a in this fixture's , that matches the
specified search criteria. |
|
JPanelFixture |
panel(String name)
Finds a in this fixture's , which name matches
the specified one. |
|
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()
Returns a found in this fixture's . |
|
JSliderFixture |
slider(GenericTypeMatcher<? extends JSlider> matcher)
Finds a in this fixture's , that matches the
specified search criteria. |
|
JSliderFixture |
slider(String name)
Finds a in this fixture's , which name matches the
specified one. |
|
JSpinnerFixture |
spinner()
Returns a found in this fixture's . |
|
JSpinnerFixture |
spinner(GenericTypeMatcher<? extends JSpinner> matcher)
Finds a in this fixture's , that matches the
specified search criteria. |
|
JSpinnerFixture |
spinner(String name)
Finds a in this fixture's , which name matches the
specified one. |
|
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()
Returns a found in this fixture's . |
|
JTableFixture |
table(GenericTypeMatcher<? extends JTable> matcher)
Finds a in this fixture's , that matches the
specified search criteria. |
|
JTableFixture |
table(String name)
Finds a in this fixture's , which name matches the
specified one. |
|
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()
Returns a found in this fixture's . |
|
JToolBarFixture |
toolBar(GenericTypeMatcher<? extends JToolBar> matcher)
Finds a in this fixture's , that matches the
specified search criteria. |
|
JToolBarFixture |
toolBar(String name)
Finds a in this fixture's , which name matches the
specified one. |
|
JTreeFixture |
tree()
Returns a found in this fixture's . |
|
JTreeFixture |
tree(GenericTypeMatcher<? extends JTree> matcher)
Finds a in this fixture's , that matches the
specified search criteria. |
|
JTreeFixture |
tree(String name)
Finds a in this fixture's , which name matches the
specified one. |
|
|
with(ComponentFixtureExtension<C,F> extension)
Returns a managing a component inside this fixture's
. |
|
| Methods inherited from class org.fest.swing.fixture.ComponentFixture |
|---|
background, component, font, foreground, requireShowing, targetCastedTo, validateNotNull |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContainerFixture(Robot robot,
Class<? extends T> type)
ContainerFixture.
robot - performs simulation of user events on a Container.type - the type of the Container to find using the given Robot.
NullPointerException - if robot is null.
NullPointerException - if type is null.
ComponentLookupException - if a matching component could not be found.
ComponentLookupException - if more than one matching component is found.ComponentFinder.findByType(Class)
public ContainerFixture(Robot robot,
String name,
Class<? extends T> type)
ContainerFixture.
robot - performs simulation of user events on a Container.name - the name of the Container to find using the given Robot.type - the type of the Container to find using the given Robot.
NullPointerException - if robot is null.
NullPointerException - if type is null.
ComponentLookupException - if a matching component could not be found.
ComponentLookupException - if more than one matching component is found.ComponentFinder.findByName(String, Class)
public ContainerFixture(Robot robot,
T target)
ContainerFixture.
robot - performs simulation of user events on the given Container.target - the Container to be.
NullPointerException - if robot is null.
NullPointerException - if target is null.| Method Detail |
|---|
public JButtonFixture button()
JButton found in this fixture's Container.
button in interface ComponentContainerFixtureJButton found.public JButtonFixture button(GenericTypeMatcher<? extends JButton> matcher)
JButton in this fixture's Container, that matches the
specified search criteria.
button in interface ComponentContainerFixturematcher - contains the search criteria for finding a JButton.
JButton found.public JButtonFixture button(String name)
JButton in this fixture's Container, which name matches the
specified one.
button in interface ComponentContainerFixturename - the name to match.
JButton found.public JCheckBoxFixture checkBox()
JCheckBox found in this fixture's Container.
checkBox in interface ComponentContainerFixtureJCheckBox found.public JCheckBoxFixture checkBox(GenericTypeMatcher<? extends JCheckBox> matcher)
JCheckBox in this fixture's Container, that matches the
specified search criteria.
checkBox in interface ComponentContainerFixturematcher - contains the search criteria for finding a JCheckBox.
JCheckBox found.public JCheckBoxFixture checkBox(String name)
JCheckBox in this fixture's Container, which name matches
the specified one.
checkBox in interface ComponentContainerFixturename - the name to match.
JCheckBox found.public JComboBoxFixture comboBox()
JComboBox found in this fixture's Container.
comboBox in interface ComponentContainerFixtureJComboBox found.public JComboBoxFixture comboBox(GenericTypeMatcher<? extends JComboBox> matcher)
JComboBox in this fixture's Container, that matches the
specified search criteria.
comboBox in interface ComponentContainerFixturematcher - contains the search criteria for finding a JComboBox.
JComboBox found.public JComboBoxFixture comboBox(String name)
JComboBox in this fixture's Container, which name matches
the specified one.
comboBox in interface ComponentContainerFixturename - the name to match.
JComboBox found.public DialogFixture dialog()
Dialog currently available (if any.) This method uses the value defined in
ComponentContainerFixture.DEFAULT_DIALOG_LOOKUP_TIMEOUT as the default lookup timeout.
dialog in interface ComponentContainerFixtureDialog found.ComponentContainerFixture.dialog(Timeout)public DialogFixture dialog(Timeout timeout)
Dialog currently available (if any.)
dialog in interface ComponentContainerFixturetimeout - the amount of time to wait for a Dialog to be found.
Dialog found.public DialogFixture dialog(GenericTypeMatcher<? extends Dialog> matcher)
Dialog that matches the specified search criteria. This method uses the value defined
in ComponentContainerFixture.DEFAULT_DIALOG_LOOKUP_TIMEOUT as the default lookup timeout.
dialog in interface ComponentContainerFixturematcher - contains the search criteria for finding a Dialog.
Dialog found.ComponentContainerFixture.dialog(GenericTypeMatcher, Timeout)
public DialogFixture dialog(GenericTypeMatcher<? extends Dialog> matcher,
Timeout timeout)
Dialog that matches the specified search criteria.
dialog in interface ComponentContainerFixturematcher - contains the search criteria for finding a Dialog.timeout - the amount of time to wait for a Dialog to be found.
Dialog found.public DialogFixture dialog(String name)
Dialog with a name matching the specified one. This method uses the value defined in
ComponentContainerFixture.DEFAULT_DIALOG_LOOKUP_TIMEOUT as the default lookup timeout.
dialog in interface ComponentContainerFixturename - the name to match.
Dialog found.ComponentContainerFixture.dialog(String, Timeout)
public DialogFixture dialog(String name,
Timeout timeout)
Dialog with a name matching the specified one.
dialog in interface ComponentContainerFixturename - the name to match.timeout - the amount of time to wait for a Dialog to be found.
Dialog found.public JFileChooserFixture fileChooser()
JFileChooser currently available (if any.) This method uses the value
defined in ComponentContainerFixture.DEFAULT_DIALOG_LOOKUP_TIMEOUT as the default lookup timeout.
fileChooser in interface ComponentContainerFixtureJFileChooser found.ComponentContainerFixture.fileChooser(Timeout)public JFileChooserFixture fileChooser(Timeout timeout)
JFileChooser currently available (if any.)
fileChooser in interface ComponentContainerFixturetimeout - the amount of time to wait for a JFileChooser to be found.
JFileChooser found.public JFileChooserFixture fileChooser(GenericTypeMatcher<? extends JFileChooser> matcher)
JFileChooser that matches the specified search criteria. This method uses the value
defined in ComponentContainerFixture.DEFAULT_DIALOG_LOOKUP_TIMEOUT as the default lookup timeout.
fileChooser in interface ComponentContainerFixturematcher - contains the search criteria for finding a JFileChooser.
JFileChooser found.ComponentContainerFixture.fileChooser(GenericTypeMatcher, Timeout)
public JFileChooserFixture fileChooser(GenericTypeMatcher<? extends JFileChooser> matcher,
Timeout timeout)
JFileChooser that matches the specified search criteria.
fileChooser in interface ComponentContainerFixturematcher - contains the search criteria for finding a JFileChooser.timeout - the amount of time to wait for a JFileChooser to be found.
JFileChooser found.public JFileChooserFixture fileChooser(String name)
JFileChooser with a name matching the specified one. This method uses the value
defined in ComponentContainerFixture.DEFAULT_DIALOG_LOOKUP_TIMEOUT as the default lookup timeout.
fileChooser in interface ComponentContainerFixturename - the name to match.
JFileChooser found.ComponentContainerFixture.fileChooser(String, Timeout)
public JFileChooserFixture fileChooser(String name,
Timeout timeout)
JFileChooser with a name matching the specified one.
fileChooser in interface ComponentContainerFixturename - the name to match.timeout - the amount of time to wait for a JFileChooser to be found.
JFileChooser found.public JLabelFixture label()
JLabel found in this fixture's Container.
label in interface ComponentContainerFixtureJLabel found.public JLabelFixture label(GenericTypeMatcher<? extends JLabel> matcher)
JLabel in this fixture's Container, that matches the
specified search criteria.
label in interface ComponentContainerFixturematcher - contains the search criteria for finding a JLabel.
JLabel found.public JLabelFixture label(String name)
JLabel in this fixture's Container, which name matches the
specified one.
label in interface ComponentContainerFixturename - the name to match.
JLabel found.public JListFixture list()
JList found in this fixture's Container.
list in interface ComponentContainerFixtureJList found.public JListFixture list(GenericTypeMatcher<? extends JList> matcher)
JList in this fixture's Container, that matches the
specified search criteria.
list in interface ComponentContainerFixturematcher - contains the search criteria for finding a JList.
JList found.public JListFixture list(String name)
JList in this fixture's Container, which name matches the
specified one.
list in interface ComponentContainerFixturename - the name to match.
JList found.public 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");
menuItemWithPath in interface ComponentContainerFixturepath - the path of the menu to find.
JMenuItem found.public JMenuItemFixture menuItem(String name)
JMenuItem, contained in this fixture's Container,
which name matches the specified one.
menuItem in interface ComponentContainerFixturename - the name to match.
JMenuItem found.public JMenuItemFixture menuItem(GenericTypeMatcher<? extends JMenuItem> matcher)
JMenuItem, contained in this fixture's Container,
that matches the specified search criteria.
menuItem in interface ComponentContainerFixturematcher - contains the search criteria for finding a JMenuItem.
JMenuItem found.public JOptionPaneFixture optionPane()
JOptionPane currently available (if any.) This method uses the value defined
in ComponentContainerFixture.DEFAULT_DIALOG_LOOKUP_TIMEOUT as the default lookup timeout.
optionPane in interface ComponentContainerFixtureJOptionPane found.ComponentContainerFixture.optionPane(Timeout)public JOptionPaneFixture optionPane(Timeout timeout)
JOptionPane currently available (if any.)
optionPane in interface ComponentContainerFixturetimeout - the amount of time to wait for a JOptionPane to be found.
JOptionPane found.public JPanelFixture panel()
JPanel found in this fixture's Container.
panel in interface ComponentContainerFixtureJPanel found.public JPanelFixture panel(GenericTypeMatcher<? extends JPanel> matcher)
JPanel in this fixture's Container, that matches the
specified search criteria.
panel in interface ComponentContainerFixturematcher - contains the search criteria for finding a JPanel.
JPanel found.public JPanelFixture panel(String name)
JPanel in this fixture's Container, which name matches
the specified one.
panel in interface ComponentContainerFixturename - the name to match.
JPanel found.public JProgressBarFixture progressBar()
JProgressBar found in this fixture's Container.
progressBar in interface ComponentContainerFixtureJProgressBar found.public JProgressBarFixture progressBar(GenericTypeMatcher<? extends JProgressBar> matcher)
JProgressBar in this fixture's Container, that matches the
specified search criteria.
progressBar in interface ComponentContainerFixturematcher - contains the search criteria for finding a JProgressBar.
JProgressBar found.public JProgressBarFixture progressBar(String name)
JProgressBar in this fixture's Container, which name matches
the specified one.
progressBar in interface ComponentContainerFixturename - the name to match.
JProgressBar found.public JRadioButtonFixture radioButton()
JRadioButton found in this fixture's Container.
radioButton in interface ComponentContainerFixtureJRadioButton found.public JRadioButtonFixture radioButton(GenericTypeMatcher<? extends JRadioButton> matcher)
JRadioButton in this fixture's Container, that matches the
specified search criteria.
radioButton in interface ComponentContainerFixturematcher - contains the search criteria for finding a JRadioButton.
JRadioButton found.public JRadioButtonFixture radioButton(String name)
JRadioButton in this fixture's Container, which name matches
the specified one.
radioButton in interface ComponentContainerFixturename - the name to match.
JRadioButton found.public JScrollBarFixture scrollBar()
JScrollBar found in this fixture's Container.
scrollBar in interface ComponentContainerFixtureJScrollBar found.public JScrollBarFixture scrollBar(GenericTypeMatcher<? extends JScrollBar> matcher)
JScrollBar in this fixture's Container, that matches the
specified search criteria.
scrollBar in interface ComponentContainerFixturematcher - contains the search criteria for finding a JScrollBar.
JScrollBar found.public JScrollBarFixture scrollBar(String name)
JScrollBar in this fixture's Container, which name matches the
specified one.
scrollBar in interface ComponentContainerFixturename - the name to match.
JScrollBar found.public JScrollPaneFixture scrollPane()
JScrollPane found in this fixture's Container.
scrollPane in interface ComponentContainerFixtureJScrollPane found.public JScrollPaneFixture scrollPane(GenericTypeMatcher<? extends JScrollPane> matcher)
JScrollPane in this fixture's Container, that matches the
specified search criteria.
scrollPane in interface ComponentContainerFixturematcher - contains the search criteria for finding a JScrollPane.
JScrollPane found.public JScrollPaneFixture scrollPane(String name)
JScrollPane in this fixture's Container, which name matches the
specified one.
scrollPane in interface ComponentContainerFixturename - the name to match.
JScrollPane found.public JSliderFixture slider()
JSlider found in this fixture's Container.
slider in interface ComponentContainerFixtureJSlider found.public JSliderFixture slider(GenericTypeMatcher<? extends JSlider> matcher)
JSlider in this fixture's Container, that matches the
specified search criteria.
slider in interface ComponentContainerFixturematcher - contains the search criteria for finding a JSlider.
JSlider found.public JSliderFixture slider(String name)
JSlider in this fixture's Container, which name matches the
specified one.
slider in interface ComponentContainerFixturename - the name to match.
JSlider found.public JSpinnerFixture spinner()
JSpinner found in this fixture's Container.
spinner in interface ComponentContainerFixtureJSpinner found.public JSpinnerFixture spinner(GenericTypeMatcher<? extends JSpinner> matcher)
JSpinner in this fixture's Container, that matches the
specified search criteria.
spinner in interface ComponentContainerFixturematcher - contains the search criteria for finding a JSpinner.
JSpinner found.public JSpinnerFixture spinner(String name)
JSpinner in this fixture's Container, which name matches the
specified one.
spinner in interface ComponentContainerFixturename - the name to match.
JSpinner found.public JSplitPaneFixture splitPane()
JSplitPane found in this fixture's Container.
splitPane in interface ComponentContainerFixtureJSplitPane found.public JSplitPaneFixture splitPane(GenericTypeMatcher<? extends JSplitPane> matcher)
JSplitPane in this fixture's Container, that matches the
specified search criteria.
splitPane in interface ComponentContainerFixturematcher - contains the search criteria for finding a JSplitPane.
JSplitPane found.public JSplitPaneFixture splitPane(String name)
JSplitPane in this fixture's Container, which name matches
the specified one.
splitPane in interface ComponentContainerFixturename - the name to match.
JSplitPane found.public JTabbedPaneFixture tabbedPane()
JTabbedPane found in this fixture's Container.
tabbedPane in interface ComponentContainerFixtureJTabbedPane found.public JTabbedPaneFixture tabbedPane(GenericTypeMatcher<? extends JTabbedPane> matcher)
JTabbedPane in this fixture's Container, that matches the
specified search criteria.
tabbedPane in interface ComponentContainerFixturematcher - contains the search criteria for finding a JTabbedPane.
JTabbedPane found.public JTabbedPaneFixture tabbedPane(String name)
JTabbedPane in this fixture's Container, which name matches
the specified one.
tabbedPane in interface ComponentContainerFixturename - the name to match.
JTabbedPane found.public JTableFixture table()
JTable found in this fixture's Container.
table in interface ComponentContainerFixtureJTable found.public JTableFixture table(GenericTypeMatcher<? extends JTable> matcher)
JTable in this fixture's Container, that matches the
specified search criteria.
table in interface ComponentContainerFixturematcher - contains the search criteria for finding a JTable.
JTable found.public JTableFixture table(String name)
JTable in this fixture's Container, which name matches the
specified one.
table in interface ComponentContainerFixturename - the name to match.
JTable found.public JTextComponentFixture textBox()
JTextComponent found in this fixture's Container.
textBox in interface ComponentContainerFixtureJTextComponent found.public JTextComponentFixture textBox(GenericTypeMatcher<? extends JTextComponent> matcher)
JTextComponent in this fixture's Container managed by this
fixture, that matches the specified search criteria.
textBox in interface ComponentContainerFixturematcher - contains the search criteria for finding a JTextComponent.
JTextComponent found.public JTextComponentFixture textBox(String name)
JTextComponent in this fixture's Container managed by this
fixture, which name matches the specified one.
textBox in interface ComponentContainerFixturename - the name to match.
JTextComponent found.public JToggleButtonFixture toggleButton()
JToggleButton found in this fixture's Container.
toggleButton in interface ComponentContainerFixtureJToggleButton found.public JToggleButtonFixture toggleButton(GenericTypeMatcher<? extends JToggleButton> matcher)
JToggleButton in this fixture's Container, that matches the
specified search criteria.
toggleButton in interface ComponentContainerFixturematcher - contains the search criteria for finding a JToggleButton.
JToggleButton found.public JToggleButtonFixture toggleButton(String name)
JToggleButton in this fixture's Container, which name matches
the specified one.
toggleButton in interface ComponentContainerFixturename - the name to match.
JToggleButton found.public JToolBarFixture toolBar()
JToolBar found in this fixture's Container.
toolBar in interface ComponentContainerFixtureJToolBar found.public JToolBarFixture toolBar(GenericTypeMatcher<? extends JToolBar> matcher)
JToolBar in this fixture's Container, that matches the
specified search criteria.
toolBar in interface ComponentContainerFixturematcher - contains the search criteria for finding a JToolBar.
JToolBar found.public JToolBarFixture toolBar(String name)
JToolBar in this fixture's Container, which name matches the
specified one.
toolBar in interface ComponentContainerFixturename - the name to match.
JToolBar found.public JTreeFixture tree()
JTree found in this fixture's Container.
tree in interface ComponentContainerFixtureJTree found.public JTreeFixture tree(GenericTypeMatcher<? extends JTree> matcher)
JTree in this fixture's Container, that matches the
specified search criteria.
tree in interface ComponentContainerFixturematcher - contains the search criteria for finding a JTree.
JTree found.public JTreeFixture tree(String name)
JTree in this fixture's Container, which name matches the
specified one.
tree in interface ComponentContainerFixturename - the name to match.
JTree found.protected final <C extends Component> C findByType(Class<C> type)
Container.
C - the generic type of the component to find.type - the type of component to find.
ComponentLookupException - if a matching component could not be found.
ComponentLookupException - if more than one matching component is found.
protected final <C extends Component> C findByName(String name,
Class<C> type)
Container.
C - the generic type of the component to find.name - the name of the component to find.type - the type of component to find.
ComponentLookupException - if a matching component could not be found.
ComponentLookupException - if more than one matching component is found.protected final <C extends Component> C find(GenericTypeMatcher<? extends C> matcher)
Component using the given GenericTypeMatcher, contained in this
fixture's Container.
C - the generic type of component the given matcher can handle.matcher - the matcher to use to find the component.
ComponentLookupException - if a matching component could not be found.
ComponentLookupException - if more than one matching component is found.public <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.
with in interface ComponentContainerFixtureC - 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.protected final ComponentFinder finder()
ComponentFinder contained in this fixture's Robot.
ComponentFinder contained in this fixture's Robot.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||