Enum Class IntelligentItemAnimatorType
java.lang.Object
java.lang.Enum<IntelligentItemAnimatorType>
io.github.rysefoxx.inventory.plugin.enums.IntelligentItemAnimatorType
- All Implemented Interfaces:
Serializable,Comparable<IntelligentItemAnimatorType>,Constable
- Since:
- 4/12/2022
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll the text is animated as Flash.The whole text is animated.The text will be animated from left to right. -
Method Summary
Modifier and TypeMethodDescriptionstatic IntelligentItemAnimatorTypeReturns the enum constant of this class with the specified name.static IntelligentItemAnimatorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WORD_BY_WORD
The text will be animated from left to right.Your Text: Hello World
First H is animated then e then l then o and so on.
-
FULL_WORD
The whole text is animated.Your Text: Hello World
First the whole text is animated e.g. in red then in aqua.
§4Hello World
§bHello World
-
FLASH
All the text is animated as Flash.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-