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

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.

Author
Juergen Hoeller

Since
1.2.4

See Also
UiApplicationContextUtils

Constructors

<init>

DelegatingThemeSource()

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.

Functions

getParentThemeSource

open fun getParentThemeSource(): ThemeSource

getTheme

open fun getTheme(themeName: String): Theme

setParentThemeSource

open fun setParentThemeSource(parentThemeSource: ThemeSource): Unit