Package com.adobe.cq.wcm.style
Interface StyleGroupInfo
-
@ProviderType public interface StyleGroupInfoAStyleGroupInfoprovides methods for retrieving information about a style group. It represents for example style resources defined in a content policy below acq:styleGroupsnode.- Since:
- com.adobe.cq.wcm.style 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanallowsMultiple()Checks if the style group allows multiple selection of styles.java.lang.StringgetLabel()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:
trueif multiple selection is possible,falseotherwise- 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,
nullotherwise - 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
-
-