Class 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 Detail

      • WindowsThemePreferenceProvider

        public WindowsThemePreferenceProvider()
    • Method Detail

      • 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
      • 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