Interface Theme

All Known Implementing Classes:
DarkGreen, DarkOrange, LightGreen, LightOrange

public interface Theme
A theme is a collection of colors and fonts used to style the UI.

This interface is extended by classes providing a "Theme Bundle" which can be called and searched up to find the theme to use.

Since:
3.3
Author:
Jack Meng
  • Method Details

    • getLAF

      Class<? extends BasicLookAndFeel> getLAF()
      Get the class of the main LAF
      Returns:
      the class enumeration of the main LAF
    • getForegroundColor2

      Color getForegroundColor2()
      The secondary foreground color
      Returns:
      the secondary foreground color
    • getForegroundColor

      Color getForegroundColor()
      The primary foreground colors
      Returns:
      the primary foreground color
    • getMainBackground

      Color getMainBackground()
      The main background theme
      Returns:
      the main background color
    • getThemeName

      String getThemeName()
      The theme or the selection colors
      Returns:
      the selection color
    • getCanonicalName

      String getCanonicalName()
      Return a simplified version of the theme name. Usually that of the property value to set the theme.
      Returns:
      the theme name
    • getThemeType

      ThemeType getThemeType()
      Defines what kind of theme this theme is representing based on the ThemeType enum.
      Returns:
      the theme type (enum style)