Class WaypointUpdater
java.lang.Object
slash.navigation.mapview.mapsforge.updater.WaypointUpdater
- All Implemented Interfaces:
EventMapUpdater
Stores the current waypoint state and minimizes
WaypointOperations.
Used to reduce the number of interactions between event listener and map UI.- Author:
- Christian Pesch
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWaypointUpdater(PositionsModel positionsModel, WaypointOperation waypointOperation) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleAdd(int firstRow, int lastRow) voidhandleRemove(int firstRow, int lastRow) voidhandleUpdate(int firstRow, int lastRow)
-
Constructor Details
-
Method Details
-
handleAdd
public void handleAdd(int firstRow, int lastRow) - Specified by:
handleAddin interfaceEventMapUpdater
-
handleUpdate
public void handleUpdate(int firstRow, int lastRow) - Specified by:
handleUpdatein interfaceEventMapUpdater
-
handleRemove
public void handleRemove(int firstRow, int lastRow) - Specified by:
handleRemovein interfaceEventMapUpdater
-