| java.lang.Object com.jgoodies.animation.AbstractAnimation com.jgoodies.animation.animations.FanAnimation
Constructor Summary | |
public | FanAnimation(FanComponent fan, long duration, AnimationFunction rotationFunction) Constructs an animation that rotates a fan using the given fan component,
duration and rotation animation function. |
DEFAULT_ANTICLOCKWISE_ROTATION | final public static double DEFAULT_ANTICLOCKWISE_ROTATION(Code) | | |
DEFAULT_CLOCKWISE_ROTATION | final public static double DEFAULT_CLOCKWISE_ROTATION(Code) | | |
FanAnimation | public FanAnimation(FanComponent fan, long duration, AnimationFunction rotationFunction)(Code) | | Constructs an animation that rotates a fan using the given fan component,
duration and rotation animation function.
Parameters: fan - the fan component animation target Parameters: duration - the animation duration Parameters: rotationFunction - the rotation animation function |
applyEffect | protected void applyEffect(long time)(Code) | | Applies the effect: sets the time-based rotation.
Parameters: time - the render time |
defaultFan | public static FanAnimation defaultFan(FanComponent fan, long duration)(Code) | | Creates and answers the default fan animation.
Parameters: fan - the fan component animation target Parameters: duration - the animation duration a default fan animation |
defaultRotationFunction | public static AnimationFunction defaultRotationFunction(long duration)(Code) | | Creates and answers an animation function for the default rotation.
Parameters: duration - the animation duration an animation function for the default rotation |
|
|