Package | Description |
---|---|
org.assertj.swing.fixture |
Public API, source of AssertJ-Swing's power and flexibility.
|
Modifier and Type | Method and Description |
---|---|
JTextComponentFixture |
JTextComponentFixture.deleteText()
Simulates a user deleting all the text in this fixture's
JTextComponent . |
JTextComponentFixture |
JTextComponentFixture.enterText(String text)
Simulates a user entering the given text in this fixture's
JTextComponent . |
JTextComponentFixture |
JFileChooserFixture.fileNameTextBox()
Returns a fixture that manages the field where the user can enter the name of the file to select in this fixture's
JFileChooser . |
JTextComponentFixture |
JTextComponentFixture.requireEditable()
Asserts that this fixture's
JTextComponent is editable. |
JTextComponentFixture |
JTextComponentFixture.requireEmpty()
Asserts that the target text component does not contain any text.
|
JTextComponentFixture |
JTextComponentFixture.requireNotEditable()
Asserts that this fixture's
JTextComponent is not editable. |
JTextComponentFixture |
JTextComponentFixture.requireText(Pattern pattern)
Asserts that the text of this fixture's
JTextComponent matches the given regular expression pattern. |
JTextComponentFixture |
JTextComponentFixture.requireText(String expected)
Asserts that the text of this fixture's
JTextComponent is equal to the specified value. |
JTextComponentFixture |
JTextComponentFixture.select(String text)
Simulates a user selecting the given text contained in this fixture's
JTextComponent . |
JTextComponentFixture |
JTextComponentFixture.selectAll()
Simulates a user selecting all the text contained in this fixture's
JTextComponent . |
JTextComponentFixture |
JTextComponentFixture.selectText(int start,
int end)
Simulates a user selecting a portion of the text contained in this fixture's
JTextComponent . |
JTextComponentFixture |
JTextComponentFixture.setText(String text)
Sets the text in this fixture's
JTextComponent . |
JTextComponentFixture |
AbstractContainerFixture.textBox() |
JTextComponentFixture |
ComponentContainerFixture.textBox()
Returns a
JTextComponent found in this fixture's Container . |
JTextComponentFixture |
AbstractContainerFixture.textBox(GenericTypeMatcher<? extends JTextComponent> matcher) |
JTextComponentFixture |
ComponentContainerFixture.textBox(GenericTypeMatcher<? extends JTextComponent> matcher)
Finds a
JTextComponent in this fixture's Container managed by this fixture, that matches the
specified search criteria. |
JTextComponentFixture |
AbstractContainerFixture.textBox(String name) |
JTextComponentFixture |
ComponentContainerFixture.textBox(String name)
Finds a
JTextComponent in this fixture's Container managed by this fixture, which name matches the
specified one. |
Copyright © 2014–2019 AssertJ. All rights reserved.