Class UIColorPalette

    • Method Detail

      • primaryForeground

        public final String primaryForeground()

        The color of text and other foreground elements that appear over the primary background regions, such as grid lines, borders, table banding, icons, and so on.

        Returns:
        The color of text and other foreground elements that appear over the primary background regions, such as grid lines, borders, table banding, icons, and so on.
      • primaryBackground

        public final String primaryBackground()

        The background color that applies to visuals and other high emphasis UI.

        Returns:
        The background color that applies to visuals and other high emphasis UI.
      • secondaryForeground

        public final String secondaryForeground()

        The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.

        Returns:
        The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.
      • secondaryBackground

        public final String secondaryBackground()

        The background color that applies to the sheet background and sheet controls.

        Returns:
        The background color that applies to the sheet background and sheet controls.
      • accent

        public final String accent()

        This color is that applies to selected states and buttons.

        Returns:
        This color is that applies to selected states and buttons.
      • accentForeground

        public final String accentForeground()

        The foreground color that applies to any text or other elements that appear over the accent color.

        Returns:
        The foreground color that applies to any text or other elements that appear over the accent color.
      • danger

        public final String danger()

        The color that applies to error messages.

        Returns:
        The color that applies to error messages.
      • dangerForeground

        public final String dangerForeground()

        The foreground color that applies to any text or other elements that appear over the error color.

        Returns:
        The foreground color that applies to any text or other elements that appear over the error color.
      • warning

        public final String warning()

        This color that applies to warning and informational messages.

        Returns:
        This color that applies to warning and informational messages.
      • warningForeground

        public final String warningForeground()

        The foreground color that applies to any text or other elements that appear over the warning color.

        Returns:
        The foreground color that applies to any text or other elements that appear over the warning color.
      • success

        public final String success()

        The color that applies to success messages, for example the check mark for a successful download.

        Returns:
        The color that applies to success messages, for example the check mark for a successful download.
      • successForeground

        public final String successForeground()

        The foreground color that applies to any text or other elements that appear over the success color.

        Returns:
        The foreground color that applies to any text or other elements that appear over the success color.
      • dimension

        public final String dimension()

        The color that applies to the names of fields that are identified as dimensions.

        Returns:
        The color that applies to the names of fields that are identified as dimensions.
      • dimensionForeground

        public final String dimensionForeground()

        The foreground color that applies to any text or other elements that appear over the dimension color.

        Returns:
        The foreground color that applies to any text or other elements that appear over the dimension color.
      • measure

        public final String measure()

        The color that applies to the names of fields that are identified as measures.

        Returns:
        The color that applies to the names of fields that are identified as measures.
      • measureForeground

        public final String measureForeground()

        The foreground color that applies to any text or other elements that appear over the measure color.

        Returns:
        The foreground color that applies to any text or other elements that appear over the measure color.
      • 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)