Class SimpleTheme
java.lang.Object
org.springframework.ui.context.support.SimpleTheme
- All Implemented Interfaces:
Theme
Deprecated.
as of 6.0 in favor of using CSS, without direct replacement
Default
Theme implementation, wrapping a name and an
underlying MessageSource.- Since:
- 17.06.2003
- Author:
- Juergen Hoeller
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleTheme(String name, MessageSource messageSource) Deprecated.Create a SimpleTheme. -
Method Summary
Modifier and TypeMethodDescriptionfinal MessageSourceDeprecated.Return the specific MessageSource that resolves messages with respect to this theme.final StringgetName()Deprecated.Return the name of the theme.
-
Constructor Details
-
SimpleTheme
Deprecated.Create a SimpleTheme.- Parameters:
name- the name of the thememessageSource- the MessageSource that resolves theme messages
-
-
Method Details
-
getName
Deprecated.Description copied from interface:ThemeReturn the name of the theme. -
getMessageSource
Deprecated.Description copied from interface:ThemeReturn the specific MessageSource that resolves messages with respect to this theme.- Specified by:
getMessageSourcein interfaceTheme- Returns:
- the theme-specific MessageSource (never
null)
-