Deprecated
since 6.0.
as of 6.0 in favor of using CSS, without direct replacement
org.springframework.ui.context.ThemeSource .
| Modifier and Type | Field and Description |
|---|---|
| private static final Log | |
| public static final String | THEME_SOURCE_BEAN_NAME
Name of the ThemeSource bean in the factory. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ThemeSource | Returns: the initialized theme source (will never benull)current application context context)
References Deprecated
ThemeSource is deprecated or references (maybe indirectly) at least one deprecated element.
Initialize the ThemeSource for the given application context, autodetecting a bean with the name "themeSource". |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| THEME_SOURCE_BEAN_NAME | back to summary |
|---|---|
| public static final String THEME_SOURCE_BEAN_NAME Name of the ThemeSource bean in the factory. If none is supplied, theme resolution is delegated to the parent. | |
| UiApplicationContextUtils | back to summary |
|---|---|
| public UiApplicationContextUtils() | |
| initThemeSource | back to summary |
|---|---|
| public static ThemeSource initThemeSource(ApplicationContext context)
References Deprecated
See corresponding docs for further information. Initialize the ThemeSource for the given application context, autodetecting a bean with the name "themeSource". If no such bean is found, a default (empty) ThemeSource will be used.
| |