Class GeometryMatchers

java.lang.Object
org.testfx.matcher.base.GeometryMatchers

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

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.hamcrest.Matcher<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 Details

    • GeometryMatchers

      private GeometryMatchers()
  • Method Details

    • hasDimension

      public static org.hamcrest.Matcher<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)