Examples of endXProperty()


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

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

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

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

        {
          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.endXProperty()

    hL.setStartY(0);
    hL.setEndY(0);
    hL.getStyleClass().add("magnifier-hLine");
    hL.strokeWidthProperty().bind(scopeLineWidthProperty);
    hL.visibleProperty().bind(scopeLinesVisibleProperty);
    hL.endXProperty().bind(localRadius.multiply(2));

    // Adding all parts in a container.
    mainContent.getChildren().addAll(frame, viewer, vL, hL);

    final Popup popUp = new Popup();
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.