Enum Class Animation

java.lang.Object
java.lang.Enum<Animation>
com.jbstrap.ui.enums.Animation
All Implemented Interfaces:
Serializable, Comparable<Animation>, Constable

public enum Animation extends Enum<Animation>

Animation types

This enum contains the animation types that can be used by components, that support animations. These components must implement the Animatable interface in all cases.

Since:
4.0
Author:
JBStrap
  • Enum Constant Details

    • NONE

      public static final Animation NONE
    • BOUNCE

      public static final Animation BOUNCE
    • FLASH

      public static final Animation FLASH
    • PULSE

      public static final Animation PULSE
    • RUBBER_BAND

      public static final Animation RUBBER_BAND
    • SHAKE

      public static final Animation SHAKE
    • SWING

      public static final Animation SWING
    • TADA

      public static final Animation TADA
    • WOBBLE

      public static final Animation WOBBLE
    • BOUNCE_IN

      public static final Animation BOUNCE_IN
    • BOUNCE_IN_DOWN

      public static final Animation BOUNCE_IN_DOWN
    • BOUNCE_IN_LEFT

      public static final Animation BOUNCE_IN_LEFT
    • BOUNCE_IN_RIGHT

      public static final Animation BOUNCE_IN_RIGHT
    • BOUNCE_IN_UP

      public static final Animation BOUNCE_IN_UP
    • BOUNCE_OUT

      public static final Animation BOUNCE_OUT
    • BOUNCE_OUT_DOWN

      public static final Animation BOUNCE_OUT_DOWN
    • BOUNCE_OUT_LEFT

      public static final Animation BOUNCE_OUT_LEFT
    • BOUNCE_OUT_RIGHT

      public static final Animation BOUNCE_OUT_RIGHT
    • BOUNCE_OUT_UP

      public static final Animation BOUNCE_OUT_UP
    • FADE_IN

      public static final Animation FADE_IN
    • FADE_IN_DOWN

      public static final Animation FADE_IN_DOWN
    • FADE_IN_DOWN_BIG

      public static final Animation FADE_IN_DOWN_BIG
    • FADE_IN_LEFT

      public static final Animation FADE_IN_LEFT
    • FADE_IN_LEFT_BIG

      public static final Animation FADE_IN_LEFT_BIG
    • FADE_IN_RIGHT

      public static final Animation FADE_IN_RIGHT
    • FADE_IN_RIGHT_BIG

      public static final Animation FADE_IN_RIGHT_BIG
    • FADE_IN_UP

      public static final Animation FADE_IN_UP
    • FADE_IN_UP_BIG

      public static final Animation FADE_IN_UP_BIG
    • FADE_OUT

      public static final Animation FADE_OUT
    • FADE_OUT_DOWN

      public static final Animation FADE_OUT_DOWN
    • FADE_OUT_DOWN_BIG

      public static final Animation FADE_OUT_DOWN_BIG
    • FADE_OUT_LEFT

      public static final Animation FADE_OUT_LEFT
    • FADE_OUT_LEFT_BIG

      public static final Animation FADE_OUT_LEFT_BIG
    • FADE_OUT_RIGHT

      public static final Animation FADE_OUT_RIGHT
    • FADE_OUT_RIGHT_BIG

      public static final Animation FADE_OUT_RIGHT_BIG
    • FADE_OUT_UP

      public static final Animation FADE_OUT_UP
    • FADE_OUT_UP_BIG

      public static final Animation FADE_OUT_UP_BIG
    • FLIP

      public static final Animation FLIP
    • FLIP_IN_X

      public static final Animation FLIP_IN_X
    • FLIP_IN_Y

      public static final Animation FLIP_IN_Y
    • FLIP_OUT_X

      public static final Animation FLIP_OUT_X
    • FLIP_OUT_Y

      public static final Animation FLIP_OUT_Y
    • LIGHT_SPEED_IN

      public static final Animation LIGHT_SPEED_IN
    • LIGHT_SPEED_OUT

      public static final Animation LIGHT_SPEED_OUT
    • ROTATE_IN

      public static final Animation ROTATE_IN
    • ROTATE_IN_DOWN_LEFT

      public static final Animation ROTATE_IN_DOWN_LEFT
    • ROTETE_IN_DOWN_RIGHT

      public static final Animation ROTETE_IN_DOWN_RIGHT
    • ROTATE_IN_UP_LEFT

      public static final Animation ROTATE_IN_UP_LEFT
    • ROTETE_IN_UP_RIGHT

      public static final Animation ROTETE_IN_UP_RIGHT
    • ROTATE_OUT

      public static final Animation ROTATE_OUT
    • ROTATE_OUT_DOWN_LEFT

      public static final Animation ROTATE_OUT_DOWN_LEFT
    • ROTETE_OUT_DOWN_RIGHT

      public static final Animation ROTETE_OUT_DOWN_RIGHT
    • ROTATE_OUT_UP_LEFT

      public static final Animation ROTATE_OUT_UP_LEFT
    • ROTETE_OUT_UP_RIGHT

      public static final Animation ROTETE_OUT_UP_RIGHT
    • SLIDE_IN_DOWN

      public static final Animation SLIDE_IN_DOWN
    • SLIDE_IN_LEFT

      public static final Animation SLIDE_IN_LEFT
    • SLIDE_IN_RIGHT

      public static final Animation SLIDE_IN_RIGHT
    • SLIDE_OUT_LEFT

      public static final Animation SLIDE_OUT_LEFT
    • SLIDE_OUT_RIGHT

      public static final Animation SLIDE_OUT_RIGHT
    • SLIDE_OUT_UP

      public static final Animation SLIDE_OUT_UP
    • HINGE

      public static final Animation HINGE
    • ROLL_IN

      public static final Animation ROLL_IN
    • ROLL_OUT

      public static final Animation ROLL_OUT
  • Method Details

    • values

      public static Animation[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Animation valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getStyleClassName

      public String getStyleClassName()
      Returns:
      The name of the style class, that is connected to the animation type