Class NimbusUiDefaultsMapper

java.lang.Object
generic.theme.laf.UiDefaultsMapper
generic.theme.laf.NimbusUiDefaultsMapper

public class NimbusUiDefaultsMapper extends UiDefaultsMapper
  • Constructor Details

    • NimbusUiDefaultsMapper

      protected NimbusUiDefaultsMapper(UIDefaults defaults)
  • Method Details

    • registerIgnoredJavaIds

      protected void registerIgnoredJavaIds()
      Description copied from class: UiDefaultsMapper
      Registers any LookAndFeel ids that are not used directly (e.g. "control", "text", etc.) so that these values won't get mapped to any normalized id. There is no need for these values to show up in the theme values, since changing them will have no effect. They are used to seed the values for the system color and fonts. Subclasses should override this method to add additional ids so they won't show up in the theme values.
      Overrides:
      registerIgnoredJavaIds in class UiDefaultsMapper
    • pickRepresentativeValueForColorGroups

      protected void pickRepresentativeValueForColorGroups()
      Description copied from class: UiDefaultsMapper
      Defines the values to assign to all the system color ids based on the best representative value defined in the BasicLookAndFeel
      Overrides:
      pickRepresentativeValueForColorGroups in class UiDefaultsMapper
    • extractColorFontAndIconValuesFromDefaults

      protected GThemeValueMap extractColorFontAndIconValuesFromDefaults()
      Description copied from class: UiDefaultsMapper
      Mines the UiDefaults for all color values.
      Overrides:
      extractColorFontAndIconValuesFromDefaults in class UiDefaultsMapper
      Returns:
      a map of id to values for UIDefaults Colors.
    • installGColorsIntoUIDefaults

      protected void installGColorsIntoUIDefaults()
      Description copied from class: UiDefaultsMapper
      Replaces UiDefaults values with GColorUIResource values the provide the theme indirection.
      Overrides:
      installGColorsIntoUIDefaults in class UiDefaultsMapper