org.springframework.ui.context

## 接口 HierarchicalThemeSource

- 所有超级接口:
    ThemeSource
  所有已知实现类:
    DelegatingThemeSource, ResourceBundleThemeSource

      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, or `null` 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 be `null`, in which case no further resolution is possible.

    - #### getParentThemeSource

          @Nullable
          ThemeSource getParentThemeSource()

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