| java.lang.Object org.apache.cocoon.faces.samples.components.model.ImageArea
ImageArea | public class ImageArea implements Serializable(Code) | |
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.
|
ImageArea | public ImageArea()(Code) | | Construct an uninitialized
ImageArea instance.
|
ImageArea | public ImageArea(String alt, String coords, String shape)(Code) | | Construct an
ImageArea initialized with the specified
property values.
Parameters: alt - Alternate text for this hotspot Parameters: coords - Coordinate positions for this hotspot Parameters: shape - Shape of this hotspot (default, rect, circle, poly) |
getAlt | public String getAlt()(Code) | | Return the alternate text for this hotspot.
|
getCoords | public String getCoords()(Code) | | Return the coordinate positions for this hotspot.
|
getShape | public String getShape()(Code) | | Return the shape for this hotspot.
|
setAlt | public void setAlt(String alt)(Code) | | Set the alternate text for this hotspot.
Parameters: alt - The new alternate text |
setCoords | public void setCoords(String coords)(Code) | | Set the coordinate positions for this hotspot.
Parameters: coords - The new coordinate positions |
setShape | public void setShape(String shape)(Code) | | Set the shape for this hotspot.
Parameters: shape - The new shape |
|
|