Interface ImageArea
-
@ConsumerType public interface ImageArea
Interface for an image map area, used by theImage
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 thealt
attribute of the image map area.default java.lang.String
getCoordinates()
Returns the value for thecoords
attribute of the image map area.default java.lang.String
getHref()
Returns the value for thehref
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 thecoords
attribute of the image map area.default java.lang.String
getShape()
Returns the value for theshape
attribute of the image map area.default java.lang.String
getTarget()
Returns the value for thetarget
attribute of the image map area.
-
-
-
Method Detail
-
getShape
default java.lang.String getShape()
Returns the value for theshape
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 thecoords
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 thecoords
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 thehref
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 thetarget
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 thealt
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
-
-