|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThemeSource
Interface to be implemented by objects that can resolve Themes
.
This enables parameterization and internationalization of messages
for a given 'theme'.
Theme
Method Summary | |
---|---|
Theme |
getTheme(java.lang.String themeName)
Return the Theme instance for the given theme name. |
Method Detail |
---|
Theme getTheme(java.lang.String themeName)
The returned Theme will resolve theme-specific messages, codes, file paths, etc (e.g. CSS and image files in a web environment).
themeName
- the name of the theme
null
if none defined.
Note that, by convention, a ThemeSource should at least be able to
return a default Theme for the default theme name "theme" but may also
return default Themes for other theme names.AbstractThemeResolver.ORIGINAL_DEFAULT_THEME_NAME
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |