de.enough.polish.ui.cssanimations
Class IntegerCssAnimation
java.lang.Object
de.enough.polish.ui.CssAnimation
de.enough.polish.ui.cssanimations.IntegerCssAnimation
public class IntegerCssAnimation
- extends CssAnimation
Animates numerical integer CSS attributes.
Copyright Enough Software 2008
- Author:
- Robert Virkus, j2mepolish@enough.de
| Fields inherited from class de.enough.polish.ui.CssAnimation |
ANIMATION_FINISHED, cssAttributeId, delay, duration, fireEvent, function, FUNCTION_EASE, FUNCTION_EASE_IN, FUNCTION_EASE_OUT, FUNCTION_EXPONENTIAL_IN, FUNCTION_EXPONENTIAL_OUT, FUNCTION_LINEAR, repeat, triggerEventId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startValue
protected final int startValue
endValue
protected final int endValue
IntegerCssAnimation
public IntegerCssAnimation(int cssAttributeId,
String triggerEvent,
long duration,
long delay,
int function,
int repeat,
String fireEvent,
Integer startValue,
Integer endValue)
- Parameters:
cssAttributeId - triggerEvent - duration - delay - function - repeat - fireEvent - startValue - the integer value at the beginningendValue - the integer value at the end of this animation
animate
public Object animate(Style style,
Object styleValue,
long passedTime)
- Description copied from class:
CssAnimation
- Animates a UI element
- Specified by:
animate in class CssAnimation
- Parameters:
style - the style of the elementstyleValue - the current valuepassedTime - the time passed since the start of this animation in milliseconds
- Returns:
- the next value, ANIMATION_FINISHED when the animation is finished
- See Also:
CssAnimation.ANIMATION_FINISHED