Module org.testfx

Class PointLocatorImpl

    • Constructor Detail

      • PointLocatorImpl

        public PointLocatorImpl​(BoundsLocator boundsLocator)
    • Method Detail

      • point

        public PointQuery point​(Node node)
        Description copied from interface: PointLocator
        Returns the center of the given Node in screen coordinates.
        Specified by:
        point in interface PointLocator
        Parameters:
        node - the node
        Returns:
        a PointQuery with the node's bounds (in terms of the screen) as the initial bounds
      • point

        public PointQuery point​(Scene scene)
        Specified by:
        point in interface PointLocator
        Parameters:
        scene - the scene
        Returns:
        a PointQuery with the scene's bounds (in terms of the screen) as the initial bounds
      • point

        public PointQuery point​(Window window)
        Specified by:
        point in interface PointLocator
        Parameters:
        window - the window
        Returns:
        a PointQuery with the window's bounds (in terms of the screen) as the initial bounds