Package javafx.scene.effect

Examples of javafx.scene.effect.Effect


   */
  protected Shape createBackground(final double outerRimRadius, final double radius,
      final ObjectProperty<Paint> centerGaugeFillProperty,
      final ObjectProperty<Paint> rimStrokeFillProperty,
      final ObjectProperty<Color> backgroundEffectFillProperty) {
    final Effect effect = createBackgroundEffect(backgroundEffectFillProperty);
    if (isCircular()) {
      final Circle ccg = new Circle(centerX, centerY, radius);
      ccg.setCache(true);
      ccg.setCacheHint(CacheHint.QUALITY);
      ccg.setEffect(effect);
View Full Code Here


      @Override
      protected Task<T> createTask() {
        return progressTask;
      }
    };
    final Effect origEffect = parent.getScene().getRoot().getEffect();
    progressTask.stateProperty().addListener(new ChangeListener<State>() {
      @Override
      public void changed(ObservableValue<? extends State> observable, State oldValue, State newValue) {
        if (newValue == State.RUNNING && !alert.isShowing()) {
          Platform.runLater(new Runnable() {
View Full Code Here

TOP

Related Classes of javafx.scene.effect.Effect

Copyright © 2018 www.massapicom. 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.