org.noos.xing.mydoggy.plaf.ui.animation
Class TransparencyAnimation

java.lang.Object
  extended by org.noos.xing.mydoggy.plaf.ui.animation.AbstractAnimation
      extended by org.noos.xing.mydoggy.plaf.ui.animation.TransparencyAnimation
All Implemented Interfaces:
ActionListener, EventListener

public class TransparencyAnimation
extends AbstractAnimation

Author:
Angelo De Caro (angelo.decaro@gmail.com)

Nested Class Summary
static class TransparencyAnimation.Translucent2TransparencyManager
           
 
Nested classes/interfaces inherited from class org.noos.xing.mydoggy.plaf.ui.animation.AbstractAnimation
AbstractAnimation.Direction, AbstractAnimation.Type
 
Field Summary
 
Fields inherited from class org.noos.xing.mydoggy.plaf.ui.animation.AbstractAnimation
SYNC
 
Constructor Summary
TransparencyAnimation(TranslucentComponent translucentComponent, Component component, float alpha, float duration)
           
TransparencyAnimation(TransparencyManager transparencyManager, Component component, float alpha)
           
TransparencyAnimation(TransparencyManager transparencyManager, Component component, float alpha, float duration)
           
 
Method Summary
protected  AbstractAnimation.Direction chooseFinishDirection(AbstractAnimation.Type type)
           
 TransparencyManager getTransparencyManager()
           
protected  float onAnimating(float animationPercent)
           
protected  void onFinishAnimation()
           
protected  void onHide(Object... params)
           
protected  void onShow(Object... params)
           
protected  void onStartAnimation(AbstractAnimation.Direction direction)
           
 void setAlpha(float alpha)
           
 
Methods inherited from class org.noos.xing.mydoggy.plaf.ui.animation.AbstractAnimation
actionPerformed, addAnimationListener, fireOnFinished, getAnimationDirection, hide, isAnimating, removeAnimationListener, show, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransparencyAnimation

public TransparencyAnimation(TransparencyManager transparencyManager,
                             Component component,
                             float alpha)

TransparencyAnimation

public TransparencyAnimation(TransparencyManager transparencyManager,
                             Component component,
                             float alpha,
                             float duration)

TransparencyAnimation

public TransparencyAnimation(TranslucentComponent translucentComponent,
                             Component component,
                             float alpha,
                             float duration)
Method Detail

onAnimating

protected float onAnimating(float animationPercent)
Specified by:
onAnimating in class AbstractAnimation

onFinishAnimation

protected void onFinishAnimation()
Specified by:
onFinishAnimation in class AbstractAnimation

onHide

protected void onHide(Object... params)
Specified by:
onHide in class AbstractAnimation

onShow

protected void onShow(Object... params)
Specified by:
onShow in class AbstractAnimation

onStartAnimation

protected void onStartAnimation(AbstractAnimation.Direction direction)
Specified by:
onStartAnimation in class AbstractAnimation

chooseFinishDirection

protected AbstractAnimation.Direction chooseFinishDirection(AbstractAnimation.Type type)
Overrides:
chooseFinishDirection in class AbstractAnimation

setAlpha

public void setAlpha(float alpha)

getTransparencyManager

public TransparencyManager getTransparencyManager()


Copyright © 2012. All Rights Reserved.