Module org.testfx

Class ButtonMatchers


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

      • 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.