public class CircleAdapter extends GeometryAdapter
Modifier and Type | Field and Description |
---|---|
static String |
PERSISTENCE_DEFINITION_NAME |
geomManager
Constructor and Description |
---|
CircleAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
obtainShape(Point2D p)
DOCUMENT ME!
|
void |
paint(Graphics2D g,
AffineTransform at,
boolean andLastPoint)
DOCUMENT ME!
|
void |
pointPosition(Point2D p)
DOCUMENT ME!
|
static void |
registerPersistent() |
addPoint, applyTransform, changePoint, clone, delLastPoint, draw, drawVertex, end, getBounds2D, getGeometry, getGeometry, getPoints, loadFromState, print, saveToState, setGeometry, setPoints
public static final String PERSISTENCE_DEFINITION_NAME
public void paint(Graphics2D g, AffineTransform at, boolean andLastPoint)
paint
in class GeometryAdapter
g
- DOCUMENT ME!at
- DOCUMENT ME!andLastPoint
- DOCUMENT ME!public void pointPosition(Point2D p)
pointPosition
in class GeometryAdapter
p
- DOCUMENT ME!public void obtainShape(Point2D p)
obtainShape
in class GeometryAdapter
p
- DOCUMENT ME!CreateGeometryException
public static void registerPersistent()