Class Theme

java.lang.Object
com.djrapitops.plan.settings.theme.Theme
All Implemented Interfaces:
SubSystem

@Singleton public class Theme extends Object implements SubSystem
Enum that contains available themes.

Change config setting Theme.Base to select one.

  • Constructor Details

    • Theme

      @Inject public Theme(PlanFiles files, PlanConfig config, net.playeranalytics.plugin.server.PluginLogger logger)
  • Method Details

    • getValue

      public String getValue(ThemeVal variable)
    • getPieColors

      public String[] getPieColors(ThemeVal variable)
    • enable

      public void enable()
      Description copied from interface: SubSystem
      Performs enable actions for the subsystem.
      Specified by:
      enable in interface SubSystem
    • disable

      public void disable()
      Description copied from interface: SubSystem
      Performs disable actions for the subsystem
      Specified by:
      disable in interface SubSystem
    • replaceThemeColors

      public String replaceThemeColors(String resourceString)