Interface ImageArea


  • @ConsumerType
    public interface ImageArea
    Interface for an image map area, used by the Image model.
    Since:
    com.adobe.cq.wcm.core.components.models 12.4.0
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.lang.String getAlt()
      Returns the value for the alt attribute of the image map area.
      default java.lang.String getCoordinates()
      Returns the value for the coords attribute of the image map area.
      default java.lang.String getHref()
      Returns the value for the href attribute of the image map area.
      default Link getLink()
      Returns the link of the image area.
      default java.lang.String getRelativeCoordinates()
      Returns the value for a relative unit representation of the coords attribute of the image map area.
      default java.lang.String getShape()
      Returns the value for the shape attribute of the image map area.
      default java.lang.String getTarget()
      Returns the value for the target attribute of the image map area.
    • Method Detail

      • getShape

        default java.lang.String getShape()
        Returns the value for the shape attribute of the image map area.
        Returns:
        the image map area shape
        Since:
        com.adobe.cq.wcm.core.components.models 12.4.0
      • getCoordinates

        default java.lang.String getCoordinates()
        Returns the value for the coords attribute of the image map area.
        Returns:
        the image map area coordinates
        Since:
        com.adobe.cq.wcm.core.components.models 12.4.0
      • getRelativeCoordinates

        default java.lang.String getRelativeCoordinates()
        Returns the value for a relative unit representation of the coords attribute of the image map area.
        Returns:
        the image map area coordinates expressed in relative units
        Since:
        com.adobe.cq.wcm.core.components.models 12.4.0
      • getLink

        default Link getLink()
        Returns the link of the image area.
        Returns:
        a Link object
        Since:
        com.adobe.cq.wcm.core.components.models 12.20.0
        See Also:
        of the image area.
      • getHref

        default java.lang.String getHref()
        Returns the value for the href attribute of the image map area.
        Returns:
        the image map area link href
        Since:
        com.adobe.cq.wcm.core.components.models 12.4.0
      • getTarget

        default java.lang.String getTarget()
        Returns the value for the target attribute of the image map area.
        Returns:
        the image map area link target
        Since:
        com.adobe.cq.wcm.core.components.models 12.4.0
      • getAlt

        default java.lang.String getAlt()
        Returns the value for the alt attribute of the image map area.
        Returns:
        the image map area's alternative text
        Since:
        com.adobe.cq.wcm.core.components.models 12.4.0