Class PageImageThumbnail


  • @Model(adaptables=SlingHttpServletRequest.class)
    public class PageImageThumbnail
    extends java.lang.Object
    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
    • 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 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PageImageThumbnail

        public PageImageThumbnail()
    • 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