Package com.adobe.cq.wcm.style
Interface StyleGroupInfo
-
@ProviderType public interface StyleGroupInfo
AStyleGroupInfo
provides methods for retrieving information about a style group. It represents for example style resources defined in a content policy below acq:styleGroups
node.- Since:
- com.adobe.cq.wcm.style 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
allowsMultiple()
Checks if the style group allows multiple selection of styles.java.lang.String
getLabel()
Retrieves the readable name of the style group.java.util.List<StyleInfo>
getStyles()
Retrieves the styles that are part of this group.
-
-
-
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
StyleInfo
s configured for the style group, an empty list otherwise - Since:
- com.adobe.cq.wcm.style 1.0.0
-
-