Class ColorTheme

java.lang.Object
foundry.veil.api.client.color.ColorTheme

@Deprecated public class ColorTheme extends Object
Deprecated.
A color theme is a collection of colors. The colors can be accessed by name. Themes are intended to be used for color schemes.

A color theme can be used to apply a color scheme to a Tooltippable tooltip. Themes can also be used to hold arbitrary color data mapped to strings.

  • Field Details

    • DEFAULT

      public static final ColorTheme DEFAULT
      Deprecated.
  • Constructor Details

    • ColorTheme

      public ColorTheme()
      Deprecated.
    • ColorTheme

      public ColorTheme(Colorc... colors)
      Deprecated.
  • Method Details

    • addProperty

      public void addProperty(@Nullable @Nullable String name, IThemeProperty<?> property)
      Deprecated.
    • addProperty

      public void addProperty(IThemeProperty<?> property)
      Deprecated.
    • getAndCastProperty

      @Nullable public @Nullable Object getAndCastProperty(@Nullable @Nullable String name)
      Deprecated.
    • getProperty

      @Nullable public @Nullable IThemeProperty<?> getProperty(@Nullable @Nullable String name)
      Deprecated.
    • removeProperty

      public void removeProperty(@Nullable @Nullable String name)
      Deprecated.
    • clearProperties

      public void clearProperties()
      Deprecated.
    • addColor

      public void addColor(@Nullable @Nullable String name, Colorc color)
      Deprecated.
    • addColor

      public void addColor(Colorc color)
      Deprecated.
    • getColor

      public Colorc getColor(@Nullable @Nullable String name)
      Deprecated.
    • getColor

      public Colorc getColor()
      Deprecated.
    • removeColor

      public void removeColor(@Nullable @Nullable String name)
      Deprecated.
    • removeColor

      public void removeColor()
      Deprecated.
    • clear

      public void clear()
      Deprecated.
    • getNames

      public List<String> getNames()
      Deprecated.
    • getColors

      public List<Colorc> getColors()
      Deprecated.
    • getColorsMap

      public Map<String,Colorc> getColorsMap()
      Deprecated.