Top Description Methods
org.springframework.ui.context

public Interface HierarchicalThemeSource

extends ThemeSource
Known Direct Implementers
org.springframework.ui.context.support.DelegatingThemeSource, org.springframework.ui.context.support.ResourceBundleThemeSource
Annotations
@Deprecated
since:6.0
Imports
org.springframework.lang.Nullable

Deprecated

since 6.0.

as of 6.0 in favor of using CSS, without direct replacement

Sub-interface of ThemeSource to be implemented by objects that can resolve theme messages hierarchically.
Authors
Jean-Pierre Pawlak, Juergen Hoeller

Method Summary

Modifier and TypeMethod and Description
public ThemeSource
getParentThemeSource()
References Deprecated ThemeSource is deprecated or references (maybe indirectly) at least one deprecated element.

Return the parent of this ThemeSource, or null if none.

public void
setParentThemeSource(ThemeSource
the parent ThemeSource that will be used to resolve messages that this object can't resolve. May be null, in which case no further resolution is possible.
parent
)
References Deprecated ThemeSource is deprecated or references (maybe indirectly) at least one deprecated element.

Set the parent that will be used to try to resolve theme messages that this object can't resolve.

Inherited from org.springframework.ui.context.ThemeSource:
getTheme

Method Detail

getParentThemeSourceback to summary
public ThemeSource getParentThemeSource()

References Deprecated

ThemeSource is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Return the parent of this ThemeSource, or null if none.

Annotations
@Nullable
setParentThemeSourceback to summary
public void setParentThemeSource(ThemeSource parent)

References Deprecated

ThemeSource is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Set the parent that will be used to try to resolve theme messages that this object can't resolve.

Parameters
parent:ThemeSource

the parent ThemeSource that will be used to resolve messages that this object can't resolve. May be null, in which case no further resolution is possible.