Uses of Class
org.fest.swing.fixture.JButtonFixture
Packages that use JButtonFixture
Package
Description
The power and flexibility of FEST-Swing come from the fixtures in
this package.
-
Uses of JButtonFixture in org.fest.swing.fixture
Methods in org.fest.swing.fixture that return JButtonFixtureModifier and TypeMethodDescriptionJFileChooserFixture.approveButton()
Finds the "Approve" button in this fixture's
.JFileChooser
ComponentContainerFixture.button()
ComponentContainerFixture.button
(GenericTypeMatcher<? extends JButton> matcher) ContainerFixture.button()
ContainerFixture.button
(GenericTypeMatcher<? extends JButton> matcher) JOptionPaneFixture.buttonWithText
(String text) Finds and returns a fixture wrapping a button (this fixture's
) matching the given text.JOptionPane
JOptionPaneFixture.buttonWithText
(Pattern pattern) Finds and returns a fixture wrapping a button (this fixture's
) matching the given text.JOptionPane
JFileChooserFixture.cancelButton()
Finds the "Cancel" button in this fixture's
.JFileChooser
JOptionPaneFixture.cancelButton()
Returns a fixture wrapping the "Cancel" button in this fixture's
.JOptionPane
JButtonFixture.click()
Simulates a user clicking this fixture's
.JButton
JButtonFixture.click
(MouseButton button) Simulates a user clicking this fixture's
.JButton
JButtonFixture.click
(MouseClickInfo mouseClickInfo) Simulates a user clicking this fixture's
.JButton
JButtonFixture.doubleClick()
Simulates a user double-clicking this fixture's
.JButton
JButtonFixture.focus()
Gives input focus to this fixture's
.JButton
JOptionPaneFixture.noButton()
Returns a fixture wrapping the "No" button in this fixture's
.JOptionPane
JOptionPaneFixture.okButton()
Returns a fixture wrapping the "OK" button in this fixture's
.JOptionPane
JButtonFixture.pressAndReleaseKey
(KeyPressInfo keyPressInfo) Simulates a user pressing given key with the given modifiers on this fixture's
.JButton
JButtonFixture.pressAndReleaseKeys
(int... keyCodes) Simulates a user pressing and releasing the given keys on this fixture's
.JButton
JButtonFixture.pressKey
(int keyCode) Simulates a user pressing the given key on this fixture's
.JButton
JButtonFixture.releaseKey
(int keyCode) Simulates a user releasing the given key on this fixture's
.JButton
JButtonFixture.requireDisabled()
Asserts that this fixture's
is disabled.JButton
JButtonFixture.requireEnabled()
Asserts that this fixture's
is enabled.JButton
JButtonFixture.requireEnabled
(Timeout timeout) Asserts that this fixture's
is enabled.JButton
JButtonFixture.requireFocused()
Asserts that this fixture's
has input focus.JButton
JButtonFixture.requireNotVisible()
Asserts that this fixture's
is not visible.JButton
JButtonFixture.requireText
(String expected) Asserts that the text of this fixture's
matches the specified value.JButton
JButtonFixture.requireText
(Pattern pattern) Asserts that the text of this fixture's
matches the given regular expression pattern.JButton
JButtonFixture.requireToolTip
(String expected) Asserts that the toolTip in this fixture's
matches the given value.JButton
JButtonFixture.requireToolTip
(Pattern pattern) Asserts that the toolTip in this fixture's
matches the given regular expression pattern.JButton
JButtonFixture.requireVisible()
Asserts that this fixture's
is visible.JButton
JButtonFixture.rightClick()
Simulates a user right-clicking this fixture's
.JButton
JOptionPaneFixture.yesButton()
Returns a fixture wrapping the "Yes" button in this fixture's
.JOptionPane