Package guideme.color

Enum Class SymbolicColor

java.lang.Object
java.lang.Enum<SymbolicColor>
guideme.color.SymbolicColor
All Implemented Interfaces:
ColorValue, Serializable, Comparable<SymbolicColor>, Constable

public enum SymbolicColor extends Enum<SymbolicColor> implements ColorValue
Symbolic colors can be overridden more easily in styles and define both a light- and dark-themed color variant.
  • Enum Constant Details

    • BODY_TEXT

      public static final SymbolicColor BODY_TEXT
    • ERROR_TEXT

      public static final SymbolicColor ERROR_TEXT
    • CRAFTING_RECIPE_TYPE

      public static final SymbolicColor CRAFTING_RECIPE_TYPE
      Color used for the type of crafting shown in recipe blocks.
    • THEMATIC_BREAK

      public static final SymbolicColor THEMATIC_BREAK
    • HEADER1_SEPARATOR

      public static final SymbolicColor HEADER1_SEPARATOR
    • HEADER2_SEPARATOR

      public static final SymbolicColor HEADER2_SEPARATOR
    • TABLE_BORDER

      public static final SymbolicColor TABLE_BORDER
    • ICON_BUTTON_NORMAL

      public static final SymbolicColor ICON_BUTTON_NORMAL
    • ICON_BUTTON_DISABLED

      public static final SymbolicColor ICON_BUTTON_DISABLED
    • ICON_BUTTON_HOVER

      public static final SymbolicColor ICON_BUTTON_HOVER
    • IN_WORLD_BLOCK_HIGHLIGHT

      public static final SymbolicColor IN_WORLD_BLOCK_HIGHLIGHT
    • SCENE_BACKGROUND

      public static final SymbolicColor SCENE_BACKGROUND
  • Method Details

    • values

      public static SymbolicColor[] 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 SymbolicColor 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
    • resolve

      public int resolve(LightDarkMode lightDarkMode)
      Description copied from interface: ColorValue
      Resolve as ARGB 32-bit.
      Specified by:
      resolve in interface ColorValue