|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.maryanovsky.gwtutils.client.ui.Animation
com.maryanovsky.gwtutils.client.ui.animations.FadeAnimation
public class FadeAnimation
An animation that changes the opacity of a specified element.
| Field Summary |
|---|
| Fields inherited from class com.maryanovsky.gwtutils.client.ui.Animation |
|---|
DEFAULT_FPS |
| Constructor Summary | |
|---|---|
FadeAnimation(int duration,
Element element,
double startOpacity,
double endOpacity)
Creates a new FadeAnimation with the specified duration, element
and initial and final opacity. |
|
FadeAnimation(int duration,
int fps,
Element element,
double startOpacity,
double endOpacity)
Creates a new FadeAnimation with the specified duration, frame
rate, element, and initial and final opacity. |
|
| Method Summary | |
|---|---|
protected void |
animationEnd()
Invoked to end the animation. |
protected void |
animationStart()
Invoked to start the animation. |
protected void |
nextFrame()
Invoked for each frame of the animation. |
| Methods inherited from class com.maryanovsky.gwtutils.client.ui.Animation |
|---|
end, getDuration, getFps, getHalfSinusoidalProgress, getLinearProgress, getSinusoidalProgress, isRunning, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FadeAnimation(int duration,
int fps,
Element element,
double startOpacity,
double endOpacity)
FadeAnimation with the specified duration, frame
rate, element, and initial and final opacity.
public FadeAnimation(int duration,
Element element,
double startOpacity,
double endOpacity)
FadeAnimation with the specified duration, element
and initial and final opacity.
| Method Detail |
|---|
protected void animationStart()
animationStart in class Animationprotected void nextFrame()
nextFrame in class Animationprotected void animationEnd()
animationEnd in class Animation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||