public interface ThemeRegistry
<desktop-config>
<theme-registry-class>foo.CustomThemeRegistry</theme-registry>
</desktop-config>
| Modifier and Type | Method and Description |
|---|---|
boolean |
deregister(Theme theme)
Remove a theme from web application's use
|
Theme |
getTheme(String themeName)
Returns the theme identified by themeName
|
Theme[] |
getThemes() |
boolean |
hasTheme(String themeName)
Determine if a theme is registered
|
boolean |
register(Theme theme)
Register a theme, i.e.
|
boolean register(Theme theme)
theme - theme-specific informationboolean deregister(Theme theme)
theme - the theme to be removed from the registryTheme[] getThemes()
Theme getTheme(String themeName)
themeName - the name of the themeboolean hasTheme(String themeName)
themeName - the name of the themeCopyright © 2025. All rights reserved.