Package io.keikai.theme
Class SpreadsheetThemeFns
- java.lang.Object
-
- io.keikai.theme.SpreadsheetThemeFns
-
public class SpreadsheetThemeFns extends Object
Providing theme relevant functions for EL.- Since:
- 3.5.0
- Author:
- simonpai, jumperchen, RaymondChao
-
-
Constructor Summary
Constructors Constructor Description SpreadsheetThemeFns()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getCurrentTheme()
Returns the current theme namestatic SpreadsheetThemeRegistry
getThemeRegistry()
Returns the current theme registrystatic SpreadsheetThemeResolver
getThemeResolver()
Returns the current theme resolverstatic void
setThemeRegistry(SpreadsheetThemeRegistry themeRegistry)
Change the theme registrystatic void
setThemeResolver(SpreadsheetThemeResolver themeResolver)
Change the current theme resolver
-
-
-
Method Detail
-
setThemeRegistry
public static void setThemeRegistry(SpreadsheetThemeRegistry themeRegistry)
Change the theme registry- Parameters:
themeRegistry
- the new theme registry
-
getThemeRegistry
public static SpreadsheetThemeRegistry getThemeRegistry()
Returns the current theme registry- Returns:
- the current theme registry
-
getThemeResolver
public static SpreadsheetThemeResolver getThemeResolver()
Returns the current theme resolver- Returns:
- the current theme resolver
-
setThemeResolver
public static void setThemeResolver(SpreadsheetThemeResolver themeResolver)
Change the current theme resolver- Parameters:
themeResolver
- the new theme resolver
-
getCurrentTheme
public static String getCurrentTheme()
Returns the current theme name- Returns:
- the current theme name
-
-