Class ThemeConstantsRepository

java.lang.Object
io.jmix.ui.theme.ThemeConstantsRepository

@Component("ui_ThemeConstantsRepository") public class ThemeConstantsRepository extends Object
  • Field Details

    • resources

      @Autowired protected Resources resources
    • environment

      @Autowired protected org.springframework.core.env.Environment environment
    • themeConstantsMap

      protected Map<String,ThemeConstants> themeConstantsMap
  • Constructor Details

    • ThemeConstantsRepository

      public ThemeConstantsRepository()
  • Method Details

    • checkInitialized

      protected void checkInitialized()
    • init

      protected void init()
    • loadThemeProperties

      public void loadThemeProperties(String fileName, Map<String,String> themeMap)
    • parseThemeName

      public String parseThemeName(String fileName)
    • getConstants

      @Nullable public ThemeConstants getConstants(String themeName)
    • getAvailableThemes

      public Set<String> getAvailableThemes()