Enum AnimationEasing

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AnimationEasing>

    public enum AnimationEasing
    extends java.lang.Enum<AnimationEasing>
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      EASE
      Default value.
      EASE_IN
      Specifies a transition effect with a slow start (equivalent to cubic-bezier(0.42,0,1,1))
      EASE_IN_OUT
      Specifies a transition effect with a slow start and end (equivalent to cubic-bezier(0.42,0,0.58,1))
      EASE_OUT
      Specifies a transition effect with a slow end (equivalent to cubic-bezier(0,0,0.58,1))
      LINEAR
      Specifies a transition effect with the same speed from start to end (equivalent to cubic-bezier(0,0,1,1))
      STEP_END
      Equivalent to steps(1, end)
      STEP_START
      Equivalent to steps(1, start)
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCssString()  
      org.teamapps.dto.UiAnimationEasing toUiAnimationEasing()  
      static AnimationEasing valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static AnimationEasing[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • EASE

        public static final AnimationEasing EASE
        Default value. Specifies a transition effect with a slow start, then fast, then end slowly (equivalent to cubic-bezier(0.25,0.1,0.25,1))
      • LINEAR

        public static final AnimationEasing LINEAR
        Specifies a transition effect with the same speed from start to end (equivalent to cubic-bezier(0,0,1,1))
      • EASE_IN

        public static final AnimationEasing EASE_IN
        Specifies a transition effect with a slow start (equivalent to cubic-bezier(0.42,0,1,1))
      • EASE_OUT

        public static final AnimationEasing EASE_OUT
        Specifies a transition effect with a slow end (equivalent to cubic-bezier(0,0,0.58,1))
      • EASE_IN_OUT

        public static final AnimationEasing EASE_IN_OUT
        Specifies a transition effect with a slow start and end (equivalent to cubic-bezier(0.42,0,0.58,1))
      • STEP_START

        public static final AnimationEasing STEP_START
        Equivalent to steps(1, start)
      • STEP_END

        public static final AnimationEasing STEP_END
        Equivalent to steps(1, end)
    • Method Detail

      • values

        public static AnimationEasing[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AnimationEasing c : AnimationEasing.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AnimationEasing valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getCssString

        public java.lang.String getCssString()
      • toUiAnimationEasing

        public org.teamapps.dto.UiAnimationEasing toUiAnimationEasing()