## Uses of Interface
org.springframework.ui.context.ThemeSource

- Packages that use ThemeSource
  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 the `org.springframework.web.context` package, such as WebApplicationContext implementations and various utility classes.
  org.springframework.web.servlet | Provides servlets that integrate with the application context infrastructure, and the core interfaces and classes for the Spring web MVC framework.
  org.springframework.web.servlet.support | Support classes for Spring's web MVC framework.

- - ### Uses of ThemeSource in org.springframework.ui.context

    Subinterfaces of ThemeSource in org.springframework.ui.context
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `HierarchicalThemeSource` Sub-interface of ThemeSource to be implemented by objects that can resolve theme messages hierarchically.

    Methods in org.springframework.ui.context that return ThemeSource
    Modifier and Type | Method and Description
    --- | ---
    `ThemeSource` | HierarchicalThemeSource.`getParentThemeSource()` Return the parent of this ThemeSource, or `null` if none.

    Methods in org.springframework.ui.context with parameters of type ThemeSource
    Modifier and Type | Method and Description
    --- | ---
    `void` | HierarchicalThemeSource.`setParentThemeSource(ThemeSource parent)` Set the parent that will be used to try to resolve theme messages that this object can't resolve.

  - ### Uses of ThemeSource in org.springframework.ui.context.support

    Classes in org.springframework.ui.context.support that implement ThemeSource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DelegatingThemeSource` Empty ThemeSource that delegates all calls to the parent ThemeSource.
    `class` | `ResourceBundleThemeSource` `ThemeSource` implementation that looks up an individual `ResourceBundle` per theme.

    Methods in org.springframework.ui.context.support that return ThemeSource
    Modifier and Type | Method and Description
    --- | ---
    `ThemeSource` | DelegatingThemeSource.`getParentThemeSource()`
    `ThemeSource` | ResourceBundleThemeSource.`getParentThemeSource()`
    `static ThemeSource` | UiApplicationContextUtils.`initThemeSource(ApplicationContext context)` Initialize the ThemeSource for the given application context, autodetecting a bean with the name "themeSource".

    Methods in org.springframework.ui.context.support with parameters of type ThemeSource
    Modifier and Type | Method and Description
    --- | ---
    `void` | DelegatingThemeSource.`setParentThemeSource(ThemeSource parentThemeSource)`
    `void` | ResourceBundleThemeSource.`setParentThemeSource(ThemeSource parent)`

  - ### Uses of ThemeSource in org.springframework.web.context.support

    Classes in org.springframework.web.context.support that implement ThemeSource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractRefreshableWebApplicationContext` `AbstractRefreshableApplicationContext` subclass which implements the `ConfigurableWebApplicationContext` interface for web environments.
    `class` | `AnnotationConfigWebApplicationContext` `WebApplicationContext` implementation which accepts component classes as input — in particular `@Configuration` classes, but also plain `@Component` classes as well as JSR-330 compliant classes using `javax.inject` annotations.
    `class` | `GenericWebApplicationContext` Subclass of `GenericApplicationContext`, suitable for web environments.
    `class` | `GroovyWebApplicationContext` `WebApplicationContext` implementation which takes its configuration from Groovy bean definition scripts and/or XML files, as understood by a `GroovyBeanDefinitionReader`.
    `class` | `StaticWebApplicationContext` Static `WebApplicationContext` implementation for testing.
    `class` | `XmlWebApplicationContext` `WebApplicationContext` implementation which takes its configuration from XML documents, understood by an `XmlBeanDefinitionReader`.

  - ### Uses of ThemeSource in org.springframework.web.servlet

    Methods in org.springframework.web.servlet that return ThemeSource
    Modifier and Type | Method and Description
    --- | ---
    `ThemeSource` | DispatcherServlet.`getThemeSource()` Return this servlet's ThemeSource, if any; else return `null`.

  - ### Uses of ThemeSource in org.springframework.web.servlet.support

    Methods in org.springframework.web.servlet.support that return ThemeSource
    Modifier and Type | Method and Description
    --- | ---
    `static ThemeSource` | RequestContextUtils.`getThemeSource(HttpServletRequest request)` Return the ThemeSource that has been bound to the request by the DispatcherServlet.