Class BrandColorPalette

    • Method Detail

      • primary

        public final Palette primary()

        The primary color.

        Returns:
        The primary color.
      • secondary

        public final Palette secondary()

        The secondary color.

        Returns:
        The secondary color.
      • accent

        public final Palette accent()

        The color that is used for accent elements.

        Returns:
        The color that is used for accent elements.
      • measure

        public final Palette measure()

        The color that is used for measure elements.

        Returns:
        The color that is used for measure elements.
      • dimension

        public final Palette dimension()

        The color that is used for dimension elements.

        Returns:
        The color that is used for dimension elements.
      • success

        public final Palette success()

        The color that is used for success elements.

        Returns:
        The color that is used for success elements.
      • info

        public final Palette info()

        The color that is used for info elements.

        Returns:
        The color that is used for info elements.
      • warning

        public final Palette warning()

        The color that is used for warning elements.

        Returns:
        The color that is used for warning elements.
      • danger

        public final Palette danger()

        The color that is used for danger elements.

        Returns:
        The color that is used for danger elements.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)