本文整理汇总了Java中javafx.beans.property.ReadOnlyListWrapper.add方法的典型用法代码示例。如果您正苦于以下问题:Java ReadOnlyListWrapper.add方法的具体用法?Java ReadOnlyListWrapper.add怎么用?Java ReadOnlyListWrapper.add使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类javafx.beans.property.ReadOnlyListWrapper
的用法示例。
在下文中一共展示了ReadOnlyListWrapper.add方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: lineTo
import javafx.beans.property.ReadOnlyListWrapper; //导入方法依赖的package包/类
@Override
public void lineTo(double x, double y) {
ensureMoveTo();
innerTypesProperty().add(PathElementType.LINE_TO);
final ReadOnlyListWrapper<Point2dfx> coords = innerCoordinatesProperty();
coords.add(getGeomFactory().newPoint(x, y));
}
示例2: lineTo
import javafx.beans.property.ReadOnlyListWrapper; //导入方法依赖的package包/类
@Override
public void lineTo(int x, int y) {
ensureMoveTo();
innerTypesProperty().add(PathElementType.LINE_TO);
final ReadOnlyListWrapper<Point2ifx> coords = innerPointsProperty();
coords.add(getGeomFactory().newPoint(x, y));
}
示例3: quadTo
import javafx.beans.property.ReadOnlyListWrapper; //导入方法依赖的package包/类
@Override
public void quadTo(int x1, int y1, int x2, int y2) {
ensureMoveTo();
innerTypesProperty().add(PathElementType.QUAD_TO);
final ReadOnlyListWrapper<Point2ifx> coords = innerPointsProperty();
coords.add(getGeomFactory().newPoint(x1, y1));
coords.add(getGeomFactory().newPoint(x2, y2));
}
示例4: curveTo
import javafx.beans.property.ReadOnlyListWrapper; //导入方法依赖的package包/类
@Override
public void curveTo(int x1, int y1, int x2, int y2, int x3, int y3) {
ensureMoveTo();
innerTypesProperty().add(PathElementType.CURVE_TO);
final ReadOnlyListWrapper<Point2ifx> coords = innerPointsProperty();
coords.add(getGeomFactory().newPoint(x1, y1));
coords.add(getGeomFactory().newPoint(x2, y2));
coords.add(getGeomFactory().newPoint(x3, y3));
}
示例5: quadTo
import javafx.beans.property.ReadOnlyListWrapper; //导入方法依赖的package包/类
@Override
public void quadTo(double x1, double y1, double x2, double y2) {
ensureMoveTo();
innerTypesProperty().add(PathElementType.QUAD_TO);
final ReadOnlyListWrapper<Point2dfx> coords = innerCoordinatesProperty();
coords.add(getGeomFactory().newPoint(x1, y1));
coords.add(getGeomFactory().newPoint(x2, y2));
}
示例6: curveTo
import javafx.beans.property.ReadOnlyListWrapper; //导入方法依赖的package包/类
@Override
public void curveTo(double x1, double y1, double x2, double y2, double x3, double y3) {
ensureMoveTo();
innerTypesProperty().add(PathElementType.CURVE_TO);
final ReadOnlyListWrapper<Point2dfx> coords = innerCoordinatesProperty();
coords.add(getGeomFactory().newPoint(x1, y1));
coords.add(getGeomFactory().newPoint(x2, y2));
coords.add(getGeomFactory().newPoint(x3, y3));
}
示例7: lineTo
import javafx.beans.property.ReadOnlyListWrapper; //导入方法依赖的package包/类
@Override
public void lineTo(int x, int y, int z) {
ensureMoveTo();
innerTypesProperty().add(PathElementType.LINE_TO);
final ReadOnlyListWrapper<Point3ifx> coords = innerCoordinatesProperty();
coords.add(getGeomFactory().newPoint(x, y, z));
}
示例8: quadTo
import javafx.beans.property.ReadOnlyListWrapper; //导入方法依赖的package包/类
@Override
public void quadTo(int x1, int y1, int z1, int x2, int y2, int z2) {
ensureMoveTo();
innerTypesProperty().add(PathElementType.QUAD_TO);
final ReadOnlyListWrapper<Point3ifx> coords = innerCoordinatesProperty();
coords.add(getGeomFactory().newPoint(x1, y1, z1));
coords.add(getGeomFactory().newPoint(x2, y2, z2));
}
示例9: curveTo
import javafx.beans.property.ReadOnlyListWrapper; //导入方法依赖的package包/类
@Override
@SuppressWarnings("checkstyle:parameternumber")
public void curveTo(int x1, int y1, int z1, int x2, int y2, int z2, int x3, int y3, int z3) {
ensureMoveTo();
innerTypesProperty().add(PathElementType.CURVE_TO);
final ReadOnlyListWrapper<Point3ifx> coords = innerCoordinatesProperty();
coords.add(getGeomFactory().newPoint(x1, y1, z1));
coords.add(getGeomFactory().newPoint(x2, y2, z2));
coords.add(getGeomFactory().newPoint(x3, y3, z3));
}
示例10: lineTo
import javafx.beans.property.ReadOnlyListWrapper; //导入方法依赖的package包/类
@Override
public void lineTo(double x, double y, double z) {
ensureMoveTo();
innerTypesProperty().add(PathElementType.LINE_TO);
final ReadOnlyListWrapper<Point3dfx> coords = innerCoordinatesProperty();
coords.add(getGeomFactory().newPoint(x, y, z));
}
示例11: quadTo
import javafx.beans.property.ReadOnlyListWrapper; //导入方法依赖的package包/类
@Override
public void quadTo(double x1, double y1, double z1, double x2, double y2, double z2) {
ensureMoveTo();
innerTypesProperty().add(PathElementType.QUAD_TO);
final ReadOnlyListWrapper<Point3dfx> coords = innerCoordinatesProperty();
coords.add(getGeomFactory().newPoint(x1, y1, z1));
coords.add(getGeomFactory().newPoint(x2, y2, z2));
}
示例12: curveTo
import javafx.beans.property.ReadOnlyListWrapper; //导入方法依赖的package包/类
@Override
@SuppressWarnings("checkstyle:parameternumber")
public void curveTo(double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3) {
ensureMoveTo();
innerTypesProperty().add(PathElementType.CURVE_TO);
final ReadOnlyListWrapper<Point3dfx> coords = innerCoordinatesProperty();
coords.add(getGeomFactory().newPoint(x1, y1, z1));
coords.add(getGeomFactory().newPoint(x2, y2, z2));
coords.add(getGeomFactory().newPoint(x3, y3, z3));
}