Class ButtonMatchers


  • public class ButtonMatchers
    extends java.lang.Object
    TestFX matchers for Button controls.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ButtonMatchers()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.hamcrest.Matcher<javafx.scene.control.Button> isCancelButton()
      Creates a matcher that matches all Buttons that are cancel buttons.
      static org.hamcrest.Matcher<javafx.scene.control.Button> isDefaultButton()
      Creates a matcher that matches all Buttons that are default buttons.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ButtonMatchers

        private ButtonMatchers()
    • 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.