Class GridAutoStylesHelper


  • public class GridAutoStylesHelper
    extends java.lang.Object
    Helper class used to read autostyles
    Since:
    MicroStrategy Web 8.0.0
    • Constructor Detail

      • GridAutoStylesHelper

        public GridAutoStylesHelper()
    • Method Detail

      • getAllStyles

        public static WebFolder getAllStyles​(WebObjectsFactory fact)
        Returns all system styles.
        Parameters:
        fact - the web objects factory
        Returns:
        WebFolder instance
      • getStyleID

        public static java.lang.String getStyleID​(java.lang.String styleName,
                                                  AppContext appContext)
        Finds the Autostyle ID for a specific style name
        Parameters:
        styleName - String the non-localized style name (i.e. "Finance")
        appContext - AppContext the application context
        Returns:
        String the Autostyle ID for a specific style name