Package | Description |
---|---|
org.fest.swing.fixture |
The power and flexibility of FEST-Swing come from the fixtures in
this package.
|
Modifier and Type | Method and Description |
---|---|
JTextComponentFixture |
JTextComponentFixture.click()
Simulates a user clicking this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.click(MouseClickInfo mouseClickInfo)
Simulates a user clicking this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.deleteText()
Simulates a user deleting all the text in this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.doubleClick()
Simulates a user double-clicking this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.enterText(String text)
Simulates a user entering the given text in this fixture's
. |
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
. |
JTextComponentFixture |
JTextComponentFixture.focus()
Gives input focus to this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.pressAndReleaseKey(KeyPressInfo keyPressInfo)
Simulates a user pressing given key with the given modifiers on this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.pressAndReleaseKeys(int... keyCodes)
Simulates a user pressing and releasing the given keys in this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.pressKey(int keyCode)
Simulates a user pressing the given key on this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.releaseKey(int keyCode)
Simulates a user releasing the given key on this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.requireDisabled()
Asserts that this fixture's
is disabled. |
JTextComponentFixture |
JTextComponentFixture.requireEditable()
Asserts that this fixture's
is editable. |
JTextComponentFixture |
JTextComponentFixture.requireEmpty()
Asserts that the target text component does not contain any text.
|
JTextComponentFixture |
JTextComponentFixture.requireEnabled()
Asserts that this fixture's
is enabled. |
JTextComponentFixture |
JTextComponentFixture.requireEnabled(Timeout timeout)
Asserts that this fixture's
is enabled. |
JTextComponentFixture |
JTextComponentFixture.requireFocused()
Asserts that this fixture's
has input focus. |
JTextComponentFixture |
JTextComponentFixture.requireNotEditable()
Asserts that this fixture's
is not editable. |
JTextComponentFixture |
JTextComponentFixture.requireNotVisible()
Asserts that this fixture's
is not visible. |
JTextComponentFixture |
JTextComponentFixture.requireText(Pattern pattern)
Asserts that the text of this fixture's
matches the given regular expression
pattern. |
JTextComponentFixture |
JTextComponentFixture.requireText(String expected)
Asserts that the text of this fixture's
is equal to the specified value. |
JTextComponentFixture |
JTextComponentFixture.requireToolTip(Pattern pattern)
Asserts that the toolTip in this fixture's
matches the given regular expression
pattern. |
JTextComponentFixture |
JTextComponentFixture.requireToolTip(String expected)
Asserts that the toolTip in this fixture's
matches the given value. |
JTextComponentFixture |
JTextComponentFixture.requireVisible()
Asserts that this fixture's
is visible. |
JTextComponentFixture |
JTextComponentFixture.rightClick()
Simulates a user right-clicking this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.select(String text)
Simulates a user selecting the given text contained in this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.selectAll()
Simulates a user selecting all the text contained in this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.selectText(int start,
int end)
Simulates a user selecting a portion of the text contained in this fixture's
. |
JTextComponentFixture |
JTextComponentFixture.setText(String text)
Sets the text in this fixture's
. |
JTextComponentFixture |
ComponentContainerFixture.textBox()
Returns a
found in this fixture's . |
JTextComponentFixture |
ContainerFixture.textBox()
Returns a
found in this fixture's . |
JTextComponentFixture |
ComponentContainerFixture.textBox(GenericTypeMatcher<? extends JTextComponent> matcher)
Finds a
in this fixture's managed by this
fixture, that matches the specified search criteria. |
JTextComponentFixture |
ContainerFixture.textBox(GenericTypeMatcher<? extends JTextComponent> matcher)
Finds a
in this fixture's managed by this
fixture, that matches the specified search criteria. |
JTextComponentFixture |
ComponentContainerFixture.textBox(String name)
Finds a
in this fixture's managed by this
fixture, which name matches the specified one. |
JTextComponentFixture |
ContainerFixture.textBox(String name)
Finds a
in this fixture's managed by this
fixture, which name matches the specified one. |
Copyright © 2007-2013 FEST (Fixtures for Easy Software Testing). All Rights Reserved.