public class DefaultThemeProvider extends Object implements ThemeProvider
ThemeProvider implementation that only contains
the BootstrapTheme.| Constructor and Description |
|---|
DefaultThemeProvider()
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultThemeProvider |
add(ITheme... themes)
adds an array of new themes.
|
DefaultThemeProvider |
addDefaultTheme(ITheme theme)
adds a new theme and sets it as default theme.
|
List<ITheme> |
available() |
ITheme |
byName(String name)
returns a theme by its name.
|
ITheme |
defaultTheme() |
DefaultThemeProvider |
defaultTheme(ITheme theme)
sets the default theme.
|
DefaultThemeProvider |
defaultTheme(String themeName)
sets the default theme.
|
public DefaultThemeProvider add(ITheme... themes)
themes - The new themespublic DefaultThemeProvider addDefaultTheme(ITheme theme)
theme - The new default themepublic DefaultThemeProvider defaultTheme(ITheme theme)
theme - The new default themepublic DefaultThemeProvider defaultTheme(String themeName)
themeName - The new default themepublic ITheme byName(String name)
ThemeProviderbyName in interface ThemeProvidername - The name of the themepublic List<ITheme> available()
available in interface ThemeProviderpublic ITheme defaultTheme()
defaultTheme in interface ThemeProviderCopyright © 2013 agilecoders.de. All Rights Reserved.