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 TypeMethodDescriptiondefault StringgetAlt()Returns the value for thealtattribute of the image map area.default StringReturns the value for thecoordsattribute of the image map area.default StringgetHref()Returns the value for thehrefattribute of the image map area.default LinkgetLink()Returns the link of the image area.default StringReturns the value for a relative unit representation of thecoordsattribute of the image map area.default StringgetShape()Returns the value for theshapeattribute of the image map area.default StringReturns the value for thetargetattribute of the image map area.
-
Method Details
-
getShape
Returns the value for theshapeattribute of the image map area.- Returns:
- the image map area shape
- Since:
- com.adobe.cq.wcm.core.components.models 12.4.0
-
getCoordinates
Returns the value for thecoordsattribute of the image map area.- Returns:
- the image map area coordinates
- Since:
- com.adobe.cq.wcm.core.components.models 12.4.0
-
getRelativeCoordinates
Returns the value for a relative unit representation of thecoordsattribute 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
Returns the link of the image area.- Returns:
- a
Linkobject - Since:
- com.adobe.cq.wcm.core.components.models 12.20.0
- See Also:
-
getHref
Returns the value for thehrefattribute of the image map area.- Returns:
- the image map area link href
- Since:
- com.adobe.cq.wcm.core.components.models 12.4.0
-
getTarget
Returns the value for thetargetattribute of the image map area.- Returns:
- the image map area link target
- Since:
- com.adobe.cq.wcm.core.components.models 12.4.0
-
getAlt
Returns the value for thealtattribute of the image map area.- Returns:
- the image map area's alternative text
- Since:
- com.adobe.cq.wcm.core.components.models 12.4.0
-