Examples of startYProperty()


Examples of javafx.scene.shape.Line.startYProperty()

    Line lineInput = new Line();
    lineInput.getStrokeDashArray().addAll(5d);
    lineInput.setCache(true);
    lineInput.startXProperty().set(getAnimationPaneWidth()/2- getAnimationPaneWidth()/8);
    lineInput.endXProperty().set(lineInput.startXProperty().get());
    lineInput.startYProperty().set(0);
    lineInput.endYProperty().bind(animationPane.heightProperty());
    animationPane.getChildren().add(lineInput);
   
    Line lineOutput = new Line();
    lineOutput.getStrokeDashArray().addAll(5d);
View Full Code Here

Examples of javafx.scene.shape.Line.startYProperty()

    Line lineOutput = new Line();
    lineOutput.getStrokeDashArray().addAll(5d);
    lineOutput.setCache(true);
    lineOutput.startXProperty().set(getAnimationPaneWidth() / 2 + getAnimationPaneWidth() / 8);
    lineOutput.endXProperty().set(lineOutput.startXProperty().get());
    lineOutput.startYProperty().set(0);
    lineOutput.endYProperty().bind(animationPane.heightProperty());
    animationPane.getChildren().add(lineOutput);
   
  }
View Full Code Here

Examples of javafx.scene.shape.Line.startYProperty()

        {
          Line l = new Line(0,10,100,10);
          l.setId("hourLine" + lHour);
          l.getStyleClass().add("HourLine");
          l.startXProperty().set(0.0);
          l.startYProperty().bind( NodeUtil.snapXY(hourHeighProperty.multiply(lHour)) );
          l.endXProperty().bind( NodeUtil.snapXY(widthProperty()));
          l.endYProperty().bind( NodeUtil.snapXY(l.startYProperty()));
          getChildren().add(l);
        }
        // half hour line
View Full Code Here

Examples of javafx.scene.shape.Line.startYProperty()

          l.setId("hourLine" + lHour);
          l.getStyleClass().add("HourLine");
          l.startXProperty().set(0.0);
          l.startYProperty().bind( NodeUtil.snapXY(hourHeighProperty.multiply(lHour)) );
          l.endXProperty().bind( NodeUtil.snapXY(widthProperty()));
          l.endYProperty().bind( NodeUtil.snapXY(l.startYProperty()));
          getChildren().add(l);
        }
        // half hour line
        {
          Line l = new Line(0,10,100,10);
View Full Code Here

Examples of javafx.scene.shape.Line.startYProperty()

          Line l = new Line(0,10,100,10);
          l.setId("halfHourLine" + lHour);
          l.getStyleClass().add("HalfHourLine");
          l.startXProperty().bind( NodeUtil.snapXY(timeWidthProperty));
          l.endXProperty().bind( NodeUtil.snapXY(widthProperty()));
          l.startYProperty().bind( NodeUtil.snapXY(hourHeighProperty.multiply(lHour + 0.5)));
          l.endYProperty().bind( NodeUtil.snapXY(l.startYProperty()));
          getChildren().add(l);
        }
        // hour text
        {
View Full Code Here

Examples of javafx.scene.shape.Line.startYProperty()

          l.setId("halfHourLine" + lHour);
          l.getStyleClass().add("HalfHourLine");
          l.startXProperty().bind( NodeUtil.snapXY(timeWidthProperty));
          l.endXProperty().bind( NodeUtil.snapXY(widthProperty()));
          l.startYProperty().bind( NodeUtil.snapXY(hourHeighProperty.multiply(lHour + 0.5)));
          l.endYProperty().bind( NodeUtil.snapXY(l.startYProperty()));
          getChildren().add(l);
        }
        // hour text
        {
          Text t = new Text(lHour + ":00");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.