Examples of xProperty()


Examples of javafx.scene.shape.Rectangle.xProperty()

    workflowRectangle.setFill(WORKFLOW_COLOR);
    workflowRectangle.setArcHeight(25);
    workflowRectangle.setArcWidth(25);
    final Text classText = new Text(workflowClass);
    classText.setFontSmoothingType(FontSmoothingType.LCD);
    classText.xProperty().bind(workflowRectangle.xProperty().add(workflowRectangle.getWidth()/2).subtract(classText.getBoundsInLocal().getWidth()/2));
    classText.yProperty().bind(workflowRectangle.yProperty().subtract(16));
    final Text instanceIdText = new Text(id);
    instanceIdText.setFont(Font.font(Font.getDefault().getName(),10));
    instanceIdText.setFontSmoothingType(FontSmoothingType.LCD);
    instanceIdText.xProperty().bind(workflowRectangle.xProperty().add(workflowRectangle.getWidth()/2).subtract(classText.getBoundsInLocal().getWidth()/2));
View Full Code Here

Examples of javafx.scene.shape.Rectangle.xProperty()

    classText.xProperty().bind(workflowRectangle.xProperty().add(workflowRectangle.getWidth()/2).subtract(classText.getBoundsInLocal().getWidth()/2));
    classText.yProperty().bind(workflowRectangle.yProperty().subtract(16));
    final Text instanceIdText = new Text(id);
    instanceIdText.setFont(Font.font(Font.getDefault().getName(),10));
    instanceIdText.setFontSmoothingType(FontSmoothingType.LCD);
    instanceIdText.xProperty().bind(workflowRectangle.xProperty().add(workflowRectangle.getWidth()/2).subtract(classText.getBoundsInLocal().getWidth()/2));
    instanceIdText.yProperty().bind(workflowRectangle.yProperty().subtract(3));
    pane.getChildren().add(workflowRectangle);
    pane.getChildren().add(classText);
    pane.getChildren().add(instanceIdText);
    return pane;
View Full Code Here

Examples of javafx.scene.shape.Rectangle.xProperty()

    adapterRectangle.setFill(ADAPTER_COLOR);
    adapterRectangle.setArcHeight(25);
    adapterRectangle.setArcWidth(25);
    final Text adapterText = new Text(id);
    adapterText.setFontSmoothingType(FontSmoothingType.LCD);
    adapterText.xProperty().bind(adapterRectangle.xProperty().add(adapterRectangle.getWidth()/2).subtract(adapterText.getBoundsInLocal().getWidth()/2));
    adapterText.yProperty().bind(adapterRectangle.yProperty().subtract(5));
    pane.getChildren().add(adapterRectangle);
    pane.getChildren().add(adapterText);
    return pane;
  }
View Full Code Here

Examples of javafx.scene.text.Text.xProperty()

    workflowRectangle.setFill(WORKFLOW_COLOR);
    workflowRectangle.setArcHeight(25);
    workflowRectangle.setArcWidth(25);
    final Text classText = new Text(workflowClass);
    classText.setFontSmoothingType(FontSmoothingType.LCD);
    classText.xProperty().bind(workflowRectangle.xProperty().add(workflowRectangle.getWidth()/2).subtract(classText.getBoundsInLocal().getWidth()/2));
    classText.yProperty().bind(workflowRectangle.yProperty().subtract(16));
    final Text instanceIdText = new Text(id);
    instanceIdText.setFont(Font.font(Font.getDefault().getName(),10));
    instanceIdText.setFontSmoothingType(FontSmoothingType.LCD);
    instanceIdText.xProperty().bind(workflowRectangle.xProperty().add(workflowRectangle.getWidth()/2).subtract(classText.getBoundsInLocal().getWidth()/2));
View Full Code Here

Examples of javafx.scene.text.Text.xProperty()

    classText.xProperty().bind(workflowRectangle.xProperty().add(workflowRectangle.getWidth()/2).subtract(classText.getBoundsInLocal().getWidth()/2));
    classText.yProperty().bind(workflowRectangle.yProperty().subtract(16));
    final Text instanceIdText = new Text(id);
    instanceIdText.setFont(Font.font(Font.getDefault().getName(),10));
    instanceIdText.setFontSmoothingType(FontSmoothingType.LCD);
    instanceIdText.xProperty().bind(workflowRectangle.xProperty().add(workflowRectangle.getWidth()/2).subtract(classText.getBoundsInLocal().getWidth()/2));
    instanceIdText.yProperty().bind(workflowRectangle.yProperty().subtract(3));
    pane.getChildren().add(workflowRectangle);
    pane.getChildren().add(classText);
    pane.getChildren().add(instanceIdText);
    return pane;
View Full Code Here

Examples of javafx.scene.text.Text.xProperty()

    adapterRectangle.setFill(ADAPTER_COLOR);
    adapterRectangle.setArcHeight(25);
    adapterRectangle.setArcWidth(25);
    final Text adapterText = new Text(id);
    adapterText.setFontSmoothingType(FontSmoothingType.LCD);
    adapterText.xProperty().bind(adapterRectangle.xProperty().add(adapterRectangle.getWidth()/2).subtract(adapterText.getBoundsInLocal().getWidth()/2));
    adapterText.yProperty().bind(adapterRectangle.yProperty().subtract(5));
    pane.getChildren().add(adapterRectangle);
    pane.getChildren().add(adapterText);
    return pane;
  }
View Full Code Here

Examples of javafx.scene.text.Text.xProperty()

          getChildren().add(l);
        }
        // hour text
        {
          Text t = new Text(lHour + ":00");
          t.xProperty().bind(timeWidthProperty.subtract(t.getBoundsInParent().getWidth()).subtract(timeColumnWhitespace / 2));
          t.yProperty().bind(hourHeighProperty.multiply(lHour));
          t.setTranslateY(t.getBoundsInParent().getHeight()); // move it under the line
          t.getStyleClass().add("HourLabel");
          t.setFontSmoothingType(FontSmoothingType.LCD);
          getChildren().add(t);
View Full Code Here

Examples of javafx.scene.transform.Scale.xProperty()

      public Void call(SnapshotResult result) {
        return null;
      }
    };
    final Scale scale = new Scale();
    scale.xProperty().bind(localScaleFactor);
    scale.yProperty().bind(localScaleFactor);
    param = new SnapshotParameters();
    param.setDepthBuffer(true);
    param.setTransform(scale);
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.