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

    Modifier and Type
    Method
    Description
    default String
    Returns the value for the alt attribute of the image map area.
    default String
    Returns the value for the coords attribute of the image map area.
    default String
    Returns the value for the href attribute of the image map area.
    default Link
    Returns the link of the image area.
    default String
    Returns the value for a relative unit representation of the coords attribute of the image map area.
    default String
    Returns the value for the shape attribute of the image map area.
    default String
    Returns the value for the target attribute of the image map area.
  • Method Details

    • getShape

      default 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 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 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:
    • getHref

      default 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 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 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