Enum Class ColorRoles.Group

java.lang.Object
java.lang.Enum<ColorRoles.Group>
com.iizix.prop.ColorRoles.Group
All Implemented Interfaces:
Serializable, Comparable<ColorRoles.Group>, Constable
Enclosing class:
ColorRoles

public static enum ColorRoles.Group extends Enum<ColorRoles.Group>
The groups of the vocabulary table (THEME-DESIGN.md section 4.3), in the order the theme editor shows them.
Author:
Christopher Mindus
  • Enum Constant Details

    • SURFACE

      public static final ColorRoles.Group SURFACE
      The surfaces: backgrounds, header, tooltip, scrim.
    • TEXT

      public static final ColorRoles.Group TEXT
      The text.
    • ACCENT

      public static final ColorRoles.Group ACCENT
      The accent color and what goes on it.
    • WIDGET

      public static final ColorRoles.Group WIDGET
      The widgets.
    • STATE

      public static final ColorRoles.Group STATE
      The interaction states: hovered, pressed, selected, disabled.
    • FEEDBACK

      public static final ColorRoles.Group FEEDBACK
      The feedback: error, warning, success, info.
    • LINE

      public static final ColorRoles.Group LINE
      The lines: border, divider, focus outline.
  • Field Details

    • label

      public final String label
      The label the Designer shows.
  • Method Details

    • values

      public static ColorRoles.Group[] 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 ColorRoles.Group 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