Enum AnimationTimingFunction
- java.lang.Object
-
- java.lang.Enum<AnimationTimingFunction>
-
- com.inductiveautomation.perspective.designer.styles.attributes.AnimationTimingFunction
-
- All Implemented Interfaces:
Suggestion
,java.io.Serializable
,java.lang.Comparable<AnimationTimingFunction>
public enum AnimationTimingFunction extends java.lang.Enum<AnimationTimingFunction> implements Suggestion
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getShorthand()
The shorthand to display to the userjava.lang.String
getValue()
The actual value for the underlying propertystatic AnimationTimingFunction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AnimationTimingFunction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
linear
public static final AnimationTimingFunction linear
-
ease
public static final AnimationTimingFunction ease
-
easeIn
public static final AnimationTimingFunction easeIn
-
easeOut
public static final AnimationTimingFunction easeOut
-
easeInOut
public static final AnimationTimingFunction easeInOut
-
stepStart
public static final AnimationTimingFunction stepStart
-
stepEnd
public static final AnimationTimingFunction stepEnd
-
exaggerate
public static final AnimationTimingFunction exaggerate
-
-
Method Detail
-
values
public static AnimationTimingFunction[] 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 (AnimationTimingFunction c : AnimationTimingFunction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnimationTimingFunction 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 namejava.lang.NullPointerException
- if the argument is null
-
getShorthand
public java.lang.String getShorthand()
Description copied from interface:Suggestion
The shorthand to display to the user- Specified by:
getShorthand
in interfaceSuggestion
-
getValue
public java.lang.String getValue()
Description copied from interface:Suggestion
The actual value for the underlying property- Specified by:
getValue
in interfaceSuggestion
-
-