Class SpreadsheetThemeFns


  • public class SpreadsheetThemeFns
    extends Object
    Providing theme relevant functions for EL.
    Since:
    3.5.0
    Author:
    simonpai, jumperchen, RaymondChao
    • Constructor Detail

      • SpreadsheetThemeFns

        public SpreadsheetThemeFns()
    • 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