Package io.jmix.ui.theme
Class ThemeConstantsRepository
java.lang.Object
io.jmix.ui.theme.ThemeConstantsRepository
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.core.env.Environment
protected Resources
protected Map<String,
ThemeConstants> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
getConstants
(String themeName) protected void
init()
void
loadThemeProperties
(String fileName, Map<String, String> themeMap) parseThemeName
(String fileName)
-
Field Details
-
resources
-
environment
@Autowired protected org.springframework.core.env.Environment environment -
themeConstantsMap
-
-
Constructor Details
-
ThemeConstantsRepository
public ThemeConstantsRepository()
-
-
Method Details
-
checkInitialized
protected void checkInitialized() -
init
protected void init() -
loadThemeProperties
-
parseThemeName
-
getConstants
-
getAvailableThemes
-