Enum Class UISchemes.Family
- All Implemented Interfaces:
Serializable, Comparable<UISchemes.Family>, Constable
- Enclosing class:
UISchemes
The shipped theme families (ruling R7): IIZI, Graphite and Contrast.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsField Summary
FieldsMethod Summary
Modifier and TypeMethodDescriptionstatic UISchemes.FamilyGets a family from its name.static UISchemes.FamilyReturns the enum constant of this class with the specified name.static UISchemes.Family[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
IIZI
IIZI: today's colours, contemporary geometry. The default.GRAPHITE
Graphite: neutral, the macOS / Windows 11 grey.CONTRAST
Contrast: accessibility, WCAG AAA text.
Field Details
name
The name, as the CSS attributedata-iz-schemecarries it.description
The description shown in the Designer.
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
get
Gets a family from its name.- Parameters:
name- The name.- Returns:
- The family, or null if not found.