Class PageImageThumbnail
- java.lang.Object
-
- com.adobe.cq.wcm.core.components.commons.editor.dialog.inherited.PageImageThumbnail
-
@Model(adaptables=SlingHttpServletRequest.class) public class PageImageThumbnail extends java.lang.Object
Defines a Sling Model used by thecore/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 Constructor Description PageImageThumbnail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
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.java.lang.String
getComponentPath()
Returns the component path.java.lang.String
getConfigPath()
Returns the configuration path of the widget.java.lang.String
getCurrentPagePath()
Returns the path of the page containing the component.java.lang.String
getFileReference()
Returns the fileReference of the featured image.java.lang.String
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.
-
-
-
Method Detail
-
getAlt
public java.lang.String 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
public java.lang.String 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
public java.lang.String getComponentPath()
Returns the component path.- Returns:
- the component path
-
getConfigPath
public java.lang.String getConfigPath()
Returns the configuration path of the widget.- Returns:
- the configuration path
-
getCurrentPagePath
public java.lang.String getCurrentPagePath()
Returns the path of the page containing the component.- Returns:
- the path of the page containing the component
-
getFileReference
public java.lang.String getFileReference()
Returns the fileReference of the featured image.- Returns:
- the path of the fileReference in the DAM
-
-