@Component(value="cuba_ThemeConstantsRepository")
public class ThemeConstantsRepository
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
protected Resources |
resources |
protected java.util.Map<java.lang.String,ThemeConstants> |
themeConstantsMap |
Constructor and Description |
---|
ThemeConstantsRepository() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkInitialized() |
java.util.Set<java.lang.String> |
getAvailableThemes() |
ThemeConstants |
getConstants(java.lang.String themeName) |
protected void |
init() |
void |
loadThemeProperties(java.lang.String fileName,
java.util.Map<java.lang.String,java.lang.String> themeMap) |
java.lang.String |
parseThemeName(java.lang.String fileName) |
public static final java.lang.String NAME
@Inject protected Resources resources
protected java.util.Map<java.lang.String,ThemeConstants> themeConstantsMap
protected void checkInitialized()
protected void init()
public void loadThemeProperties(java.lang.String fileName, java.util.Map<java.lang.String,java.lang.String> themeMap)
public java.lang.String parseThemeName(java.lang.String fileName)
public ThemeConstants getConstants(java.lang.String themeName)
public java.util.Set<java.lang.String> getAvailableThemes()