Class RenamedTheme

All Implemented Interfaces:
Serializable, Comparable<Theme>

public class RenamedTheme extends ThemeDelegate
See Also:
  • Constructor Details

    • RenamedTheme

      public RenamedTheme(Theme delegate, String name)
  • 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: Theme
      Create a derived theme with the given FontSizeRule and AccentColorRule.
      Overrides:
      derive in class ThemeDelegate
      Parameters:
      fontSizeRule - the font size rule.
      fontPrototype - the font prototype.
      accentColorRule - the accent color rule.
      Returns:
      the derived theme.
    • getDisplayName

      public String getDisplayName()
      Description copied from class: Theme
      Get the display name of this theme.
      Overrides:
      getDisplayName in class ThemeDelegate
      Returns:
      the display name of the theme.