Top Description Methods
org.springframework.ui.context

public Interface Theme

Known Direct Implementers
org.springframework.ui.context.support.SimpleTheme
Annotations
@Deprecated
since:6.0
Imports
org.springframework.context.MessageSource

Deprecated

since 6.0.

as of 6.0 in favor of using CSS, without direct replacement

A Theme can resolve theme-specific messages, codes, file paths, etc. (e.g. CSS and image files in a web environment). The exposed org.springframework.context.MessageSource supports theme-specific parameterization and internationalization.
Author
Juergen Hoeller
Since
17.06.2003
See Also
ThemeSource, org.springframework.web.servlet.ThemeResolver

Method Summary

Modifier and TypeMethod and Description
public MessageSource

Returns:

the theme-specific MessageSource (never null)
getMessageSource
()

Return the specific MessageSource that resolves messages with respect to this theme.

public String

Returns:

the name of the theme (never null)
getName
()

Return the name of the theme.

Method Detail

getMessageSourceback to summary
public MessageSource getMessageSource()

Return the specific MessageSource that resolves messages with respect to this theme.

Returns:MessageSource

the theme-specific MessageSource (never null)

getNameback to summary
public String getName()

Return the name of the theme.

Returns:String

the name of the theme (never null)