Uses of Interface
org.springframework.ui.context.Theme
Packages that use 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
Methods in org.springframework.ui.context that return Theme -
Uses of Theme in org.springframework.ui.context.support
Classes in org.springframework.ui.context.support that implement ThemeModifier and TypeClassDescriptionclass
DefaultTheme
implementation, wrapping a name and an underlyingMessageSource
.Methods in org.springframework.ui.context.support that return ThemeModifier 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").Methods in org.springframework.ui.context.support with parameters of type ThemeModifier 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
Methods in org.springframework.web.context.support that return Theme -
Uses of Theme in org.springframework.web.servlet.support
Methods in org.springframework.web.servlet.support that return ThemeModifier 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.Methods in org.springframework.web.servlet.support with parameters of type ThemeModifier and TypeMethodDescriptionvoid
RequestContext.changeTheme
(Theme theme) Change the current theme to the specified one, storing the new theme name through the configuredThemeResolver
.