Uses of Interface
org.springframework.ui.context.Theme
Package
Description
Contains classes defining the application context subinterface
for UI applications.
Classes supporting the org.springframework.ui.context package.
Classes supporting the
org.springframework.web.context
package,
such as WebApplicationContext implementations and various utility classes.Support classes for Spring's web MVC framework.
-
Uses of Theme in org.springframework.ui.context
-
Uses of Theme in org.springframework.ui.context.support
Modifier and TypeClassDescriptionclass
DefaultTheme
implementation, wrapping a name and an underlyingMessageSource
.Modifier and TypeMethodDescriptionThis implementation returns a SimpleTheme instance, holding a ResourceBundle-based MessageSource whose basename corresponds to the given theme name (prefixed by the configured "basenamePrefix").Modifier and TypeMethodDescriptionprotected 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
Modifier and TypeMethodDescriptionprotected Theme
RequestContext.getFallbackTheme()
Determine the fallback theme for this context.RequestContext.getTheme()
Return the current theme (nevernull
).static Theme
RequestContextUtils.getTheme
(HttpServletRequest request) Retrieve the current theme from the given request, using the ThemeResolver and ThemeSource bound to the request by the DispatcherServlet.Modifier and TypeMethodDescriptionvoid
RequestContext.changeTheme
(Theme theme) Change the current theme to the specified one, storing the new theme name through the configuredThemeResolver
.