Examples of opacityProperty()


Examples of javafx.scene.Group.opacityProperty()

   * @return the indicator/hand
   */
  protected final Group createIndicator(final Group gaugeParent, final double pointDistance,
      final ObjectProperty<Paint> fillProperty, final DoubleProperty opacityProperty) {
    final Group indicator = new Group();
    Bindings.bindBidirectional(indicator.opacityProperty(), opacityProperty);
    indicator.setCache(true);
    indicator.setCacheHint(CacheHint.ROTATE);
    final DropShadow handDropShadow = new DropShadow();
    handDropShadow.setOffsetX(4);
    handDropShadow.setOffsetY(4);
View Full Code Here

Examples of javafx.scene.Node.opacityProperty()

          new EventHandler<ActionEvent>(){
            @Override
            public void handle(ActionEvent event) {
              animationPane.getChildren().add(node);
            }
              },new KeyValue(node.opacityProperty(), 0));
    KeyFrame keyFrame2 = new KeyFrame(Duration.millis(startTimeMs), keyValueStartX, keyValueStartY);
    KeyFrame keyFrame3 = new KeyFrame(Duration.millis(startTimeMs+FADEDURATION),new KeyValue(node.opacityProperty(), 1));
    KeyFrame keyFrame4 = new KeyFrame(Duration.millis(startTimeMs+FADEDURATION), keyValueStartX, keyValueStartY);
    KeyFrame keyFrame5 = new KeyFrame(Duration.millis(endTimeMs-FADEDURATION),keyValueEndX,keyValueEndY);
    KeyFrame keyFrame6 = new KeyFrame(Duration.millis(endTimeMs-FADEDURATION), new KeyValue(node.opacityProperty(), 1));
View Full Code Here

Examples of javafx.scene.Node.opacityProperty()

            public void handle(ActionEvent event) {
              animationPane.getChildren().add(node);
            }
              },new KeyValue(node.opacityProperty(), 0));
    KeyFrame keyFrame2 = new KeyFrame(Duration.millis(startTimeMs), keyValueStartX, keyValueStartY);
    KeyFrame keyFrame3 = new KeyFrame(Duration.millis(startTimeMs+FADEDURATION),new KeyValue(node.opacityProperty(), 1));
    KeyFrame keyFrame4 = new KeyFrame(Duration.millis(startTimeMs+FADEDURATION), keyValueStartX, keyValueStartY);
    KeyFrame keyFrame5 = new KeyFrame(Duration.millis(endTimeMs-FADEDURATION),keyValueEndX,keyValueEndY);
    KeyFrame keyFrame6 = new KeyFrame(Duration.millis(endTimeMs-FADEDURATION), new KeyValue(node.opacityProperty(), 1));
    KeyFrame keyFrame7 = new KeyFrame(Duration.millis(endTimeMs),
        new EventHandler<ActionEvent>(){
View Full Code Here

Examples of javafx.scene.Node.opacityProperty()

              },new KeyValue(node.opacityProperty(), 0));
    KeyFrame keyFrame2 = new KeyFrame(Duration.millis(startTimeMs), keyValueStartX, keyValueStartY);
    KeyFrame keyFrame3 = new KeyFrame(Duration.millis(startTimeMs+FADEDURATION),new KeyValue(node.opacityProperty(), 1));
    KeyFrame keyFrame4 = new KeyFrame(Duration.millis(startTimeMs+FADEDURATION), keyValueStartX, keyValueStartY);
    KeyFrame keyFrame5 = new KeyFrame(Duration.millis(endTimeMs-FADEDURATION),keyValueEndX,keyValueEndY);
    KeyFrame keyFrame6 = new KeyFrame(Duration.millis(endTimeMs-FADEDURATION), new KeyValue(node.opacityProperty(), 1));
    KeyFrame keyFrame7 = new KeyFrame(Duration.millis(endTimeMs),
        new EventHandler<ActionEvent>(){
          @Override
          public void handle(ActionEvent event) {
            animationPane.getChildren().remove(node);
View Full Code Here

Examples of javafx.scene.Node.opacityProperty()

        new EventHandler<ActionEvent>(){
          @Override
          public void handle(ActionEvent event) {
            animationPane.getChildren().remove(node);
          }
            },new KeyValue(node.opacityProperty(), 0));
   
   
    keyFrames.add(keyFrame1);
    keyFrames.add(keyFrame2);
    keyFrames.add(keyFrame3);
View Full Code Here

Examples of javafx.scene.image.ImageView.opacityProperty()

        stage.setScene(scene);
        stage.show()

       
        // appear animation on image
        lImageView.opacityProperty().set(0.0); // hide image
        FadeTransitionBuilder.create()
          .node(lImageView)
          .delay(Duration.millis(2000))
          .fromValue(0.0)
          .toValue(1.0)
View Full Code Here

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

//      createSproket(centerX, centerY, 24, dialCenterOuterRadius / 1.1d,
//        dialCenterOuterRadius, angleStart, dialCenterFillProperty);
    indicatorBolt.setCache(true);
    indicatorBolt.setCacheHint(CacheHint.SPEED);
    Bindings.bindBidirectional(indicatorBolt.fillProperty(), dialCenterFillProperty);
    Bindings.bindBidirectional(indicatorBolt.opacityProperty(), dialCenterOpacityProperty);
    return indicatorBolt;
    }
   
    /**
   * Creates a rotary/knob dial parent
View Full Code Here

Examples of javafx.scene.shape.Shape.opacityProperty()

//      createSproket(centerX, centerY, 24, dialCenterOuterRadius / 1.1d,
//        dialCenterOuterRadius, angleStart, dialCenterFillProperty);
    indicatorBolt.setCache(true);
    indicatorBolt.setCacheHint(CacheHint.SPEED);
    Bindings.bindBidirectional(indicatorBolt.fillProperty(), dialCenterFillProperty);
    Bindings.bindBidirectional(indicatorBolt.opacityProperty(), dialCenterOpacityProperty);
    return indicatorBolt;
    }
   
    /**
   * Creates a rotary/knob dial parent
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.