com.alee.extended.transition.effects.curtain
Class CurtainTransitionEffect
java.lang.Object
com.alee.extended.transition.effects.DefaultTransitionEffect
com.alee.extended.transition.effects.curtain.CurtainTransitionEffect
- All Implemented Interfaces:
- TransitionEffect
public class CurtainTransitionEffect
- extends DefaultTransitionEffect
User: mgarin Date: 09.11.12 Time: 16:35
Methods inherited from class com.alee.extended.transition.effects.DefaultTransitionEffect |
clearSettings, get, getAnimationDelay, getDirection, getEffectSettings, isAnimating, performAnimationTick, put, remove, setDirection, setEffectSettings |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CurtainTransitionEffect
public CurtainTransitionEffect()
getSize
public int getSize()
setSize
public void setSize(int size)
getMinimumSpeed
public int getMinimumSpeed()
setMinimumSpeed
public void setMinimumSpeed(int speed)
getSpeed
public int getSpeed()
setSpeed
public void setSpeed(int speed)
isFade
public boolean isFade()
setFade
public void setFade(boolean transparent)
getType
public CurtainType getType()
setType
public void setType(CurtainType type)
getSlideDirection
public CurtainSlideDirection getSlideDirection()
setSlideDirection
public void setSlideDirection(CurtainSlideDirection direction)
prepareAnimation
public void prepareAnimation(ImageTransition imageTransition)
- Description copied from class:
DefaultTransitionEffect
- Initial animation tick used for preparations
- Specified by:
prepareAnimation
in class DefaultTransitionEffect
performAnimation
public boolean performAnimation(ImageTransition imageTransition)
- Description copied from class:
DefaultTransitionEffect
- Single animation tick
- Specified by:
performAnimation
in class DefaultTransitionEffect
paint
public void paint(java.awt.Graphics2D g2d,
ImageTransition transition)
- Description copied from interface:
TransitionEffect
- Paints current transition state.
- Parameters:
g2d
- graphics contexttransition
- image transition component