Class ButtonMatchers

java.lang.Object
org.testfx.matcher.control.ButtonMatchers

public class ButtonMatchers extends Object
TestFX matchers for Button controls.
  • Method Details

    • isCancelButton

      public static org.hamcrest.Matcher<javafx.scene.control.Button> isCancelButton()
      Creates a matcher that matches all Buttons that are cancel buttons.
    • isDefaultButton

      public static org.hamcrest.Matcher<javafx.scene.control.Button> isDefaultButton()
      Creates a matcher that matches all Buttons that are default buttons.