Package com.adobe.cq.wcm.style
Interface ComponentStyleInfo
A
ComponentStyleInfo provides methods for retrieving information about the styles defined on a page
authoring component (e.g. a title component).- Since:
- com.adobe.cq.wcm.style 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the CSS classes that are applied to the component.Retrieves the HTML element that is applied to the component.Retrieves the styles that are applied to the component.Retrieves the style information defined in the content policy of the component.
-
Method Details
-
getContentPolicyStyleInfo
Retrieves the style information defined in the content policy of the component.- Returns:
- the style information if defined,
nullotherwise - Since:
- com.adobe.cq.wcm.style 1.0.0
-
getAppliedStyles
Retrieves the styles that are applied to the component.- Returns:
- the
StyleInfos that are applied to the component, an empty list otherwise - Since:
- com.adobe.cq.wcm.style 1.0.0
-
getAppliedCssClasses
Retrieves the CSS classes that are applied to the component.- Returns:
- the CSS classes if defined,
nullotherwise - Since:
- com.adobe.cq.wcm.style 1.0.0
-
getAppliedHtmlElement
Retrieves the HTML element that is applied to the component.- Returns:
- the HTML element if defined,
nullotherwise - Since:
- com.adobe.cq.wcm.style 1.0.0
-