public final class CircleMapArea extends ImageMapArea implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private int |
radius |
x, y| Constructor and Description |
|---|
CircleMapArea(float x,
float y,
double value,
java.lang.String xAxisLabel,
java.lang.String legendLabel) |
CircleMapArea(float x,
float y,
java.awt.geom.Point2D.Double value,
java.lang.String legendLabel) |
| Modifier and Type | Method and Description |
|---|---|
AreaShape |
getAreaShape() |
protected void |
getCoordinates(java.lang.StringBuffer html)
Appends the coordinates to the passed html buffer.
|
void |
setRadius(int radius)
Allows user to specify the radius for each circle
|
getLengendLabel, getNumberOfCoordinates, getValue, getXAxisLabel, getXCoordinate, getYCoordinate, toHTMLpublic CircleMapArea(float x,
float y,
double value,
java.lang.String xAxisLabel,
java.lang.String legendLabel)
x - y - value - xAxisLabel - legendLabel - public CircleMapArea(float x,
float y,
java.awt.geom.Point2D.Double value,
java.lang.String legendLabel)
x - y - value - legendLabel - public AreaShape getAreaShape()
getAreaShape in class ImageMapAreapublic void setRadius(int radius)
radius - protected void getCoordinates(java.lang.StringBuffer html)
ImageMapAreagetCoordinates in class ImageMapAreahtml - pass a reference to the StringBuffer so I can minimize Object creation