Interface ImageArea
-
@ConsumerType public interface ImageArea
Interface for an image map area, used by theImagemodel.- 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 StringgetAlt()Returns the value for thealtattribute of the image map area.default StringgetCoordinates()Returns 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 StringgetRelativeCoordinates()Returns 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 StringgetTarget()Returns the value for thetargetattribute of the image map area.
-
-
-
Method Detail
-
getShape
default String 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
default String 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
default String 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
default Link getLink()
Returns the link of the image area.- Since:
- com.adobe.cq.wcm.core.components.models 12.20.0
- See Also:
of the image area.
-
getHref
default String 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
default String 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
default String 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
-
-