Examples of TortoiseFigure


Examples of org.xtext.tortoiseshell.lib.view.TortoiseFigure

        this.isScheduled = true;
        long _currentTimeMillis = System.currentTimeMillis();
        this.lastStart = _currentTimeMillis;
      }
    } else {
      TortoiseFigure _tortoiseFigure = this.view.getTortoiseFigure();
      animation.set(_tortoiseFigure, 1);
    }
  }
View Full Code Here

Examples of org.xtext.tortoiseshell.lib.view.TortoiseFigure

        final long now = System.currentTimeMillis();
        Animation currentAnimation = this.animationQueue.peek();
        while (((!Objects.equal(currentAnimation, null)) && (now >= (this.lastStart + currentAnimation.getDelay())))) {
          {
            Animation _poll = this.animationQueue.poll();
            TortoiseFigure _tortoiseFigure = this.view.getTortoiseFigure();
            _poll.set(_tortoiseFigure, 1);
            int _delay = currentAnimation.getDelay();
            long _plus = (this.lastStart + _delay);
            this.lastStart = _plus;
            Animation _peek = this.animationQueue.peek();
            currentAnimation = _peek;
          }
        }
        boolean _notEquals = (!Objects.equal(currentAnimation, null));
        if (_notEquals) {
          int _delay = currentAnimation.getDelay();
          final double alpha = (((double) (now - this.lastStart)) / _delay);
          TortoiseFigure _tortoiseFigure = this.view.getTortoiseFigure();
          currentAnimation.set(_tortoiseFigure, alpha);
          this.schedule(this.UPDATE_INTERVAL);
        } else {
          this.isScheduled = false;
        }
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.