Package io.jmix.ui.theme
Class ThemeConstantsRepository
java.lang.Object
io.jmix.ui.theme.ThemeConstantsRepository
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.core.env.Environmentprotected Resourcesprotected Map<String,ThemeConstants> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetConstants(String themeName) protected voidinit()voidloadThemeProperties(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
-