Interface Theme


public interface Theme
Contract representing a theme with its name and settings. Theme is a concept where you can request a style by using a theme tag. At this point an actual style is not known as it's going to get resolved from an enable theme.
  • Method Details

    • getName

      String getName()
      Gets a theme name.
      Returns:
      a theme name.
    • getSettings

      ThemeSettings getSettings()
      Gets a theme settings.
      Returns:
      a theme settings
    • of

      static Theme of(String name, ThemeSettings themeSettings)
      Create a Theme.
      Parameters:
      name - the theme name
      themeSettings - the theme settings
      Returns:
      a theme