Package org.testfx.matcher.control
Class ButtonMatchers
java.lang.Object
org.testfx.matcher.control.ButtonMatchers
TestFX matchers for
Button
controls.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.hamcrest.Matcher
<javafx.scene.control.Button> Creates a matcher that matches allButton
s that are cancel buttons.static org.hamcrest.Matcher
<javafx.scene.control.Button> Creates a matcher that matches allButton
s that are default buttons.
-
Constructor Details
-
ButtonMatchers
private ButtonMatchers()
-
-
Method Details
-
isCancelButton
public static org.hamcrest.Matcher<javafx.scene.control.Button> isCancelButton()Creates a matcher that matches allButton
s that are cancel buttons. -
isDefaultButton
public static org.hamcrest.Matcher<javafx.scene.control.Button> isDefaultButton()Creates a matcher that matches allButton
s that are default buttons.
-