Class PageImageThumbnail
java.lang.Object
com.adobe.cq.wcm.core.components.commons.editor.dialog.inherited.PageImageThumbnail
Defines a Sling Model used by the
core/wcm/components/commons/editor/dialog/pageimagethumbnail/v1/pageimagethumbnail dialog widget
that displays a thumbnail of the featured image of either the linked page if a linkURL is available or of the page
that contains the component.- Since:
- com.adobe.cq.wcm.core.components.commons.editor.dialog 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlt()Returns the alternative text of the featured image of either the linked page if a linkURL is available or of the page that contains the component.Returns the component path.Returns the configuration path of the widget.Returns the path of the page containing the component.Returns the fileReference of the featured image.getSrc()Returns the src text of the featured image of either the linked page if a linkURL is available or of the page that contains the component.
-
Constructor Details
-
PageImageThumbnail
public PageImageThumbnail()
-
-
Method Details
-
getAlt
Returns the alternative text of the featured image of either the linked page if a linkURL is available or of the page that contains the component.- Returns:
- the alternative text of the page image
-
getSrc
Returns the src text of the featured image of either the linked page if a linkURL is available or of the page that contains the component.- Returns:
- the src text of the page image
-
getComponentPath
Returns the component path.- Returns:
- the component path
-
getConfigPath
Returns the configuration path of the widget.- Returns:
- the configuration path
-
getCurrentPagePath
Returns the path of the page containing the component.- Returns:
- the path of the page containing the component
-
getFileReference
Returns the fileReference of the featured image.- Returns:
- the path of the fileReference in the DAM
-