Interface ThemeManager
-
- All Known Implementing Classes:
ThemeManagerImpl
public interface ThemeManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
getTheme(java.lang.String themeName)
Fetch a theme provided the theme's name.java.util.List<java.lang.String>
getThemesList()
Fetch a list of all of the available theme names.
-
-
-
Method Detail
-
getTheme
java.util.Optional<java.lang.String> getTheme(java.lang.String themeName)
Fetch a theme provided the theme's name.- Parameters:
themeName
- The base name, ie. theme-dark, of the theme to fetch.- Returns:
- Returns
Theme themeName
ornull
if the requested theme does not exist.
-
getThemesList
java.util.List<java.lang.String> getThemesList()
Fetch a list of all of the available theme names.- Returns:
- A string list of available themes that may be fetched
using
getTheme(String themeName)
.
-
-