Package com.ultikits.ultitools.widgets
Enum Class Toast.Style
- All Implemented Interfaces:
Serializable,Comparable<Toast.Style>,java.lang.constant.Constable
- Enclosing class:
Toast
Toast display styles based on Minecraft advancement frame types.
基于 Minecraft 成就框架类型的提示显示样式。
基于 Minecraft 成就框架类型的提示显示样式。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Toast.StyleReturns the enum constant of this class with the specified name.static Toast.Style[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GOAL
Goal style - green square frame / 目标样式 - 绿色方形边框 -
TASK
Task style - yellow square frame (default) / 任务样式 - 黄色方形边框(默认) -
CHALLENGE
Challenge style - purple spiked frame / 挑战样式 - 紫色尖刺边框
-
-
Constructor Details
-
Style
private Style()
-
-
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
-