public class PolyLineAdapter extends GeometryAdapter
Modifier and Type | Field and Description |
---|---|
static String |
PERSISTENCE_DEFINITION_NAME |
protected Point2D |
pointPosition |
geomManager
Constructor and Description |
---|
PolyLineAdapter() |
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
protected Point2D pointPosition
public void obtainShape(Point2D p)
obtainShape
in class GeometryAdapter
p
- DOCUMENT ME!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 static void registerPersistent()