public class SessionThemeProvider extends Object implements ActiveThemeProvider
ActiveThemeProvider implementation that stores the active theme
in the user session as style.| Constructor and Description |
|---|
SessionThemeProvider() |
| Modifier and Type | Method and Description |
|---|---|
ITheme |
getActiveTheme()
returns the current active theme (can be user/session scoped).
|
void |
setActiveTheme(ITheme theme)
sets the active theme
|
void |
setActiveTheme(String themeName)
sets the active theme by its name.
|
public ITheme getActiveTheme()
SessionThemeProvidergetActiveTheme in interface ActiveThemeProviderpublic void setActiveTheme(String themeName)
setActiveTheme in interface ActiveThemeProviderthemeName - the theme namepublic void setActiveTheme(ITheme theme)
setActiveTheme in interface ActiveThemeProvidertheme - the theme to setCopyright © 2013 agilecoders.de. All Rights Reserved.