public enum AnimationStyle extends java.lang.Enum<AnimationStyle> implements INativeEnum
Enum Constant and Description |
---|
BlinkingBackground
The font and background alternate between assigned colors and contrasting colors.
|
LasVegasLights
The bounding rectangle displays a border of alternating icons of different colors.
|
MarchingBlackAnts
The bounding rectangle displays moving black dashes.
|
MarchingRedAnts
The bounding rectangle displays moving red dashes.
|
None
None.
|
Other
Other.
|
Shimmer
The font alternates between solid and blurred.
|
SparkleText
The background displays flashing, multicolored icons.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<AnimationStyle> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static AnimationStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnimationStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnimationStyle None
public static final AnimationStyle LasVegasLights
public static final AnimationStyle BlinkingBackground
public static final AnimationStyle SparkleText
public static final AnimationStyle MarchingBlackAnts
public static final AnimationStyle MarchingRedAnts
public static final AnimationStyle Shimmer
public static final AnimationStyle Other
public static AnimationStyle[] values()
for (AnimationStyle c : AnimationStyle.values()) System.out.println(c);
public static AnimationStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getNativeValue()
getNativeValue
in interface INativeEnum
public java.lang.String getConstantName()
getConstantName
in interface INativeEnum
public static java.util.Optional<AnimationStyle> fromNativeValue(int nativeValue)