public class ThemeRegistry extends AbstractRegistry<String,Theme> implements org.springframework.context.ApplicationContextAware
<theme-name>/<path to config entry>=<override value>For example, to override the default Bootstrap theme with one of the publicly available alternates:
cosmo/paths/bootstrap-css=webjars/bootswatch-cosmo/css/bootstrap.css
cerulean/paths/bootstrap-css=webjars/bootswatch-cerulean/css/bootstrap.css
cyborg/paths/bootstrap-css=webjars/bootswatch-cyborg/css/bootstrap.css
darkly/paths/bootstrap-css=webjars/bootswatch-darkly/css/bootstrap.css
sandstone/paths/bootstrap-css=webjars/bootswatch-sandstone/css/bootstrap.css
slate/paths/bootstrap-css=webjars/bootswatch-slate/css/bootstrap.css
map| Constructor and Description |
|---|
ThemeRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static ThemeRegistry |
getInstance()
Returns a singleton instance of the theme registry.
|
protected String |
getKey(Theme theme) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
clear, get, getAll, iterator, register, size, unregister, unregisterByKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static ThemeRegistry getInstance()
protected String getKey(Theme theme)
getKey in class AbstractRegistry<String,Theme>public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.