Enum TextColor

    • Enum Constant Detail

      • HEADER

        public static final TextColor HEADER
      • SECONDARY

        public static final TextColor SECONDARY
      • TERTIARY

        public static final TextColor TERTIARY
      • DISABLED

        public static final TextColor DISABLED
      • PRIMARY

        public static final TextColor PRIMARY
      • PRIMARY_CONTRAST

        public static final TextColor PRIMARY_CONTRAST
      • ERROR_CONTRAST

        public static final TextColor ERROR_CONTRAST
      • SUCCESS

        public static final TextColor SUCCESS
      • SUCCESS_CONTRAST

        public static final TextColor SUCCESS_CONTRAST
    • Method Detail

      • values

        public static TextColor[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TextColor c : TextColor.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TextColor valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public String getValue()