Interface StyleGroupInfo


  • @ProviderType
    public interface StyleGroupInfo
    A StyleGroupInfo provides methods for retrieving information about a style group. It represents for example style resources defined in a content policy below a cq:styleGroups node.
    Since:
    com.adobe.cq.wcm.style 1.0.0
    • Method Detail

      • allowsMultiple

        boolean allowsMultiple()
        Checks if the style group allows multiple selection of styles.
        Returns:
        true if multiple selection is possible, false otherwise
        Since:
        com.adobe.cq.wcm.style 1.0.0
      • getLabel

        @Nullable
        java.lang.String getLabel()
        Retrieves the readable name of the style group.
        Returns:
        the readable name of the style group if defined, null otherwise
        Since:
        com.adobe.cq.wcm.style 1.0.0
      • getStyles

        @Nonnull
        java.util.List<StyleInfo> getStyles()
        Retrieves the styles that are part of this group.
        Returns:
        the StyleInfos configured for the style group, an empty list otherwise
        Since:
        com.adobe.cq.wcm.style 1.0.0