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 |
---|---|
JButtonFixture |
JFileChooserFixture.approveButton()
Finds the "Approve" button in this fixture's
. |
JButtonFixture |
ContainerFixture.button()
|
JButtonFixture |
ComponentContainerFixture.button()
|
JButtonFixture |
ContainerFixture.button(GenericTypeMatcher<? extends JButton> matcher)
|
JButtonFixture |
ComponentContainerFixture.button(GenericTypeMatcher<? extends JButton> matcher)
|
JButtonFixture |
ContainerFixture.button(String name)
|
JButtonFixture |
ComponentContainerFixture.button(String name)
|
JButtonFixture |
JOptionPaneFixture.buttonWithText(Pattern pattern)
Finds and returns a fixture wrapping a button (this fixture's
) matching the
given text. |
JButtonFixture |
JOptionPaneFixture.buttonWithText(String text)
Finds and returns a fixture wrapping a button (this fixture's
) matching the
given text. |
JButtonFixture |
JFileChooserFixture.cancelButton()
Finds the "Cancel" button in this fixture's
. |
JButtonFixture |
JOptionPaneFixture.cancelButton()
Returns a fixture wrapping the "Cancel" button in this fixture's
. |
JButtonFixture |
JButtonFixture.click()
Simulates a user clicking this fixture's
. |
JButtonFixture |
JButtonFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JButtonFixture |
JButtonFixture.click(MouseClickInfo mouseClickInfo)
Simulates a user clicking this fixture's
. |
JButtonFixture |
JButtonFixture.doubleClick()
Simulates a user double-clicking this fixture's
. |
JButtonFixture |
JButtonFixture.focus()
Gives input focus to this fixture's
. |
JButtonFixture |
JOptionPaneFixture.noButton()
Returns a fixture wrapping the "No" button in this fixture's
. |
JButtonFixture |
JOptionPaneFixture.okButton()
Returns a fixture wrapping the "OK" button in this fixture's
. |
JButtonFixture |
JButtonFixture.pressAndReleaseKey(KeyPressInfo keyPressInfo)
Simulates a user pressing given key with the given modifiers on this fixture's
. |
JButtonFixture |
JButtonFixture.pressAndReleaseKeys(int... keyCodes)
Simulates a user pressing and releasing the given keys on this fixture's
. |
JButtonFixture |
JButtonFixture.pressKey(int keyCode)
Simulates a user pressing the given key on this fixture's
. |
JButtonFixture |
JButtonFixture.releaseKey(int keyCode)
Simulates a user releasing the given key on this fixture's
. |
JButtonFixture |
JButtonFixture.requireDisabled()
Asserts that this fixture's
is disabled. |
JButtonFixture |
JButtonFixture.requireEnabled()
Asserts that this fixture's
is enabled. |
JButtonFixture |
JButtonFixture.requireEnabled(Timeout timeout)
Asserts that this fixture's
is enabled. |
JButtonFixture |
JButtonFixture.requireFocused()
Asserts that this fixture's
has input focus. |
JButtonFixture |
JButtonFixture.requireNotVisible()
Asserts that this fixture's
is not visible. |
JButtonFixture |
JButtonFixture.requireText(Pattern pattern)
Asserts that the text of this fixture's
matches the given regular expression pattern. |
JButtonFixture |
JButtonFixture.requireText(String expected)
Asserts that the text of this fixture's
matches the specified value. |
JButtonFixture |
JButtonFixture.requireToolTip(Pattern pattern)
Asserts that the toolTip in this fixture's
matches the given regular expression
pattern. |
JButtonFixture |
JButtonFixture.requireToolTip(String expected)
Asserts that the toolTip in this fixture's
matches the given value. |
JButtonFixture |
JButtonFixture.requireVisible()
Asserts that this fixture's
is visible. |
JButtonFixture |
JButtonFixture.rightClick()
Simulates a user right-clicking this fixture's
. |
JButtonFixture |
JOptionPaneFixture.yesButton()
Returns a fixture wrapping the "Yes" button in this fixture's
. |
Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.