Enum Class Toast.Style

java.lang.Object
java.lang.Enum<Toast.Style>
com.ultikits.ultitools.widgets.Toast.Style
All Implemented Interfaces:
Serializable, Comparable<Toast.Style>, java.lang.constant.Constable
Enclosing class:
Toast

public static enum Toast.Style extends Enum<Toast.Style>
Toast display styles based on Minecraft advancement frame types.
基于 Minecraft 成就框架类型的提示显示样式。
  • Enum Constant Details

    • GOAL

      public static final Toast.Style GOAL
      Goal style - green square frame / 目标样式 - 绿色方形边框
    • TASK

      public static final Toast.Style TASK
      Task style - yellow square frame (default) / 任务样式 - 黄色方形边框(默认)
    • CHALLENGE

      public static final Toast.Style CHALLENGE
      Challenge style - purple spiked frame / 挑战样式 - 紫色尖刺边框
  • Constructor Details

    • Style

      private Style()
  • Method Details

    • values

      public static Toast.Style[] 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

      public static Toast.Style valueOf(String name)
      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 name
      NullPointerException - if the argument is null