public interface HasAnimation
| Modifier and Type | Field and Description |
|---|---|
static String |
ANIMATION |
static String |
ANIMATION_EASING |
static String |
ANIMATION_STEPS |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnimationCallback(AnimationCallback callback)
Add animation callback to handle animation state changes
|
void |
setAnimationEnabled(boolean enabled)
Specify should chart be animated or not
Default value is
true |
void |
setAnimationSteps(int steps)
Particularly specify quality of animation
Default value is 60
|
void |
setAnimationType(Type type)
Specify animation easing
Default value is
Type.EASE_OUT_QUART |
static final String ANIMATION
static final String ANIMATION_STEPS
static final String ANIMATION_EASING
void setAnimationEnabled(boolean enabled)
trueenabled - void setAnimationSteps(int steps)
steps - void setAnimationType(Type type)
Type.EASE_OUT_QUARTtype - void addAnimationCallback(AnimationCallback callback)
callback - Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.