Package com.day.cq.wcm.foundation
Class ImageMap.ImageArea
java.lang.Object
com.day.cq.wcm.foundation.ImageMap.ImageArea
- Enclosing class:
ImageMap
Inner class that represents an area of the map.
-
Method Summary
Modifier and TypeMethodDescriptionGets the alternative text of the image area in unicode format.Gets the coordinates (= coords attribute) of the image area.getHref()Gets the (optional) HREF of the image area.Gets the target frame/window of the image area.getType()Gets the type (= shape attribute) of the image area.
-
Method Details
-
getType
Gets the type (= shape attribute) of the image area.- Returns:
- type of the image area
-
getCoordinates
Gets the coordinates (= coords attribute) of the image area.- Returns:
- coordinates of the image area
-
getHref
Gets the (optional) HREF of the image area.- Returns:
- HREF of the image area;
nullif undefined
-
getAltText
Gets the alternative text of the image area in unicode format.- Returns:
- alternative text of the image area;
nullif undefined
-
getTarget
Gets the target frame/window of the image area.- Returns:
- target frame/window of the image area;
nullif undefined
-