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.
  • 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