|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.extended.transition.effects.DefaultTransitionEffect
public abstract class DefaultTransitionEffect
User: mgarin Date: 09.11.12 Time: 14:34
Field Summary | |
---|---|
protected boolean |
animating
|
protected static java.lang.String |
DIRECTION
|
protected java.util.Map<java.lang.String,java.lang.Object> |
effectSettings
|
Constructor Summary | |
---|---|
DefaultTransitionEffect()
|
Method Summary | ||
---|---|---|
protected void |
clearSettings()
|
|
protected
|
get(java.lang.String property,
T defaultValue)
|
|
long |
getAnimationDelay()
Default methods |
|
Direction |
getDirection()
|
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getEffectSettings()
Effect settings storage |
|
boolean |
isAnimating()
Returns whether transition is performed or not. |
|
abstract boolean |
performAnimation(ImageTransition imageTransition)
Single animation tick |
|
boolean |
performAnimationTick(ImageTransition transition)
Default animation methods |
|
abstract void |
prepareAnimation(ImageTransition imageTransition)
Initial animation tick used for preparations |
|
protected void |
put(java.lang.String property,
java.lang.Object value)
|
|
protected void |
remove(java.lang.String property)
|
|
void |
setDirection(Direction direction)
|
|
protected void |
setEffectSettings(java.util.Map<java.lang.String,java.lang.Object> effectSettings)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.alee.extended.transition.effects.TransitionEffect |
---|
paint |
Field Detail |
---|
protected static final java.lang.String DIRECTION
protected java.util.Map<java.lang.String,java.lang.Object> effectSettings
protected boolean animating
Constructor Detail |
---|
public DefaultTransitionEffect()
Method Detail |
---|
public long getAnimationDelay()
getAnimationDelay
in interface TransitionEffect
public boolean isAnimating()
TransitionEffect
isAnimating
in interface TransitionEffect
public Direction getDirection()
public void setDirection(Direction direction)
protected java.util.Map<java.lang.String,java.lang.Object> getEffectSettings()
protected void setEffectSettings(java.util.Map<java.lang.String,java.lang.Object> effectSettings)
protected void put(java.lang.String property, java.lang.Object value)
protected void remove(java.lang.String property)
protected void clearSettings()
protected <T> T get(java.lang.String property, T defaultValue)
public boolean performAnimationTick(ImageTransition transition)
performAnimationTick
in interface TransitionEffect
transition
- image transition component
public abstract void prepareAnimation(ImageTransition imageTransition)
public abstract boolean performAnimation(ImageTransition imageTransition)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |