org.noos.xing.mydoggy.plaf.ui.animation
Class AbstractAnimation
java.lang.Object
org.noos.xing.mydoggy.plaf.ui.animation.AbstractAnimation
- All Implemented Interfaces:
- ActionListener, EventListener
- Direct Known Subclasses:
- ContentRepresentativeAnchorUI.GradientAnimation, FloatingContainer.FloatingAnimation, MoveComponentAnimation, MyDoggyToolWindowBar.VisibleDockedListener.SplitAnimation, SlidingContainer.SlidingAnimation, ToolWindowRepresentativeAnchorUI.GradientAnimation, ToolWindowTitleBarUI.GradientAnimation, TransparencyAnimation
public abstract class AbstractAnimation
- extends Object
- implements ActionListener
- Author:
- Angelo De Caro (angelo.decaro@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYNC
public final Object SYNC
AbstractAnimation
public AbstractAnimation(float animationDuration)
actionPerformed
public final void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed in interface ActionListener
show
public final void show(Object... params)
hide
public final void hide(Object... params)
stop
public final void stop()
isAnimating
public final boolean isAnimating()
getAnimationDirection
public final AbstractAnimation.Direction getAnimationDirection()
addAnimationListener
public void addAnimationListener(AnimationListener animationListener)
removeAnimationListener
public void removeAnimationListener(AnimationListener animationListener)
onShow
protected abstract void onShow(Object... params)
onHide
protected abstract void onHide(Object... params)
onStartAnimation
protected abstract void onStartAnimation(AbstractAnimation.Direction direction)
onFinishAnimation
protected abstract void onFinishAnimation()
onAnimating
protected abstract float onAnimating(float animationPercent)
chooseFinishDirection
protected AbstractAnimation.Direction chooseFinishDirection(AbstractAnimation.Type type)
fireOnFinished
protected void fireOnFinished()
Copyright © 2012. All Rights Reserved.