Uses of Interface
org.springframework.ui.context.Theme
Packages that use Theme Package Description org.springframework.ui.context Contains classes defining the application context subinterface for UI applications.org.springframework.ui.context.support Classes supporting the org.springframework.ui.context package.org.springframework.web.context.support Classes supporting theorg.springframework.web.context
package, such as WebApplicationContext implementations and various utility classes.org.springframework.web.servlet.support Support classes for Spring's web MVC framework.Uses of Theme in org.springframework.ui.context
Methods in org.springframework.ui.context that return Theme Modifier and Type Method Description Theme
ThemeSource. getTheme(String themeName)
Return the Theme instance for the given theme name.Uses of Theme in org.springframework.ui.context.support
Classes in org.springframework.ui.context.support that implement Theme Modifier and Type Class Description class
SimpleTheme
DefaultTheme
implementation, wrapping a name and an underlyingMessageSource
.Methods in org.springframework.ui.context.support that return Theme Modifier and Type Method Description Theme
DelegatingThemeSource. getTheme(String themeName)
Theme
ResourceBundleThemeSource. getTheme(String themeName)
This implementation returns a SimpleTheme instance, holding a ResourceBundle-based MessageSource whose basename corresponds to the given theme name (prefixed by the configured "basenamePrefix").Methods in org.springframework.ui.context.support with parameters of type Theme Modifier and Type Method Description protected void
ResourceBundleThemeSource. initParent(Theme theme)
Initialize the MessageSource of the given theme with the one from the corresponding parent of this ThemeSource.Uses of Theme in org.springframework.web.context.support
Uses of Theme in org.springframework.web.servlet.support
Methods in org.springframework.web.servlet.support that return Theme Modifier and Type Method Description protected Theme
RequestContext. getFallbackTheme()
Determine the fallback theme for this context.Theme
RequestContext. getTheme()
Return the current theme (nevernull
).static Theme
RequestContextUtils. getTheme(HttpServletRequest request)
Retrieves the current theme from the given request, using the ThemeResolver and ThemeSource bound to the request by the DispatcherServlet.Methods in org.springframework.web.servlet.support with parameters of type Theme Modifier and Type Method Description void
RequestContext. changeTheme(Theme theme)
Change the current theme to the specified one, storing the new theme name through the configuredThemeResolver
.