public interface HasAnimationOptions extends IsDefaultAnimationContainer
| Modifier and Type | Method and Description |
|---|---|
default Animation |
getAnimation()
Returns the animation element.
|
AnimationContainer |
getAnimationContainer()
Returns an animation container instance to use in the default methods of this interface.
|
default Animations |
getAnimations()
Returns the animations collection element.
|
default Transitions |
getTransitions()
Returns the animation transition element.
|
default boolean |
isAnimationEnabled()
Returns
true if animation is enabled, otherwise false. |
default void |
setAnimationEnabled(boolean enabled)
Enables or disables the animation.
|
AnimationContainer getAnimationContainer()
default Animation getAnimation()
getAnimation in interface IsDefaultAnimationTransitiondefault Animations getAnimations()
getAnimations in interface IsDefaultAnimationTransitiondefault Transitions getTransitions()
getTransitions in interface IsDefaultAnimationContainerdefault void setAnimationEnabled(boolean enabled)
enabled - if true the animation is enabled otherwise false to disable it.default boolean isAnimationEnabled()
true if animation is enabled, otherwise false.true if animation is enabled, otherwise false