public class PolylineEphemeron extends java.lang.Object implements Ephemeron
Copyright 2007 Paul Reavis
| Modifier and Type | Field and Description |
|---|---|
protected MapApp |
app |
protected java.lang.String |
lineStyle |
protected MapSet |
mapset |
protected XyPolyline |
polyline |
| Constructor and Description |
|---|
PolylineEphemeron(MapApp app,
MapSet mapset,
XyPolyline polyline,
java.lang.String lineStyle)
Creates a new PolylineEphemeron object.
|
| 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.
|
XyPolyline |
getPolyline() |
void |
setPolyline(XyPolyline line) |
protected XyPolyline polyline
protected java.lang.String lineStyle
protected MapApp app
protected MapSet mapset
public PolylineEphemeron(MapApp app, MapSet mapset, XyPolyline polyline, java.lang.String lineStyle)
polyline - public final void setPolyline(XyPolyline line)
public final XyPolyline getPolyline()
public void draw(DrawingSurface surface, MapViewFrame frame, XyPoint mousePosition)
Ephemeron