public final class CircleMapArea extends ImageMapArea implements Serializable
| Modifier and Type | Field and Description |
|---|---|
private int |
radius |
x, y| Constructor and Description |
|---|
CircleMapArea(float x,
float y,
double value,
String xAxisLabel,
String legendLabel) |
CircleMapArea(float x,
float y,
Point2D.Double value,
String legendLabel) |
| Modifier and Type | Method and Description |
|---|---|
AreaShape |
getAreaShape() |
protected void |
getCoordinates(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,
String xAxisLabel,
String legendLabel)
x - y - value - xAxisLabel - legendLabel - public CircleMapArea(float x,
float y,
Point2D.Double value,
String legendLabel)
x - y - value - legendLabel - public AreaShape getAreaShape()
getAreaShape in class ImageMapAreapublic void setRadius(int radius)
radius - protected void getCoordinates(StringBuffer html)
ImageMapAreagetCoordinates in class ImageMapAreahtml - pass a reference to the StringBuffer so I can minimize Object creation