Enum Class ColorRoles.Group
- All Implemented Interfaces:
Serializable, Comparable<ColorRoles.Group>, Constable
- Enclosing class:
ColorRoles
The groups of the vocabulary table (
THEME-DESIGN.md section 4.3), in the order the theme editor shows them.- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe accent color and what goes on it.The feedback: error, warning, success, info.The lines: border, divider, focus outline.The interaction states: hovered, pressed, selected, disabled.The surfaces: backgrounds, header, tooltip, scrim.The text.The widgets.Field Summary
FieldsMethod Summary
Modifier and TypeMethodDescriptionstatic ColorRoles.GroupReturns the enum constant of this class with the specified name.static ColorRoles.Group[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
SURFACE
The surfaces: backgrounds, header, tooltip, scrim.TEXT
The text.ACCENT
The accent color and what goes on it.WIDGET
The widgets.STATE
The interaction states: hovered, pressed, selected, disabled.FEEDBACK
The feedback: error, warning, success, info.LINE
The lines: border, divider, focus outline.
Field Details
label
The label the Designer shows.
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