Class WindowsThemePreferenceProvider

java.lang.Object
com.github.weisj.darklaf.platform.windows.WindowsThemePreferenceProvider
All Implemented Interfaces:
com.github.weisj.darklaf.theme.info.ThemePreferenceProvider

public class WindowsThemePreferenceProvider extends Object implements com.github.weisj.darklaf.theme.info.ThemePreferenceProvider
  • Constructor Details

    • WindowsThemePreferenceProvider

      public WindowsThemePreferenceProvider()
  • Method Details

    • getPreference

      public com.github.weisj.darklaf.theme.info.PreferredThemeStyle getPreference()
      Specified by:
      getPreference in interface com.github.weisj.darklaf.theme.info.ThemePreferenceProvider
    • setReporting

      public void setReporting(boolean reporting)
      Specified by:
      setReporting in interface com.github.weisj.darklaf.theme.info.ThemePreferenceProvider
    • isReporting

      public boolean isReporting()
      Specified by:
      isReporting in interface com.github.weisj.darklaf.theme.info.ThemePreferenceProvider
    • initialize

      public void initialize()
      Specified by:
      initialize in interface com.github.weisj.darklaf.theme.info.ThemePreferenceProvider
    • setCallback

      public void setCallback(Consumer<com.github.weisj.darklaf.theme.info.PreferredThemeStyle> callback)
      Specified by:
      setCallback in interface com.github.weisj.darklaf.theme.info.ThemePreferenceProvider
    • canReport

      public boolean canReport()
      Specified by:
      canReport in interface com.github.weisj.darklaf.theme.info.ThemePreferenceProvider
    • supportsNativeAccentColor

      public boolean supportsNativeAccentColor()
      Specified by:
      supportsNativeAccentColor in interface com.github.weisj.darklaf.theme.info.ThemePreferenceProvider
    • supportsNativeSelectionColor

      public boolean supportsNativeSelectionColor()
      Specified by:
      supportsNativeSelectionColor in interface com.github.weisj.darklaf.theme.info.ThemePreferenceProvider
    • supportsNativeFontSize

      public boolean supportsNativeFontSize()
      Specified by:
      supportsNativeFontSize in interface com.github.weisj.darklaf.theme.info.ThemePreferenceProvider
    • supportsNativeTheme

      public boolean supportsNativeTheme()
      Specified by:
      supportsNativeTheme in interface com.github.weisj.darklaf.theme.info.ThemePreferenceProvider