public interface ThemeRegistry
Modifier and Type | Method and Description |
---|---|
boolean |
deregister(Theme theme)
Remove a theme from web application's use
|
Theme |
getTheme(java.lang.String themeName)
Returns the theme identified by themeName
|
Theme[] |
getThemes() |
boolean |
hasTheme(java.lang.String themeName)
Determine if a theme is registered
|
boolean |
register(Theme theme)
Register a theme, i.e. making the theme known to the web application
Note: how to deal with duplicate registration is entirely up to the specific
implementation of ThemeRegistry.
|
boolean register(Theme theme)
theme
- theme-specific informationboolean deregister(Theme theme)
theme
- the theme to be removed from the registryTheme[] getThemes()
Theme getTheme(java.lang.String themeName)
themeName
- the name of the themeboolean hasTheme(java.lang.String themeName)
themeName
- the name of the themeCopyright © 2005-2018 Potix Corporation. All Rights Reserved.