Class RenamedTheme
java.lang.Object
com.github.weisj.darklaf.theme.Theme
com.github.weisj.darklaf.theme.ThemeDelegate
com.github.weisj.darklaf.theme.laf.RenamedTheme
- All Implemented Interfaces:
Serializable,Comparable<Theme>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionderive(com.github.weisj.darklaf.theme.spec.FontSizeRule fontSizeRule, com.github.weisj.darklaf.theme.spec.FontPrototype fontPrototype, com.github.weisj.darklaf.theme.spec.AccentColorRule accentColorRule) Create a derived theme with the givenFontSizeRuleandAccentColorRule.Get the display name of this theme.Methods inherited from class com.github.weisj.darklaf.theme.ThemeDelegate
appearsEqualTo, copy, customizeGlobals, customizeIconTheme, customizePlatformProperties, customizeUIProperties, getAccentColorRule, getColorToneRule, getContrastRule, getDelegate, getFontPrototype, getFontSizeRule, getLoaderClass, getName, getPrefix, getPresetIconRule, getPropertyFilePath, getResourcePath, getThemeClass, loadDefaults, loadIconTheme, supportsCustomAccentColor, supportsCustomSelectionColor, useCustomDecorationsMethods inherited from class com.github.weisj.darklaf.theme.Theme
baseThemeOf, compareTo, equals, hashCode, isDark, isHighContrast, load, loadAccentProperties, loadCustomProperties, loadPropertyFile, loadPropertyFile, loadStyleSheet, loadWithClass, toString, withDisplayName
-
Constructor Details
-
RenamedTheme
-
-
Method Details
-
derive
public Theme derive(com.github.weisj.darklaf.theme.spec.FontSizeRule fontSizeRule, com.github.weisj.darklaf.theme.spec.FontPrototype fontPrototype, com.github.weisj.darklaf.theme.spec.AccentColorRule accentColorRule) Description copied from class:ThemeCreate a derived theme with the givenFontSizeRuleandAccentColorRule.- Overrides:
derivein classThemeDelegate- Parameters:
fontSizeRule- the font size rule.fontPrototype- the font prototype.accentColorRule- the accent color rule.- Returns:
- the derived theme.
-
getDisplayName
Description copied from class:ThemeGet the display name of this theme.- Overrides:
getDisplayNamein classThemeDelegate- Returns:
- the display name of the theme.
-