Class ThemeBase

java.lang.Object
org.rusherhack.client.api.ui.theme.ThemeBase
All Implemented Interfaces:
ITheme, org.rusherhack.core.feature.IFeature, org.rusherhack.core.feature.IFeatureConfigurable, org.rusherhack.core.interfaces.INamed, org.rusherhack.core.serialize.ISerializable<com.google.gson.JsonElement>, org.rusherhack.core.serialize.JsonSerializable

public abstract class ThemeBase extends Object implements ITheme
  • Constructor Details

    • ThemeBase

      public ThemeBase(String name, String description, Color defaultColor)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.rusherhack.core.interfaces.INamed
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.rusherhack.core.feature.IFeature
    • getSettings

      public List<org.rusherhack.core.setting.Setting<?>> getSettings()
      Specified by:
      getSettings in interface org.rusherhack.core.feature.IFeatureConfigurable
    • getColorSetting

      public ColorSetting getColorSetting()
      Specified by:
      getColorSetting in interface ITheme
      Returns:
      The ColorSetting for this theme
    • getPrimaryColor

      public Color getPrimaryColor()
      Specified by:
      getPrimaryColor in interface ITheme