当前页面:
在线文档首页 >
Spring Framework 2.1.0 API 文档英文版
ThemeSource (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版
org.springframework.ui.context
Interface ThemeSource
- All Known Subinterfaces:
- HierarchicalThemeSource
- All Known Implementing Classes:
- AbstractRefreshableWebApplicationContext, DelegatingThemeSource, GenericWebApplicationContext, ResourceBundleThemeSource, StaticWebApplicationContext, XmlWebApplicationContext
public interface ThemeSource
Interface to be implemented by objects that can resolve Themes.
This enables parameterization and internationalization of messages
for a given theme.
- Author:
- Jean-Pierre Pawlak, Juergen Hoeller
- See Also:
Theme
Method Summary |
Theme |
getTheme(String themeName)
Return the Theme instance for the given theme name. |
getTheme
Theme getTheme(String themeName)
- Return the Theme instance for the given theme name.
The returned Theme will resolve theme-specific messages, codes,
file paths, etc (e.g. CSS and image files in a web environment).
- Parameters:
themeName
- name of the theme
- Returns:
- the respective Theme, or
null
if none defined
Copyright © 2002-2007 The Spring Framework.