Logo Search packages:      
Sourcecode: libjgoodies-animation-java version File versions  Download package

com::jgoodies::animation::animations::FanAnimation Class Reference

Inheritance diagram for com::jgoodies::animation::animations::FanAnimation:

com::jgoodies::animation::AbstractAnimation com::jgoodies::animation::Animation

List of all members.


Detailed Description

An animation that rotates a fan that consists of a set of translucent sectors.

Author:
Karsten Lentzsch
Version:
Revision
1.1

See also:
com.jgoodies.animation.components.FanComponent

com.jgoodies.animation.renderer.FanRenderer

Definition at line 49 of file FanAnimation.java.


Public Member Functions

final void addAnimationListener (AnimationListener listener)
void animate (long time)
final long duration ()
 FanAnimation (FanComponent fan, long duration, AnimationFunction rotationFunction)
final boolean isFreezed ()
final void removeAnimationListener (AnimationListener listener)
String toString ()

Static Public Member Functions

static FanAnimation defaultFan (FanComponent fan, long duration)
static AnimationFunction defaultRotationFunction (long duration)

Static Public Attributes

static final double DEFAULT_ANTICLOCKWISE_ROTATION = -0.02
static final double DEFAULT_CLOCKWISE_ROTATION = 0.01

Protected Member Functions

void applyEffect (long time)
final void fireAnimationStarted (long time)
final void fireAnimationStopped (long time)

Private Attributes

final FanComponent fan
final
AnimationFunctions.FloatFunction 
rotationFunction

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index