|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.faces.samples.components.model.ImageArea
public class ImageArea
ImageArea
is a JavaBean that represents a hotspot in an
image map. Within a particular image map, no two hotspots may have
the same alternate text, because this is treated as a key.
Constructor Summary | |
---|---|
ImageArea()
Construct an uninitialized ImageArea instance. |
|
ImageArea(String alt,
String coords,
String shape)
Construct an ImageArea initialized with the specified
property values. |
Method Summary | |
---|---|
String |
getAlt()
Return the alternate text for this hotspot. |
String |
getCoords()
Return the coordinate positions for this hotspot. |
String |
getShape()
Return the shape for this hotspot. |
void |
setAlt(String alt)
Set the alternate text for this hotspot. |
void |
setCoords(String coords)
Set the coordinate positions for this hotspot. |
void |
setShape(String shape)
Set the shape for this hotspot. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageArea()
Construct an uninitialized ImageArea
instance.
public ImageArea(String alt, String coords, String shape)
Construct an ImageArea
initialized with the specified
property values.
alt
- Alternate text for this hotspotcoords
- Coordinate positions for this hotspotshape
- Shape of this hotspot (default, rect, circle, poly)Method Detail |
---|
public String getAlt()
Return the alternate text for this hotspot.
public void setAlt(String alt)
Set the alternate text for this hotspot.
alt
- The new alternate textpublic String getCoords()
Return the coordinate positions for this hotspot.
public void setCoords(String coords)
Set the coordinate positions for this hotspot.
coords
- The new coordinate positionspublic String getShape()
Return the shape for this hotspot.
public void setShape(String shape)
Set the shape for this hotspot.
shape
- The new shape
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |