public class CentroidMoveEphemeron extends PolylineEphemeron
Copyright 2008 Partner Software, Inc.
| Modifier and Type | Field and Description |
|---|---|
protected XyPoint |
centroid |
protected XyPolyline |
original |
app, lineStyle, mapset, polyline| Constructor and Description |
|---|
CentroidMoveEphemeron(MapApp app,
MapSet mapset,
XyPolyline polyline,
java.lang.String lineStyle)
Handles displaying the movement of a polyline without mangling.
|
CentroidMoveEphemeron(MapApp app,
MapSet mapset,
XyPolyline polyline,
java.lang.String lineStyle,
XyPoint anchor)
Handles displaying the movement of a polyline without mangling.
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(DrawingSurface surface,
MapViewFrame frame,
XyPoint mousePosition)
Draw appropriate graphics on the given surface with the given frame,
mouse position, and any implementation-specific internal state.
|
getPolyline, setPolylineprotected XyPolyline original
protected XyPoint centroid
public CentroidMoveEphemeron(MapApp app, MapSet mapset, XyPolyline polyline, java.lang.String lineStyle)
app - - valid appmapset - - mapset given lineStyle lives inpolyline - - polyline to drawlineStyle - - lineStyle namepublic CentroidMoveEphemeron(MapApp app, MapSet mapset, XyPolyline polyline, java.lang.String lineStyle, XyPoint anchor)
app - - valid appmapset - - mapset given lineStyle lives inpolyline - - polyline to drawlineStyle - - lineStyle namepublic void draw(DrawingSurface surface, MapViewFrame frame, XyPoint mousePosition)
Ephemerondraw in interface Ephemerondraw in class PolylineEphemeron