Package guideme.color
Enum Class SymbolicColor
- All Implemented Interfaces:
ColorValue
,Serializable
,Comparable<SymbolicColor>
,Constable
Symbolic colors can be overridden more easily in styles and define both a light- and dark-themed color variant.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionColor used for the type of crafting shown in recipe blocks. -
Method Summary
Modifier and TypeMethodDescriptionint
resolve
(LightDarkMode lightDarkMode) Resolve as ARGB 32-bit.static SymbolicColor
Returns the enum constant of this class with the specified name.static SymbolicColor[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINK
-
BODY_TEXT
-
ERROR_TEXT
-
CRAFTING_RECIPE_TYPE
Color used for the type of crafting shown in recipe blocks. -
THEMATIC_BREAK
-
HEADER1_SEPARATOR
-
HEADER2_SEPARATOR
-
NAVBAR_BG_TOP
-
NAVBAR_BG_BOTTOM
-
NAVBAR_ROW_HOVER
-
NAVBAR_EXPAND_ARROW
-
TABLE_BORDER
-
ICON_BUTTON_NORMAL
-
ICON_BUTTON_DISABLED
-
ICON_BUTTON_HOVER
-
IN_WORLD_BLOCK_HIGHLIGHT
-
SCENE_BACKGROUND
-
-
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
-
resolve
Description copied from interface:ColorValue
Resolve as ARGB 32-bit.- Specified by:
resolve
in interfaceColorValue
-