Package | Description |
---|---|
org.assertj.swing.fixture |
Public API, source of AssertJ-Swing's power and flexibility.
|
Modifier and Type | Method and Description |
---|---|
JComboBoxFixture |
JComboBoxFixture.clearSelection()
Clears the selection in this fixture's
JComboBox . |
JComboBoxFixture |
AbstractContainerFixture.comboBox() |
JComboBoxFixture |
ComponentContainerFixture.comboBox()
Returns a
JComboBox found in this fixture's Container . |
JComboBoxFixture |
AbstractContainerFixture.comboBox(GenericTypeMatcher<? extends JComboBox> matcher) |
JComboBoxFixture |
ComponentContainerFixture.comboBox(GenericTypeMatcher<? extends JComboBox> matcher)
Finds a
JComboBox in this fixture's Container , that matches the specified search criteria. |
JComboBoxFixture |
AbstractContainerFixture.comboBox(String name) |
JComboBoxFixture |
ComponentContainerFixture.comboBox(String name)
Finds a
JComboBox in this fixture's Container , which name matches the specified one. |
JComboBoxFixture |
JComboBoxFixture.enterText(String text)
Simulates a user entering the specified text in this fixture's
JComboBox . |
JComboBoxFixture |
JComboBoxFixture.replaceText(String text)
Simulates a user entering the specified text in the
JComboBox , replacing any text. |
JComboBoxFixture |
JComboBoxFixture.requireEditable()
Asserts that this fixture's
JComboBox is editable. |
JComboBoxFixture |
JComboBoxFixture.requireItemCount(int expected)
Verifies that this fixture's
JComboBox has the expected number of items |
JComboBoxFixture |
JComboBoxFixture.requireNoSelection()
Verifies that this fixture's
JComboBox does not have any selection. |
JComboBoxFixture |
JComboBoxFixture.requireNotEditable()
Asserts that this fixture's
JComboBox is not editable. |
JComboBoxFixture |
JComboBoxFixture.requireSelection(int index)
Verifies that the index of the selected item in this fixture's
JComboBox is equal to the given value. |
JComboBoxFixture |
JComboBoxFixture.requireSelection(Pattern pattern)
Verifies that the
String representation of the selected item in this fixture's JComboBox matches
the given regular expression pattern. |
JComboBoxFixture |
JComboBoxFixture.requireSelection(String value)
Verifies that the
String representation of the selected item in this fixture's JComboBox matches
the given text. |
JComboBoxFixture |
JComboBoxFixture.selectAllText()
Simulates a user selecting the text in the
JComboBox . |
JComboBoxFixture |
JComboBoxFixture.selectItem(int index)
Simulates a user selecting an item in this fixture's
JComboBox . |
JComboBoxFixture |
JComboBoxFixture.selectItem(Pattern pattern)
Simulates a user selecting an item in this fixture's
JComboBox . |
JComboBoxFixture |
JComboBoxFixture.selectItem(String text)
Simulates a user selecting an item in this fixture's
JComboBox . |
Copyright © 2014–2019 AssertJ. All rights reserved.