Examples of translateYProperty()


Examples of com.eagerlogic.cubee.client.components.Label.translateYProperty()

        // TODO make styleable
        Label lblName = new Label();
        lblName.textProperty().set(attribute.getName());
        lblName.widthProperty().bind(pnlName.clientWidthProperty());
        lblName.maxWidthProperty().bind(pnlName.clientWidthProperty());
        lblName.translateYProperty().bind(new AlignMiddleExp(pnlName, lblName));
        lblName.textOverflowProperty().set(ETextOverflow.ELLIPSIS);
        pnlName.getChildren().add(lblName);
       
        root.addEmptyCell(10);
       
View Full Code Here

Examples of com.eagerlogic.cubee.client.components.Label.translateYProperty()

        // TODO make styleable
        Label lblValue = new Label();
        lblValue.textProperty().set(attribute.getStringValue());
        lblValue.widthProperty().bind(pnlName.clientWidthProperty());
        lblValue.maxWidthProperty().bind(pnlName.clientWidthProperty());
        lblValue.translateYProperty().bind(new AlignMiddleExp(pnlValue, lblValue));
        lblValue.textOverflowProperty().set(ETextOverflow.ELLIPSIS);
        lblValue.handlePointerProperty().set(false);
        pnlValue.getChildren().add(lblValue);
    }
   
View Full Code Here

Examples of javafx.scene.Node.translateYProperty()

    long endTimeMs = annimation.endTime-minTime;
   
    final Node node = annimation.createVisualRepresentation();
   
    KeyValue keyValueStartX = new KeyValue(node.translateXProperty(), annimation.startx);
    KeyValue keyValueStartY = new KeyValue(node.translateYProperty(), annimation.starty);
    KeyValue keyValueEndX = new KeyValue(node.translateXProperty(),annimation.endx);
    KeyValue keyValueEndY = new KeyValue(node.translateYProperty(), annimation.endy);
   

    KeyFrame keyFrame1 = new KeyFrame(Duration.millis(startTimeMs),
View Full Code Here

Examples of javafx.scene.Node.translateYProperty()

    final Node node = annimation.createVisualRepresentation();
   
    KeyValue keyValueStartX = new KeyValue(node.translateXProperty(), annimation.startx);
    KeyValue keyValueStartY = new KeyValue(node.translateYProperty(), annimation.starty);
    KeyValue keyValueEndX = new KeyValue(node.translateXProperty(),annimation.endx);
    KeyValue keyValueEndY = new KeyValue(node.translateYProperty(), annimation.endy);
   

    KeyFrame keyFrame1 = new KeyFrame(Duration.millis(startTimeMs),
          new EventHandler<ActionEvent>(){
            @Override
View Full Code Here

Examples of javafx.scene.layout.VBox.translateYProperty()

      final VBox leftBar = new VBox();
      leftBar.setId("border-left");
      leftBar.setPrefWidth(LEFT_BORDER_WIDTH);
      leftBar.setMaxWidth(LEFT_BORDER_WIDTH);
      leftBar.setTranslateX(1);
      Bindings.bindBidirectional(leftBar.translateYProperty(), content.translateYProperty());
      Bindings.bindBidirectional(leftBar.maxHeightProperty(), content.maxHeightProperty());
     
      final VBox rightBar = new VBox();
      rightBar.setId("border-right");
      rightBar.setPrefWidth(RIGHT_BORDER_WIDTH);
View Full Code Here

Examples of javafx.scene.layout.VBox.translateYProperty()

     
      final VBox rightBar = new VBox();
      rightBar.setId("border-right");
      rightBar.setPrefWidth(RIGHT_BORDER_WIDTH);
      rightBar.setMaxWidth(RIGHT_BORDER_WIDTH);
      Bindings.bindBidirectional(rightBar.translateYProperty(), content.translateYProperty());
      Bindings.bindBidirectional(rightBar.maxHeightProperty(), content.maxHeightProperty());
     
      final HBox statusBar = new HBox();
      //statusBar.setStyle("-fx-background-color: black;");
      statusBar.setPrefHeight(BOTTOM_BORDER_HEIGHT);
View Full Code Here

Examples of javafx.scene.shape.Circle.translateYProperty()

    frame.radiusProperty().bind(localRadius.add(frameWidthProperty));
   
    final Circle cClip = new Circle();
    cClip.radiusProperty().bind(localRadius);
    cClip.translateXProperty().bind(localRadius);
    cClip.translateYProperty().bind(localRadius);

    viewer = new Viewer(localRadius, localRadius);
    viewer.setClip(cClip);

    final Line vL = new Line();
View Full Code Here

Examples of javafx.scene.shape.Circle.translateYProperty()

    for (Node circle : circles.getChildren()) {
      timeline.getKeyFrames().addAll(new KeyFrame(Duration.ZERO, // set
                                    // start
                                    // position
                                    // at 0
          new KeyValue(circle.translateXProperty(), random() * 800), new KeyValue(circle.translateYProperty(), random() * 600)), new KeyFrame(new Duration(40000), // set
                                                                                        // end
                                                                                        // position
                                                                                        // at
                                                                                        // 40s
          new KeyValue(circle.translateXProperty(), random() * 800), new KeyValue(circle.translateYProperty(), random() * 600)));
 
View Full Code Here

Examples of javafx.scene.shape.Circle.translateYProperty()

          new KeyValue(circle.translateXProperty(), random() * 800), new KeyValue(circle.translateYProperty(), random() * 600)), new KeyFrame(new Duration(40000), // set
                                                                                        // end
                                                                                        // position
                                                                                        // at
                                                                                        // 40s
          new KeyValue(circle.translateXProperty(), random() * 800), new KeyValue(circle.translateYProperty(), random() * 600)));
    }
    // play 40s of animation
    timeline.play();
    return scene;
  }
View Full Code Here

Examples of javafx.scene.shape.Circle.translateYProperty()

    for (Node circle : circles.getChildren()) {
      timeline.getKeyFrames().addAll(
          new KeyFrame(Duration.ZERO, // set start position at 0
              new KeyValue(circle.translateXProperty(),
                  random() * 800),
              new KeyValue(circle.translateYProperty(),
                  random() * 600)),
          new KeyFrame(new Duration(40000), // set end position at 40s
              new KeyValue(circle.translateXProperty(),
                  random() * 800), new KeyValue(circle
                  .translateYProperty(), random() * 600)));
 
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.