public static class MapViewer.PolygonEditEvent extends MapViewer.AbstractMapEvent
Modifier and Type | Class and Description |
---|---|
static class |
MapViewer.PolygonEditEvent.ActionType
Polygon edit action type
MapViewer.PolygonEditEvent.ActionType.INSERT - vertex have been inserted into polygon
MapViewer.PolygonEditEvent.ActionType.REMOVE - vertex have been removed from polygon
MapViewer.PolygonEditEvent.ActionType.SET - vertex coordinates have been changed |
Constructor and Description |
---|
PolygonEditEvent(MapViewer mapViewer,
Polygon polygon,
MapViewer.PolygonEditEvent.ActionType actionType,
int index,
GeoPoint geoPoint) |
Modifier and Type | Method and Description |
---|---|
MapViewer.PolygonEditEvent.ActionType |
getActionType() |
GeoPoint |
getGeoPoint() |
int |
getIndex() |
Polygon |
getPolygon() |
getSource
public PolygonEditEvent(MapViewer mapViewer, Polygon polygon, MapViewer.PolygonEditEvent.ActionType actionType, int index, GeoPoint geoPoint)
public Polygon getPolygon()
public MapViewer.PolygonEditEvent.ActionType getActionType()
public int getIndex()
public GeoPoint getGeoPoint()