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.JFileChooserComponentContainerFixture.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.JOptionPaneJOptionPaneFixture.buttonWithText(Pattern pattern) Finds and returns a fixture wrapping a button (this fixture's) matching the given text.JOptionPaneJFileChooserFixture.cancelButton()Finds the "Cancel" button in this fixture's.JFileChooserJOptionPaneFixture.cancelButton()Returns a fixture wrapping the "Cancel" button in this fixture's.JOptionPaneJButtonFixture.click()Simulates a user clicking this fixture's.JButtonJButtonFixture.click(MouseButton button) Simulates a user clicking this fixture's.JButtonJButtonFixture.click(MouseClickInfo mouseClickInfo) Simulates a user clicking this fixture's.JButtonJButtonFixture.doubleClick()Simulates a user double-clicking this fixture's.JButtonJButtonFixture.focus()Gives input focus to this fixture's.JButtonJOptionPaneFixture.noButton()Returns a fixture wrapping the "No" button in this fixture's.JOptionPaneJOptionPaneFixture.okButton()Returns a fixture wrapping the "OK" button in this fixture's.JOptionPaneJButtonFixture.pressAndReleaseKey(KeyPressInfo keyPressInfo) Simulates a user pressing given key with the given modifiers on this fixture's.JButtonJButtonFixture.pressAndReleaseKeys(int... keyCodes) Simulates a user pressing and releasing the given keys on this fixture's.JButtonJButtonFixture.pressKey(int keyCode) Simulates a user pressing the given key on this fixture's.JButtonJButtonFixture.releaseKey(int keyCode) Simulates a user releasing the given key on this fixture's.JButtonJButtonFixture.requireDisabled()Asserts that this fixture'sis disabled.JButtonJButtonFixture.requireEnabled()Asserts that this fixture'sis enabled.JButtonJButtonFixture.requireEnabled(Timeout timeout) Asserts that this fixture'sis enabled.JButtonJButtonFixture.requireFocused()Asserts that this fixture'shas input focus.JButtonJButtonFixture.requireNotVisible()Asserts that this fixture'sis not visible.JButtonJButtonFixture.requireText(String expected) Asserts that the text of this fixture'smatches the specified value.JButtonJButtonFixture.requireText(Pattern pattern) Asserts that the text of this fixture'smatches the given regular expression pattern.JButtonJButtonFixture.requireToolTip(String expected) Asserts that the toolTip in this fixture'smatches the given value.JButtonJButtonFixture.requireToolTip(Pattern pattern) Asserts that the toolTip in this fixture'smatches the given regular expression pattern.JButtonJButtonFixture.requireVisible()Asserts that this fixture'sis visible.JButtonJButtonFixture.rightClick()Simulates a user right-clicking this fixture's.JButtonJOptionPaneFixture.yesButton()Returns a fixture wrapping the "Yes" button in this fixture's.JOptionPane