Enum AnimationEasing
java.lang.Object
java.lang.Enum<AnimationEasing>
org.teamapps.ux.component.absolutelayout.AnimationEasing
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AnimationEasing>,java.lang.constant.Constable
public enum AnimationEasing extends java.lang.Enum<AnimationEasing>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description EASEDefault value.EASE_INSpecifies a transition effect with a slow start (equivalent to cubic-bezier(0.42,0,1,1))EASE_IN_OUTSpecifies a transition effect with a slow start and end (equivalent to cubic-bezier(0.42,0,0.58,1))EASE_OUTSpecifies a transition effect with a slow end (equivalent to cubic-bezier(0,0,0.58,1))LINEARSpecifies a transition effect with the same speed from start to end (equivalent to cubic-bezier(0,0,1,1))STEP_ENDEquivalent to steps(1, end)STEP_STARTEquivalent to steps(1, start) -
Method Summary
Modifier and Type Method Description java.lang.StringgetCssString()org.teamapps.dto.UiAnimationEasingtoUiAnimationEasing()static AnimationEasingvalueOf(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.
-
Enum Constant Details
-
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
Specifies a transition effect with the same speed from start to end (equivalent to cubic-bezier(0,0,1,1)) -
EASE_IN
Specifies a transition effect with a slow start (equivalent to cubic-bezier(0.42,0,1,1)) -
EASE_OUT
Specifies a transition effect with a slow end (equivalent to cubic-bezier(0,0,0.58,1)) -
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
Equivalent to steps(1, start) -
STEP_END
Equivalent to steps(1, end)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 namejava.lang.NullPointerException- if the argument is null
-
getCssString
public java.lang.String getCssString() -
toUiAnimationEasing
public org.teamapps.dto.UiAnimationEasing toUiAnimationEasing()
-