Enum Class ColorScheme
- All Implemented Interfaces:
Serializable
,Comparable<ColorScheme>
,Constable
Represents different types of color schemes that can be selected in order to load the matching color palette.
- Author:
- Florian Orendi
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionColors which are usable in case of color blindness.Colors which are used if the dark mode is activated.The default colors. -
Method Summary
Modifier and TypeMethodDescriptionstatic ColorScheme
Returns the enum constant of this class with the specified name.static ColorScheme[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
The default colors. -
DARK_MODE
Colors which are used if the dark mode is activated. -
COLOR_BLINDNESS
Colors which are usable in case of color blindness.
-
-
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
-