|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jtheque.core.utils.ui.AnimationUtils
public final class AnimationUtils
An utility class for animation.
Method Summary | |
---|---|
static org.jdesktop.animation.timing.Animator |
createFadeInAnimator(java.lang.Object view)
Create a fade in animator for a view. |
static org.jdesktop.animation.timing.Animator |
createFadeOutAnimator(java.lang.Object view)
Create a Fade Out animator for the view. |
static org.jdesktop.animation.timing.Animator |
createLoopEffect(java.lang.Object view,
int duration,
java.lang.String property,
int to)
Create a simple loop effect for the view. |
static org.jdesktop.animation.timing.Animator |
createSpringEffectAnimator(java.lang.Object view)
Create a spring effect animator for a view. |
static void |
startFadeIn(java.lang.Object view)
Fade in the view. |
static void |
startFadeOut(java.lang.Object view)
Fade out the view. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.jdesktop.animation.timing.Animator createFadeOutAnimator(java.lang.Object view)
view
- The view to fade out.
public static org.jdesktop.animation.timing.Animator createFadeInAnimator(java.lang.Object view)
view
- The view to fade in.
public static org.jdesktop.animation.timing.Animator createSpringEffectAnimator(java.lang.Object view)
view
- The view to animate.
public static org.jdesktop.animation.timing.Animator createLoopEffect(java.lang.Object view, int duration, java.lang.String property, int to)
view
- The view to animate.duration
- The duration of the animation.property
- The property to loop.to
- The to value.
public static void startFadeIn(java.lang.Object view)
view
- The view to fade in.public static void startFadeOut(java.lang.Object view)
view
- The view to fade out.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |