|
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||||
Represents an HTML map element
| Method Summary | |
Area |
area(int idx)
Returns an area by index. |
Area |
area(java.lang.String nameOrId)
Searches for an area with specified name or id. |
Area |
areaByAlt(java.lang.String alt)
Searches for an area with specified alternative description. |
Area |
areaByShape(java.lang.String shape,
int idx)
Searches for an area with specified value of 'shape' attribute. |
Area |
areaByTitle(java.lang.String title)
Searches for an area with specified title. |
Area[] |
areas()
Returns map's areas. |
Area[] |
areasByShape(java.lang.String shape)
Returns map areas with specificed shape attribute. |
Image |
getMappedImage()
Returns Image object representing HTML image having reference to this map.
|
Image[] |
getMappedImages()
Returns array of Image objects representing HTML images having references to this map.
|
java.lang.String |
name()
Return name attribute of this map |
| Methods inherited from interface com.actimind.actiwate.testing.html.objects.BaseElement |
element, id |
| Methods inherited from interface com.actimind.actiwate.testing.logging.Loggable |
getLogDesc |
| Method Detail |
public Area[] areas()
public Area area(int idx)
throws LookupException
idx - index of an area in this map, starting from zero
LookupException - if area does not exist
public Area area(java.lang.String nameOrId)
throws LookupException
nameOrId - name or id of an area
LookupException - if area was not found
public Area areaByAlt(java.lang.String alt)
throws LookupException
alt - alternative description of an area
LookupException - if area was not found
public Area areaByTitle(java.lang.String title)
throws LookupException
title - area title
LookupException - if area was not found
public Area areaByShape(java.lang.String shape,
int idx)
throws LookupException
shape - area shapeidx - index of area with specificed shape
LookupException - if area was not foundpublic Area[] areasByShape(java.lang.String shape)
shape - area shape attribute
public Image[] getMappedImages()
Image objects representing HTML images having references to this map.
If no images found then empty array returned.
public Image getMappedImage()
throws LookupException
Image object representing HTML image having reference to this map.
If this map is referenced by several images then only first one is returned.
LookupException - if no images found.public java.lang.String name()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||