Interface HasAnimation

    • Method Detail

      • getAnimationContainer

        AnimationContainer getAnimationContainer()
        Returns an animation container instance to use in the default methods of this interface.
        Returns:
        an animation container instance
      • getAnimation

        default Animation getAnimation()
        Returns the animation element.
        Returns:
        the animation
      • getAnimations

        default Animations getAnimations()
        Returns the animations collection element.
        Returns:
        the animations collection
      • getTransitions

        default Transitions getTransitions()
        Returns the animation transition element.
        Returns:
        the animation transition
      • setAnimationEnabled

        default void setAnimationEnabled​(boolean enabled)
        Enables or disables the animation.
        Parameters:
        enabled - if true the animation is enabled otherwise false to disable it.
      • isAnimationEnabled

        default boolean isAnimationEnabled()
        Returns true if animation is enabled, otherwise false.
        Returns:
        true if animation is enabled, otherwise false