Package org.pentaho.platform.api.ui
Interface IThemeManager
public interface IThemeManager
Class responsible for collecting information about all available system module local themes. All implementations
should utilize a caching mechanism to prevent unnecessary overhead.
User: nbaker Date: 5/15/11
-
Method Summary
Modifier and TypeMethodDescriptiongetModuleTheme
(String moduleName, String themeName) Returns the named local theme for the given named module or null if either is not foundgetModuleThemeInfo
(String moduleName) Returns the MoudleThemeInfo object containing all themes for the given module name or null if not found.getSystemTheme
(String themeName) Returns the named theme or null if not found.Return a list of available system themes.void
refresh()
Force the Theme Manager to recalculate system and module themesvoid
setThemeResolvers
(List<IThemeResolver> resolvers) Set the collection of IThemeResolver objects used to find available themes
-
Method Details
-
setThemeResolvers
Set the collection of IThemeResolver objects used to find available themes- Parameters:
resolvers
-
-
getSystemThemeIds
Return a list of available system themes.- Returns:
- List of themes
-
getSystemTheme
Returns the named theme or null if not found.- Parameters:
themeName
-- Returns:
- Theme for the supplied name
-
getModuleTheme
Returns the named local theme for the given named module or null if either is not found- Parameters:
moduleName
-themeName
-- Returns:
-
getModuleThemeInfo
Returns the MoudleThemeInfo object containing all themes for the given module name or null if not found.- Parameters:
moduleName
-- Returns:
-
refresh
void refresh()Force the Theme Manager to recalculate system and module themes
-