Package org.vanted.animation.animations
Class VisibilityAnimation
java.lang.Object
org.vanted.animation.Animation<BooleanTimePoint>
org.vanted.animation.animations.VisibilityAnimation
public class VisibilityAnimation extends Animation<BooleanTimePoint>
Animates the visibility of an Attributable object.
BooleanTimePoint data values:
True = Hidden
False = Visible
BooleanTimePoint data values:
True = Hidden
False = Visible
- Author:
- - Patrick Shaw
-
Constructor Summary
Constructors Constructor Description VisibilityAnimation(Attributable attributable, List<BooleanTimePoint> dataPoints, double loopDuration)
VisibilityAnimation(Attributable attributable, List<BooleanTimePoint> dataPoints, double loopDuration, double startTime)
VisibilityAnimation(Attributable attributable, List<BooleanTimePoint> dataPoints, double loopDuration, double startTime, int noLoops)
VisibilityAnimation(Attributable attributable, List<BooleanTimePoint> dataPoints, double loopDuration, double startTime, int noLoops, Looper looper)
-
Method Summary
Modifier and Type Method Description void
animate(double time)
Methods inherited from class org.vanted.animation.Animation
getEndTime, getLoopDuration, getStartTime, isFinished, reset, setDataPoints, setLoopDuration, setLoopDuration, setLoopDuration, setLooper, setNoLoops, setNoLoops, setStartTime, setStartTime, update
-
Constructor Details
-
VisibilityAnimation
public VisibilityAnimation(Attributable attributable, List<BooleanTimePoint> dataPoints, double loopDuration, double startTime, int noLoops, Looper looper)- Parameters:
attributable
-dataPoints
-loopDuration
-startTime
-noLoops
-looper
-
-
VisibilityAnimation
public VisibilityAnimation(Attributable attributable, List<BooleanTimePoint> dataPoints, double loopDuration, double startTime, int noLoops)- Parameters:
attributable
-dataPoints
-loopDuration
-startTime
-noLoops
-
-
VisibilityAnimation
public VisibilityAnimation(Attributable attributable, List<BooleanTimePoint> dataPoints, double loopDuration, double startTime)- Parameters:
attributable
-dataPoints
-loopDuration
-startTime
-
-
VisibilityAnimation
public VisibilityAnimation(Attributable attributable, List<BooleanTimePoint> dataPoints, double loopDuration)- Parameters:
attributable
-dataPoints
-loopDuration
-
-
-
Method Details
-
animate
public void animate(double time)
-