Class GeometryMatchers


  • public class GeometryMatchers
    extends java.lang.Object
    TestFX matchers for Dimension2D instances.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private GeometryMatchers()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.hamcrest.Matcher<java.lang.Object> hasDimension​(double width, double height)
      Creates a TypeSafeMatcher that matches when a given Dimension2D's width and height equal the given width and height.
      private static boolean hasDimension​(javafx.geometry.Dimension2D dimension, double width, double height)  
      • Methods inherited from class java.lang.Object

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

      • GeometryMatchers

        private GeometryMatchers()
    • Method Detail

      • hasDimension

        public static org.hamcrest.Matcher<java.lang.Object> hasDimension​(double width,
                                                                          double height)
        Creates a TypeSafeMatcher that matches when a given Dimension2D's width and height equal the given width and height.
      • hasDimension

        private static boolean hasDimension​(javafx.geometry.Dimension2D dimension,
                                            double width,
                                            double height)