S - used to simulate "self types." For more information please read "Emulating 'self types' using Java Generics to simplify fluent API implementation."C - the type of Container that this fixture can manage.D - the type of ComponentDriver that this fixture uses internally.public abstract class AbstractContainerFixture<S,C extends Container,D extends ComponentDriver> extends AbstractComponentFixture<S,C,D> implements ComponentContainerFixture
Components contained in a Container.BACKGROUND_PROPERTY, FONT_PROPERTY, FOREGROUND_PROPERTY| Constructor and Description |
|---|
AbstractContainerFixture(Class<S> selfType,
Robot robot,
C target)
Creates a new
AbstractContainerFixture. |
AbstractContainerFixture(Class<S> selfType,
Robot robot,
Class<? extends C> type)
Creates a new
AbstractContainerFixture. |
AbstractContainerFixture(Class<S> selfType,
Robot robot,
String name,
Class<? extends C> type)
Creates a new
AbstractContainerFixture. |
| Modifier and Type | Method and Description |
|---|---|
JButtonFixture |
button()
Returns a
JButton found in this fixture's Container. |
JButtonFixture |
button(GenericTypeMatcher<? extends JButton> matcher)
Finds a
JButton in this fixture's Container, that matches the specified search criteria. |
JButtonFixture |
button(String name)
Finds a
JButton in this fixture's Container, which name matches the specified one. |
JCheckBoxFixture |
checkBox()
Returns a
JCheckBox found in this fixture's Container. |
JCheckBoxFixture |
checkBox(GenericTypeMatcher<? extends JCheckBox> matcher)
Finds a
JCheckBox in this fixture's Container, that matches the specified search criteria. |
JCheckBoxFixture |
checkBox(String name)
Finds a
JCheckBox in this fixture's Container, which name matches the specified one. |
JComboBoxFixture |
comboBox()
Returns a
JComboBox found in this fixture's Container. |
JComboBoxFixture |
comboBox(GenericTypeMatcher<? extends JComboBox> matcher)
Finds a
JComboBox in this fixture's Container, that matches the specified search criteria. |
JComboBoxFixture |
comboBox(String name)
Finds a
JComboBox in this fixture's Container, which name matches the specified one. |
Timeout |
defaultDialogLookupTimeout() |
DialogFixture |
dialog()
Returns the only
Dialog currently available (if any). |
DialogFixture |
dialog(GenericTypeMatcher<? extends Dialog> matcher)
Finds a
Dialog that matches the specified search criteria. |
DialogFixture |
dialog(GenericTypeMatcher<? extends Dialog> matcher,
Timeout timeout)
Finds a
Dialog that matches the specified search criteria. |
DialogFixture |
dialog(String name)
Finds a
Dialog with a name matching the specified one. |
DialogFixture |
dialog(String name,
Timeout timeout)
Finds a
Dialog with a name matching the specified one. |
DialogFixture |
dialog(Timeout timeout)
Returns the only
Dialog currently available (if any). |
JFileChooserFixture |
fileChooser()
Returns the only
JFileChooser currently available (if any). |
JFileChooserFixture |
fileChooser(GenericTypeMatcher<? extends JFileChooser> matcher)
Finds a
JFileChooser that matches the specified search criteria. |
JFileChooserFixture |
fileChooser(GenericTypeMatcher<? extends JFileChooser> matcher,
Timeout timeout)
Finds a
JFileChooser that matches the specified search criteria. |
JFileChooserFixture |
fileChooser(String name)
Finds a
JFileChooser with a name matching the specified one. |
JFileChooserFixture |
fileChooser(String name,
Timeout timeout)
Finds a
JFileChooser with a name matching the specified one. |
JFileChooserFixture |
fileChooser(Timeout timeout)
Returns the only
JFileChooser currently available (if any). |
protected <T extends Component> |
find(GenericTypeMatcher<? extends T> matcher)
|
protected <T extends Component> |
findByName(String name,
Class<T> type)
Finds a component by name and type, contained in this fixture's
Container. |
protected <T extends Component> |
findByType(Class<T> type)
Finds a component by type, contained in this fixture's
Container. |
protected ComponentFinder |
finder() |
JInternalFrameFixture |
internalFrame()
Returns a
JInternalFrame found in this fixture's Container. |
JInternalFrameFixture |
internalFrame(GenericTypeMatcher<? extends JInternalFrame> matcher)
Finds a
JInternalFrame in this fixture's Container, that matches the specified search criteria. |
JInternalFrameFixture |
internalFrame(String name)
Finds a
JInternalFrame in this fixture's Container whose name matches the specified one. |
JLabelFixture |
label()
Returns a
JLabel found in this fixture's Container. |
JLabelFixture |
label(GenericTypeMatcher<? extends JLabel> matcher)
Finds a
JLabel in this fixture's Container, that matches the specified search criteria. |
JLabelFixture |
label(String name)
Finds a
JLabel in this fixture's Container, which name matches the specified one. |
JListFixture |
list()
Returns a
JList found in this fixture's Container. |
JListFixture |
list(GenericTypeMatcher<? extends JList> matcher)
Finds a
JList in this fixture's Container, that matches the specified search criteria. |
JListFixture |
list(String name)
Finds a
JList in this fixture's Container, which name matches the specified one. |
JMenuItemFixture |
menuItem(GenericTypeMatcher<? extends JMenuItem> matcher)
Finds a
JMenuItem, contained in this fixture's Container, that matches the specified search
criteria. |
JMenuItemFixture |
menuItem(String name)
Finds a
JMenuItem, contained in this fixture's Container, which name matches the specified one. |
JMenuItemFixture |
menuItemWithPath(String... path)
Finds a
JMenuItem in this fixture's Container, which path matches the given one. |
JOptionPaneFixture |
optionPane()
Returns the only
JOptionPane currently available (if any). |
JOptionPaneFixture |
optionPane(Timeout timeout)
Returns the only
JOptionPane currently available (if any). |
JPanelFixture |
panel()
Returns a
JPanel found in this fixture's Container. |
JPanelFixture |
panel(GenericTypeMatcher<? extends JPanel> matcher)
Finds a
JPanel in this fixture's Container, that matches the specified search criteria. |
JPanelFixture |
panel(String name)
Finds a
JPanel in this fixture's Container, which name matches the specified one. |
JProgressBarFixture |
progressBar()
Returns a
JProgressBar found in this fixture's Container. |
JProgressBarFixture |
progressBar(GenericTypeMatcher<? extends JProgressBar> matcher)
Finds a
JProgressBar in this fixture's Container, that matches the specified search criteria. |
JProgressBarFixture |
progressBar(String name)
Finds a
JProgressBar in this fixture's Container, which name matches the specified one. |
JRadioButtonFixture |
radioButton()
Returns a
JRadioButton found in this fixture's Container. |
JRadioButtonFixture |
radioButton(GenericTypeMatcher<? extends JRadioButton> matcher)
Finds a
JRadioButton in this fixture's Container, that matches the specified search criteria. |
JRadioButtonFixture |
radioButton(String name)
Finds a
JRadioButton in this fixture's Container, which name matches the specified one. |
JScrollBarFixture |
scrollBar()
Returns a
JScrollBar found in this fixture's Container. |
JScrollBarFixture |
scrollBar(GenericTypeMatcher<? extends JScrollBar> matcher)
Finds a
JScrollBar in this fixture's Container, that matches the specified search criteria. |
JScrollBarFixture |
scrollBar(String name)
Finds a
JScrollBar in this fixture's Container, which name matches the specified one. |
JScrollPaneFixture |
scrollPane()
Returns a
JScrollPane found in this fixture's Container. |
JScrollPaneFixture |
scrollPane(GenericTypeMatcher<? extends JScrollPane> matcher)
Finds a
JScrollPane in this fixture's Container, that matches the specified search criteria. |
JScrollPaneFixture |
scrollPane(String name)
Finds a
JScrollPane in this fixture's Container, which name matches the specified one. |
JSliderFixture |
slider()
Returns a
JSlider found in this fixture's Container. |
JSliderFixture |
slider(GenericTypeMatcher<? extends JSlider> matcher)
Finds a
JSlider in this fixture's Container, that matches the specified search criteria. |
JSliderFixture |
slider(String name)
Finds a
JSlider in this fixture's Container, which name matches the specified one. |
JSpinnerFixture |
spinner()
Returns a
JSpinner found in this fixture's Container. |
JSpinnerFixture |
spinner(GenericTypeMatcher<? extends JSpinner> matcher)
Finds a
JSpinner in this fixture's Container, that matches the specified search criteria. |
JSpinnerFixture |
spinner(String name)
Finds a
JSpinner in this fixture's Container, which name matches the specified one. |
JSplitPaneFixture |
splitPane()
Returns the
JSplitPane found in this fixture's Container. |
JSplitPaneFixture |
splitPane(GenericTypeMatcher<? extends JSplitPane> matcher)
Finds a
JSplitPane in this fixture's Container, that matches the specified search criteria. |
JSplitPaneFixture |
splitPane(String name)
Finds a
JSplitPane in this fixture's Container, which name matches the specified one. |
JTabbedPaneFixture |
tabbedPane()
Returns a
JTabbedPane found in this fixture's Container. |
JTabbedPaneFixture |
tabbedPane(GenericTypeMatcher<? extends JTabbedPane> matcher)
Finds a
JTabbedPane in this fixture's Container, that matches the specified search criteria. |
JTabbedPaneFixture |
tabbedPane(String name)
Finds a
JTabbedPane in this fixture's Container, which name matches the specified one. |
JTableFixture |
table()
Returns a
JTable found in this fixture's Container. |
JTableFixture |
table(GenericTypeMatcher<? extends JTable> matcher)
Finds a
JTable in this fixture's Container, that matches the specified search criteria. |
JTableFixture |
table(String name)
Finds a
JTable in this fixture's Container, which name matches the specified one. |
JTextComponentFixture |
textBox()
Returns a
JTextComponent found in this fixture's Container. |
JTextComponentFixture |
textBox(GenericTypeMatcher<? extends JTextComponent> matcher)
Finds a
JTextComponent in this fixture's Container managed by this fixture, that matches the
specified search criteria. |
JTextComponentFixture |
textBox(String name)
Finds a
JTextComponent in this fixture's Container managed by this fixture, which name matches the
specified one. |
JToggleButtonFixture |
toggleButton()
Returns a
JToggleButton found in this fixture's Container. |
JToggleButtonFixture |
toggleButton(GenericTypeMatcher<? extends JToggleButton> matcher)
Finds a
JToggleButton in this fixture's Container, that matches the specified search criteria. |
JToggleButtonFixture |
toggleButton(String name)
Finds a
JToggleButton in this fixture's Container, which name matches the specified one. |
JToolBarFixture |
toolBar()
Returns a
JToolBar found in this fixture's Container. |
JToolBarFixture |
toolBar(GenericTypeMatcher<? extends JToolBar> matcher)
Finds a
JToolBar in this fixture's Container, that matches the specified search criteria. |
JToolBarFixture |
toolBar(String name)
Finds a
JToolBar in this fixture's Container, which name matches the specified one. |
JTreeFixture |
tree()
Returns a
JTree found in this fixture's Container. |
JTreeFixture |
tree(GenericTypeMatcher<? extends JTree> matcher)
Finds a
JTree in this fixture's Container, that matches the specified search criteria. |
JTreeFixture |
tree(String name)
Finds a
JTree in this fixture's Container, which name matches the specified one. |
<T extends Component,F extends AbstractComponentFixture<?,T,?>> |
with(ComponentFixtureExtension<T,F> extension)
Returns a
AbstractComponentFixture managing a component inside this fixture's Container. |
background, click, click, click, createDriver, doubleClick, driver, drop, equals, focus, font, foreground, hashCode, isEnabled, myself, pressAndReleaseKey, pressAndReleaseKeys, pressKey, pressKeyWhileRunning, releaseKey, replaceDriverWith, requireDisabled, requireEnabled, requireEnabled, requireFocused, requireNotVisible, requireShowing, requireVisible, rightClick, robot, target, targetCastedTopublic AbstractContainerFixture(@Nonnull Class<S> selfType, @Nonnull Robot robot, @Nonnull Class<? extends C> type)
AbstractContainerFixture.selfType - the "self type."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 AbstractContainerFixture(@Nonnull Class<S> selfType, @Nonnull Robot robot, @Nullable String name, @Nonnull Class<? extends C> type)
AbstractContainerFixture.selfType - the "self type."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 AbstractContainerFixture(@Nonnull Class<S> selfType, @Nonnull Robot robot, @Nonnull C target)
AbstractContainerFixture.selfType - the "self type."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.@RunsInEDT @Nonnull public JButtonFixture button()
ComponentContainerFixtureJButton found in this fixture's Container.button in interface ComponentContainerFixtureJButton found.@RunsInEDT @Nonnull public JButtonFixture button(@Nonnull GenericTypeMatcher<? extends JButton> matcher)
ComponentContainerFixtureJButton 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.@RunsInEDT @Nonnull public JButtonFixture button(@Nullable String name)
ComponentContainerFixtureJButton in this fixture's Container, which name matches the specified one.button in interface ComponentContainerFixturename - the name to match.JButton found.@RunsInEDT @Nonnull public JCheckBoxFixture checkBox()
ComponentContainerFixtureJCheckBox found in this fixture's Container.checkBox in interface ComponentContainerFixtureJCheckBox found.@RunsInEDT @Nonnull public JCheckBoxFixture checkBox(@Nonnull GenericTypeMatcher<? extends JCheckBox> matcher)
ComponentContainerFixtureJCheckBox 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.@RunsInEDT @Nonnull public JCheckBoxFixture checkBox(@Nullable String name)
ComponentContainerFixtureJCheckBox in this fixture's Container, which name matches the specified one.checkBox in interface ComponentContainerFixturename - the name to match.JCheckBox found.@RunsInEDT @Nonnull public JComboBoxFixture comboBox()
ComponentContainerFixtureJComboBox found in this fixture's Container.comboBox in interface ComponentContainerFixtureJComboBox found.@RunsInEDT @Nonnull public JComboBoxFixture comboBox(@Nonnull GenericTypeMatcher<? extends JComboBox> matcher)
ComponentContainerFixtureJComboBox 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.@RunsInEDT @Nonnull public JComboBoxFixture comboBox(@Nullable String name)
ComponentContainerFixtureJComboBox in this fixture's Container, which name matches the specified one.comboBox in interface ComponentContainerFixturename - the name to match.JComboBox found.@RunsInEDT @Nonnull public DialogFixture dialog()
ComponentContainerFixtureDialog currently available (if any). This method uses the value defined in
ComponentContainerFixture.defaultDialogLookupTimeout() as the default lookup timeout.dialog in interface ComponentContainerFixtureDialog found.ComponentContainerFixture.dialog(Timeout)@RunsInEDT @Nonnull public DialogFixture dialog(@Nonnull Timeout timeout)
ComponentContainerFixtureDialog currently available (if any).dialog in interface ComponentContainerFixturetimeout - the amount of time to wait for a Dialog to be found.Dialog found.@RunsInEDT @Nonnull public DialogFixture dialog(@Nonnull GenericTypeMatcher<? extends Dialog> matcher)
ComponentContainerFixtureDialog that matches the specified search criteria. This method uses the value defined in
ComponentContainerFixture.defaultDialogLookupTimeout() as the default lookup timeout.dialog in interface ComponentContainerFixturematcher - contains the search criteria for finding a Dialog.Dialog found.ComponentContainerFixture.dialog(GenericTypeMatcher, Timeout)@RunsInEDT @Nonnull public DialogFixture dialog(@Nonnull GenericTypeMatcher<? extends Dialog> matcher, @Nonnull Timeout timeout)
ComponentContainerFixtureDialog 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.@RunsInEDT @Nonnull public DialogFixture dialog(@Nullable String name)
ComponentContainerFixtureDialog with a name matching the specified one. This method uses the value defined in
ComponentContainerFixture.defaultDialogLookupTimeout() as the default lookup timeout.dialog in interface ComponentContainerFixturename - the name to match.Dialog found.ComponentContainerFixture.dialog(String, Timeout)@RunsInEDT @Nonnull public DialogFixture dialog(@Nullable String name, @Nonnull Timeout timeout)
ComponentContainerFixtureDialog 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.@RunsInEDT @Nonnull public JFileChooserFixture fileChooser()
ComponentContainerFixtureJFileChooser currently available (if any). This method uses the value defined in
ComponentContainerFixture.defaultDialogLookupTimeout() as the default lookup timeout.fileChooser in interface ComponentContainerFixtureJFileChooser found.ComponentContainerFixture.fileChooser(Timeout)@RunsInEDT @Nonnull public JFileChooserFixture fileChooser(@Nonnull Timeout timeout)
ComponentContainerFixtureJFileChooser currently available (if any).fileChooser in interface ComponentContainerFixturetimeout - the amount of time to wait for a JFileChooser to be found.JFileChooser found.@RunsInEDT @Nonnull public JFileChooserFixture fileChooser(@Nonnull GenericTypeMatcher<? extends JFileChooser> matcher)
ComponentContainerFixtureJFileChooser that matches the specified search criteria. This method uses the value defined in
ComponentContainerFixture.defaultDialogLookupTimeout() as the default lookup timeout.fileChooser in interface ComponentContainerFixturematcher - contains the search criteria for finding a JFileChooser.JFileChooser found.ComponentContainerFixture.fileChooser(GenericTypeMatcher, Timeout)@RunsInEDT @Nonnull public JFileChooserFixture fileChooser(@Nonnull GenericTypeMatcher<? extends JFileChooser> matcher, @Nonnull Timeout timeout)
ComponentContainerFixtureJFileChooser 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.@RunsInEDT @Nonnull public JFileChooserFixture fileChooser(@Nullable String name)
ComponentContainerFixtureJFileChooser with a name matching the specified one. This method uses the value defined in
ComponentContainerFixture.defaultDialogLookupTimeout() as the default lookup timeout.fileChooser in interface ComponentContainerFixturename - the name to match.JFileChooser found.ComponentContainerFixture.fileChooser(String, Timeout)@RunsInEDT @Nonnull public JFileChooserFixture fileChooser(@Nullable String name, @Nonnull Timeout timeout)
ComponentContainerFixtureJFileChooser 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.@RunsInEDT @Nonnull public JInternalFrameFixture internalFrame()
ComponentContainerFixtureJInternalFrame found in this fixture's Container.internalFrame in interface ComponentContainerFixtureJInternalFrame found.@RunsInEDT @Nonnull public JInternalFrameFixture internalFrame(@Nonnull GenericTypeMatcher<? extends JInternalFrame> matcher)
ComponentContainerFixtureJInternalFrame in this fixture's Container, that matches the specified search criteria.internalFrame in interface ComponentContainerFixturematcher - contains the search criteria for finding a JInternalFrame.JInternalFrame found.@RunsInEDT @Nonnull public JInternalFrameFixture internalFrame(@Nullable String name)
ComponentContainerFixtureJInternalFrame in this fixture's Container whose name matches the specified one.internalFrame in interface ComponentContainerFixturename - the name to match.JInternalFrame found.@RunsInEDT @Nonnull public JLabelFixture label()
ComponentContainerFixtureJLabel found in this fixture's Container.label in interface ComponentContainerFixtureJLabel found.@RunsInEDT @Nonnull public JLabelFixture label(@Nonnull GenericTypeMatcher<? extends JLabel> matcher)
ComponentContainerFixtureJLabel 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.@RunsInEDT @Nonnull public JLabelFixture label(@Nullable String name)
ComponentContainerFixtureJLabel in this fixture's Container, which name matches the specified one.label in interface ComponentContainerFixturename - the name to match.JLabel found.@RunsInEDT @Nonnull public JListFixture list()
ComponentContainerFixtureJList found in this fixture's Container.list in interface ComponentContainerFixtureJList found.@RunsInEDT @Nonnull public JListFixture list(@Nonnull GenericTypeMatcher<? extends JList> matcher)
ComponentContainerFixtureJList 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.@RunsInEDT @Nonnull public JListFixture list(@Nullable String name)
ComponentContainerFixtureJList in this fixture's Container, which name matches the specified one.list in interface ComponentContainerFixturename - the name to match.JList found.@RunsInEDT @Nonnull public JMenuItemFixture menuItemWithPath(@Nonnull String... path)
ComponentContainerFixtureJMenuItem 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.@RunsInEDT @Nonnull public JMenuItemFixture menuItem(@Nullable String name)
ComponentContainerFixtureJMenuItem, contained in this fixture's Container, which name matches the specified one.menuItem in interface ComponentContainerFixturename - the name to match.JMenuItem found.@RunsInEDT @Nonnull public JMenuItemFixture menuItem(@Nonnull GenericTypeMatcher<? extends JMenuItem> matcher)
ComponentContainerFixtureJMenuItem, 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.@RunsInEDT @Nonnull public JOptionPaneFixture optionPane()
ComponentContainerFixtureJOptionPane currently available (if any). This method uses the value defined in
ComponentContainerFixture.defaultDialogLookupTimeout() as the default lookup timeout.optionPane in interface ComponentContainerFixtureJOptionPane found.ComponentContainerFixture.optionPane(Timeout)@RunsInEDT @Nonnull public JOptionPaneFixture optionPane(@Nonnull Timeout timeout)
ComponentContainerFixtureJOptionPane currently available (if any).optionPane in interface ComponentContainerFixturetimeout - the amount of time to wait for a JOptionPane to be found.JOptionPane found.@RunsInEDT @Nonnull public JPanelFixture panel()
ComponentContainerFixtureJPanel found in this fixture's Container.panel in interface ComponentContainerFixtureJPanel found.@RunsInEDT @Nonnull public JPanelFixture panel(@Nonnull GenericTypeMatcher<? extends JPanel> matcher)
ComponentContainerFixtureJPanel 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.@RunsInEDT @Nonnull public JPanelFixture panel(@Nullable String name)
ComponentContainerFixtureJPanel in this fixture's Container, which name matches the specified one.panel in interface ComponentContainerFixturename - the name to match.JPanel found.@RunsInEDT @Nonnull public JProgressBarFixture progressBar()
ComponentContainerFixtureJProgressBar found in this fixture's Container.progressBar in interface ComponentContainerFixtureJProgressBar found.@RunsInEDT @Nonnull public JProgressBarFixture progressBar(@Nonnull GenericTypeMatcher<? extends JProgressBar> matcher)
ComponentContainerFixtureJProgressBar 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.@RunsInEDT @Nonnull public JProgressBarFixture progressBar(@Nullable String name)
ComponentContainerFixtureJProgressBar in this fixture's Container, which name matches the specified one.progressBar in interface ComponentContainerFixturename - the name to match.JProgressBar found.@RunsInEDT @Nonnull public JRadioButtonFixture radioButton()
ComponentContainerFixtureJRadioButton found in this fixture's Container.radioButton in interface ComponentContainerFixtureJRadioButton found.@RunsInEDT @Nonnull public JRadioButtonFixture radioButton(@Nonnull GenericTypeMatcher<? extends JRadioButton> matcher)
ComponentContainerFixtureJRadioButton 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.@RunsInEDT @Nonnull public JRadioButtonFixture radioButton(@Nullable String name)
ComponentContainerFixtureJRadioButton in this fixture's Container, which name matches the specified one.radioButton in interface ComponentContainerFixturename - the name to match.JRadioButton found.@RunsInEDT @Nonnull public JScrollBarFixture scrollBar()
ComponentContainerFixtureJScrollBar found in this fixture's Container.scrollBar in interface ComponentContainerFixtureJScrollBar found.@RunsInEDT @Nonnull public JScrollBarFixture scrollBar(@Nonnull GenericTypeMatcher<? extends JScrollBar> matcher)
ComponentContainerFixtureJScrollBar 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.@RunsInEDT @Nonnull public JScrollBarFixture scrollBar(@Nullable String name)
ComponentContainerFixtureJScrollBar in this fixture's Container, which name matches the specified one.scrollBar in interface ComponentContainerFixturename - the name to match.JScrollBar found.@RunsInEDT @Nonnull public JScrollPaneFixture scrollPane()
ComponentContainerFixtureJScrollPane found in this fixture's Container.scrollPane in interface ComponentContainerFixtureJScrollPane found.@RunsInEDT @Nonnull public JScrollPaneFixture scrollPane(@Nonnull GenericTypeMatcher<? extends JScrollPane> matcher)
ComponentContainerFixtureJScrollPane 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.@RunsInEDT @Nonnull public JScrollPaneFixture scrollPane(@Nullable String name)
ComponentContainerFixtureJScrollPane in this fixture's Container, which name matches the specified one.scrollPane in interface ComponentContainerFixturename - the name to match.JScrollPane found.@RunsInEDT @Nonnull public JSliderFixture slider()
ComponentContainerFixtureJSlider found in this fixture's Container.slider in interface ComponentContainerFixtureJSlider found.@RunsInEDT @Nonnull public JSliderFixture slider(@Nonnull GenericTypeMatcher<? extends JSlider> matcher)
ComponentContainerFixtureJSlider 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.@RunsInEDT @Nonnull public JSliderFixture slider(@Nullable String name)
ComponentContainerFixtureJSlider in this fixture's Container, which name matches the specified one.slider in interface ComponentContainerFixturename - the name to match.JSlider found.@RunsInEDT @Nonnull public JSpinnerFixture spinner()
ComponentContainerFixtureJSpinner found in this fixture's Container.spinner in interface ComponentContainerFixtureJSpinner found.@RunsInEDT @Nonnull public JSpinnerFixture spinner(@Nonnull GenericTypeMatcher<? extends JSpinner> matcher)
ComponentContainerFixtureJSpinner 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.@RunsInEDT @Nonnull public JSpinnerFixture spinner(@Nullable String name)
ComponentContainerFixtureJSpinner in this fixture's Container, which name matches the specified one.spinner in interface ComponentContainerFixturename - the name to match.JSpinner found.@RunsInEDT @Nonnull public JSplitPaneFixture splitPane()
ComponentContainerFixtureJSplitPane found in this fixture's Container.splitPane in interface ComponentContainerFixtureJSplitPane found.@RunsInEDT @Nonnull public JSplitPaneFixture splitPane(@Nonnull GenericTypeMatcher<? extends JSplitPane> matcher)
ComponentContainerFixtureJSplitPane 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.@RunsInEDT @Nonnull public JSplitPaneFixture splitPane(@Nullable String name)
ComponentContainerFixtureJSplitPane in this fixture's Container, which name matches the specified one.splitPane in interface ComponentContainerFixturename - the name to match.JSplitPane found.@RunsInEDT @Nonnull public JTabbedPaneFixture tabbedPane()
ComponentContainerFixtureJTabbedPane found in this fixture's Container.tabbedPane in interface ComponentContainerFixtureJTabbedPane found.@RunsInEDT @Nonnull public JTabbedPaneFixture tabbedPane(@Nonnull GenericTypeMatcher<? extends JTabbedPane> matcher)
ComponentContainerFixtureJTabbedPane 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.@RunsInEDT @Nonnull public JTabbedPaneFixture tabbedPane(@Nullable String name)
ComponentContainerFixtureJTabbedPane in this fixture's Container, which name matches the specified one.tabbedPane in interface ComponentContainerFixturename - the name to match.JTabbedPane found.@RunsInEDT @Nonnull public JTableFixture table()
ComponentContainerFixtureJTable found in this fixture's Container.table in interface ComponentContainerFixtureJTable found.@RunsInEDT @Nonnull public JTableFixture table(@Nonnull GenericTypeMatcher<? extends JTable> matcher)
ComponentContainerFixtureJTable 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.@RunsInEDT @Nonnull public JTableFixture table(@Nullable String name)
ComponentContainerFixtureJTable in this fixture's Container, which name matches the specified one.table in interface ComponentContainerFixturename - the name to match.JTable found.@RunsInEDT @Nonnull public JTextComponentFixture textBox()
ComponentContainerFixtureJTextComponent found in this fixture's Container.textBox in interface ComponentContainerFixtureJTextComponent found.@RunsInEDT @Nonnull public JTextComponentFixture textBox(@Nonnull GenericTypeMatcher<? extends JTextComponent> matcher)
ComponentContainerFixtureJTextComponent 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.@RunsInEDT @Nonnull public JTextComponentFixture textBox(@Nullable String name)
ComponentContainerFixtureJTextComponent 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.@RunsInEDT @Nonnull public JToggleButtonFixture toggleButton()
ComponentContainerFixtureJToggleButton found in this fixture's Container.toggleButton in interface ComponentContainerFixtureJToggleButton found.@RunsInEDT @Nonnull public JToggleButtonFixture toggleButton(@Nonnull GenericTypeMatcher<? extends JToggleButton> matcher)
ComponentContainerFixtureJToggleButton 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.@RunsInEDT @Nonnull public JToggleButtonFixture toggleButton(@Nullable String name)
ComponentContainerFixtureJToggleButton in this fixture's Container, which name matches the specified one.toggleButton in interface ComponentContainerFixturename - the name to match.JToggleButton found.@RunsInEDT @Nonnull public JToolBarFixture toolBar()
ComponentContainerFixtureJToolBar found in this fixture's Container.toolBar in interface ComponentContainerFixtureJToolBar found.@RunsInEDT @Nonnull public JToolBarFixture toolBar(@Nonnull GenericTypeMatcher<? extends JToolBar> matcher)
ComponentContainerFixtureJToolBar 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.@RunsInEDT @Nonnull public JToolBarFixture toolBar(@Nullable String name)
ComponentContainerFixtureJToolBar in this fixture's Container, which name matches the specified one.toolBar in interface ComponentContainerFixturename - the name to match.JToolBar found.@RunsInEDT @Nonnull public JTreeFixture tree()
ComponentContainerFixtureJTree found in this fixture's Container.tree in interface ComponentContainerFixtureJTree found.@RunsInEDT @Nonnull public JTreeFixture tree(@Nonnull GenericTypeMatcher<? extends JTree> matcher)
ComponentContainerFixtureJTree 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.@RunsInEDT @Nonnull public JTreeFixture tree(@Nullable String name)
ComponentContainerFixtureJTree in this fixture's Container, which name matches the specified one.tree in interface ComponentContainerFixturename - the name to match.JTree found.@Nonnull protected final <T extends Component> T findByType(@Nonnull Class<T> type)
Container.T - the type of component to find.type - the class for the type.ComponentLookupException - if a matching component could not be found.ComponentLookupException - if more than one matching component is found.@Nonnull protected final <T extends Component> T findByName(@Nullable String name, @Nonnull Class<T> type)
Container.T - the type of component to find.name - the name of the component to find.type - the class for the type.ComponentLookupException - if a matching component could not be found.ComponentLookupException - if more than one matching component is found.@Nonnull protected final <T extends Component> T find(@Nonnull GenericTypeMatcher<? extends T> matcher)
T - the type of component to find.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.@RunsInEDT @Nonnull public <T extends Component,F extends AbstractComponentFixture<?,T,?>> F with(@Nonnull ComponentFixtureExtension<T,F> extension)
ComponentContainerFixtureAbstractComponentFixture managing a component inside this fixture's Container. This is an
extension method, to allow implementations of AbstractContainerFixture handle custom GUI components.with in interface ComponentContainerFixtureT - the type of component to manage.F - the type of fixture managing the component.extension - the ComponentFixtureExtension that creates the ComponentFixture to return.ComponentFixture managing a component inside this fixture's Container.@Nonnull protected final ComponentFinder finder()
ComponentFinder contained in this fixture's Robot.@Nonnull public Timeout defaultDialogLookupTimeout()
defaultDialogLookupTimeout in interface ComponentContainerFixtureCopyright © 2014–2019 AssertJ. All rights reserved.