Enum Class UISchemes.Family

java.lang.Object
java.lang.Enum<UISchemes.Family>
com.iizix.prop.ui.device.UISchemes.Family
All Implemented Interfaces:
Serializable, Comparable<UISchemes.Family>, Constable
Enclosing class:
UISchemes

public static enum UISchemes.Family extends Enum<UISchemes.Family>
The shipped theme families (ruling R7): IIZI, Graphite and Contrast.
Author:
Christopher Mindus
  • Enum Constant Details

    • IIZI

      public static final UISchemes.Family IIZI
      IIZI: today's colours, contemporary geometry. The default.
    • GRAPHITE

      public static final UISchemes.Family GRAPHITE
      Graphite: neutral, the macOS / Windows 11 grey.
    • CONTRAST

      public static final UISchemes.Family CONTRAST
      Contrast: accessibility, WCAG AAA text.
  • Field Details

    • name

      public final String name
      The name, as the CSS attribute data-iz-scheme carries it.
    • description

      public final String description
      The description shown in the Designer.
  • Method Details

    • values

      public static UISchemes.Family[] 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 UISchemes.Family 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
    • get

      public static UISchemes.Family get(String name)
      Gets a family from its name.
      Parameters:
      name - The name.
      Returns:
      The family, or null if not found.