Module org.testfx

Class WindowMatchers


  • public class WindowMatchers
    extends Object
    TestFX matchers for Window instances.
    • Method Detail

      • isShowing

        public static org.hamcrest.Matcher<Window> isShowing()
        A matcher checking if a window is currently showing.
        Returns:
        the matcher
      • isNotShowing

        public static org.hamcrest.Matcher<Window> isNotShowing()
        A matcher checking if a window is currently not showing.
        Returns:
        the matcher
      • isFocused

        public static org.hamcrest.Matcher<Window> isFocused()
        A matcher checking if a window currently has the focus.
        Returns:
        the matcher
      • isNotFocused

        public static org.hamcrest.Matcher<Window> isNotFocused()
        A matcher checking if a window is currently not focused.
        Returns:
        the matcher