use of org.testfx.service.locator.PointLocator in project TestFX by TestFX.
the class FxRobot method point.
@Override
public PointQuery point(Scene scene) {
PointLocator pointLocator = context.getPointLocator();
Pos pointPosition = context.getPointPosition();
targetWindow(scene.getWindow());
return pointLocator.point(scene).atPosition(pointPosition);
}
use of org.testfx.service.locator.PointLocator in project TestFX by TestFX.
the class FxRobot method point.
@Override
public PointQuery point(Window window) {
PointLocator pointLocator = context.getPointLocator();
Pos pointPosition = context.getPointPosition();
targetWindow(window);
return pointLocator.point(window).atPosition(pointPosition);
}
use of org.testfx.service.locator.PointLocator in project TestFX by TestFX.
the class FxRobot method point.
@Override
public PointQuery point(Node node) {
PointLocator pointLocator = context.getPointLocator();
Pos pointPosition = context.getPointPosition();
targetWindow(node.getScene().getWindow());
return pointLocator.point(node).onNode(node).atPosition(pointPosition);
}
Aggregations