Package org.springframework.ui.context
Interface HierarchicalThemeSource
- All Superinterfaces:
ThemeSource
- All Known Implementing Classes:
DelegatingThemeSource
,ResourceBundleThemeSource
Sub-interface of ThemeSource to be implemented by objects that
can resolve theme messages hierarchically.
- Author:
- Jean-Pierre Pawlak, Juergen Hoeller
-
Method Summary
Modifier and TypeMethodDescriptionReturn the parent of this ThemeSource, ornull
if none.void
setParentThemeSource
(ThemeSource parent) Set the parent that will be used to try to resolve theme messages that this object can't resolve.Methods inherited from interface org.springframework.ui.context.ThemeSource
getTheme
-
Method Details
-
setParentThemeSource
Set the parent that will be used to try to resolve theme messages that this object can't resolve.- Parameters:
parent
- the parent ThemeSource that will be used to resolve messages that this object can't resolve. May benull
, in which case no further resolution is possible.
-
getParentThemeSource
Return the parent of this ThemeSource, ornull
if none.
-