public class ImageMap extends Object
CqImageMap
component and make them available through an API to
CQ components.
The class is designed for single-threaded use.
Modifier and Type | Class and Description |
---|---|
class |
ImageMap.ImageArea
Inner class that represents an area of the map.
|
Modifier and Type | Method and Description |
---|---|
String |
draw(String id)
Returns the HTML code required for the image map.
|
static ImageMap |
fromString(String mapDefinition)
Creates a new
ImageMap object from the given string representation. |
public static ImageMap fromString(String mapDefinition) throws IllegalArgumentException
ImageMap
object from the given string representation.mapDefinition
- string representation (as created by the
CqImageMap
component)IllegalArgumentException
- if the given string representation is invalidCopyright © 2010 - 2020 Adobe. All Rights Reserved