Class StyleCategory

java.lang.Object
org.ametys.cms.clientsideelement.styles.StyleCategory

public class StyleCategory extends Object
A category of style. A style and files to import
  • Field Details

  • Constructor Details

    • StyleCategory

      public StyleCategory(Set<String> boCSSFiles, Set<String> inlineEditorCSSFiles, List<Style> styleList)
      Build a style
      Parameters:
      boCSSFiles - cannot be null.
      inlineEditorCSSFiles - cannot be null.
      styleList - cannot be null.
  • Method Details

    • getBackOfficeCSSFiles

      Get the url of CSS files to import in the BO HMI to give to the style buttons the right appearance
      Returns:
      Contains absolute urls to CSS files
    • getInlineEditorCSSFiles

      Get the url of CSS files to import in the inline html editor to give the styles the right appearance
      Returns:
      Contains absolute urls to CSS files
    • getStyles

      public List<Style> getStyles()
      Get the list of styles
      Returns:
      A non-null list of para