use of javafx.geometry.Pos in project TestFX by TestFX.
the class FxRobot method point.
@Override
public PointQuery point(double x, double y) {
PointLocator pointLocator = context.getPointLocator();
Pos pointPosition = context.getPointPosition();
return pointLocator.point(new Point2D(x, y)).atPosition(pointPosition);
}
use of javafx.geometry.Pos in project TestFX by TestFX.
the class FxRobot method point.
@Override
public PointQuery point(Bounds bounds) {
PointLocator pointLocator = context.getPointLocator();
Pos pointPosition = context.getPointPosition();
return pointLocator.point(bounds).atPosition(pointPosition);
}
use of javafx.geometry.Pos 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 javafx.geometry.Pos in project TestFX by TestFX.
the class FxRobot method point.
@Override
public PointQuery point(Point2D point) {
PointLocator pointLocator = context.getPointLocator();
Pos pointPosition = context.getPointPosition();
return pointLocator.point(point).atPosition(pointPosition);
}
use of javafx.geometry.Pos in project JFoenix by jfoenixadmin.
the class JFXTreeTableCellSkin method layoutChildren.
@Override
protected void layoutChildren(double x, double y, double w, double h) {
updateDisclosureNode();
double disclosureWidth = 0;
Node disclosureNode = ((JFXTreeTableCell<S, T>) getSkinnable()).getDisclosureNode();
if (disclosureNode.isVisible()) {
Pos alignment = getSkinnable().getAlignment();
alignment = alignment == null ? Pos.CENTER_LEFT : alignment;
layoutInArea(disclosureNode, x + 8, y, w, h, 0, Insets.EMPTY, false, false, HPos.LEFT, VPos.CENTER);
disclosureWidth = disclosureNode.getLayoutBounds().getWidth() + 18;
}
super.layoutChildren(x + disclosureWidth, y, w - disclosureWidth, h);
}
Aggregations