Examples of startXProperty()


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

    animationPane.getChildren().add(adapterText);
   
    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);
   
View Full Code Here

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

   
    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();
View Full Code Here

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

    animationPane.getChildren().add(lineInput);
   
    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.startXProperty()

   
    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.startXProperty()

        // hour line
        {
          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);
        }
View Full Code Here

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

        // half hour line
        {
          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);
        }
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.