java.lang.Object
de.agilecoders.wicket.core.settings.SingleThemeProvider
- All Implemented Interfaces:
ThemeProvider
#### Description
A special theme providers that contains only a single theme.
#### Usage
```java
settings.setThemeProvider(new SingleThemeProvider(new MyCustomTheme()));
````
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SingleThemeProvider
Construct.- Parameters:
theme- the theme to provide
-
-
Method Details
-
byName
Description copied from interface:ThemeProviderreturns a theme by its name. If- Specified by:
byNamein interfaceThemeProvider- Parameters:
name- The name of the theme- Returns:
- the theme according to given name
-
available
- Specified by:
availablein interfaceThemeProvider- Returns:
- a list of all available themes
-
defaultTheme
- Specified by:
defaultThemein interfaceThemeProvider- Returns:
- the default theme
-