spring-framework / org.springframework.ui.context.support

Package org.springframework.ui.context.support

Types

DelegatingThemeSource

open class DelegatingThemeSource : HierarchicalThemeSource

Empty ThemeSource that delegates all calls to the parent ThemeSource. If no parent is available, it simply won't resolve any theme.

Used as placeholder by UiApplicationContextUtils, if a context doesn't define its own ThemeSource. Not intended for direct use in applications.

ResourceBundleThemeSource

open class ResourceBundleThemeSource : HierarchicalThemeSource, BeanClassLoaderAware

ThemeSource implementation that looks up an individual java.util.ResourceBundle per theme. The theme name gets interpreted as ResourceBundle basename, supporting a common basename prefix for all themes.

SimpleTheme

open class SimpleTheme : Theme

Default Theme implementation, wrapping a name and an underlying org.springframework.context.MessageSource.

UiApplicationContextUtils

abstract class UiApplicationContextUtils

Utility class for UI application context implementations. Provides support for a special bean named "themeSource", of type org.springframework.ui.context.ThemeSource.