DhElement | +--DhBaseContainer | +--DhImageMappublic class DhImageMap
Represents an image map. An image map contains several DhHotSpot items that describe the areas in the image that the user can click to navigate.
Constructors
Name | Description |
---|---|
DhImageMap() | Creates a DhImageMap object. |
DhImageMap( String strName ) | Creates a DhImageMap object. |
Methods
Name | Description |
---|---|
addHotSpot( DhHotSpot hs ) | Adds a DhHotSpot object to this image map. |
addHotSpot( int nShape, String strCoords, String strUrl ) | Adds a DhHotSpot object to this image map. |
addHotSpot( int nShape, String strCoords, DhHyperlink hlUrl ) | Adds a DhHotSpot object to this image map. |
getHotSpots() | Retrieves an array of the DhHotSpot objects contained in this image map. |
getName() | Retrieves the name for this image map. |
removeHotSpot( DhHotSpot hs ) | Removes the specified DhHotSpot from the image map. |
setName( String strName ) | Sets the name for this image map. |
Creates a DhImageMap object. The name of the image map is generated automatically.
Creates a DhImageMap object. This constructor creates a map with a specified name.
Adds a DhHotSpot object to this image map.
Adds a DhHotSpot object to this image map.
Adds a DhHotSpot object to this image map.
Returns the DhHotSpot array.
Retrieves an array of the DhHotSpot objects contained in this image map.
Returns the image map name.
Retrieves the name for this image map.
Removes the specified DhHotSpot from the image map.
Sets the name for this image map.