public interface HasAnimation
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()
default Animations getAnimations()
default Transitions getTransitions()
default 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