private static class ProgressBarSkin.IndeterminateTransition extends Transition
Animation.Status| Modifier and Type | Field and Description |
|---|---|
private double |
endX |
private boolean |
flip |
private java.lang.ref.WeakReference<ProgressBarSkin> |
skin |
private double |
startX |
INDEFINITE| Constructor and Description |
|---|
IndeterminateTransition(double startX,
double endX,
ProgressBarSkin progressBarSkin) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
interpolate(double frac)
The method
interpolate() has to be provided by implementations of
Transition. |
getCachedInterpolator, getInterpolator, getParentTargetNode, interpolatorProperty, setInterpolatorautoReverseProperty, currentRateProperty, currentTimeProperty, cycleCountProperty, cycleDurationProperty, delayProperty, getCuePoints, getCurrentRate, getCurrentTime, getCycleCount, getCycleDuration, getDelay, getOnFinished, getRate, getStatus, getTargetFramerate, getTotalDuration, isAutoReverse, jumpTo, jumpTo, onFinishedProperty, pause, play, playFrom, playFrom, playFromStart, rateProperty, setAutoReverse, setCycleCount, setCycleDuration, setDelay, setOnFinished, setRate, setStatus, statusProperty, stop, totalDurationPropertyprivate final java.lang.ref.WeakReference<ProgressBarSkin> skin
private final double startX
private final double endX
private final boolean flip
public IndeterminateTransition(double startX,
double endX,
ProgressBarSkin progressBarSkin)
protected void interpolate(double frac)
Transitioninterpolate() has to be provided by implementations of
Transition. While a Transition is running, this method is
called in every frame.
The parameter defines the current position with the animation. At the
start, the fraction will be 0.0 and at the end it will be
1.0. How the parameter increases, depends on the
interpolator, e.g. if the
interpolator is Interpolator.LINEAR, the fraction will
increase linear.
This method must not be called by the user directly.interpolate in class Transitionfrac - The relative position