| 程序包 | 说明 |
|---|---|
| org.springframework.ui.context |
Contains classes defining the application context subinterface
for UI applications.
|
| org.springframework.ui.context.support |
Classes supporting the org.springframework.ui.context package.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Theme |
ThemeSource.getTheme(String themeName)
Return the Theme instance for the given theme name.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
SimpleTheme
Default
Theme implementation, wrapping a name and an
underlying MessageSource. |
| 限定符和类型 | 方法和说明 |
|---|---|
Theme |
DelegatingThemeSource.getTheme(String themeName) |
Theme |
ResourceBundleThemeSource.getTheme(String themeName)
This implementation returns a SimpleTheme instance, holding a
ResourceBundle-based MessageSource whose basename corresponds to
the given theme name (prefixed by the configured "basenamePrefix").
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
ResourceBundleThemeSource.initParent(Theme theme)
Initialize the MessageSource of the given theme with the
one from the corresponding parent of this ThemeSource.
|