接口 HierarchicalThemeSource
- 所有超级接口:
ThemeSource
public interface HierarchicalThemeSource extends ThemeSource
Sub-interface of ThemeSource to be implemented by objects that can resolve theme messages hierarchically.- 作者:
- Jean-Pierre Pawlak, Juergen Hoeller
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ThemeSource
getParentThemeSource()
Return 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.从接口继承的方法 org.springframework.ui.context.ThemeSource
getTheme
方法详细资料
setParentThemeSource
void setParentThemeSource(@Nullable ThemeSource parent)
Set the parent that will be used to try to resolve theme messages that this object can't resolve.- 参数:
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
@Nullable ThemeSource getParentThemeSource()
Return the parent of this ThemeSource, ornull
if none.