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