public class SpatialChangeDataProvider extends MapDataProvider
List
of Cell
instead of database.Modifier and Type | Field and Description |
---|---|
protected List<Cell> |
cells |
protected FisheryRegion |
fisheryRegion |
mapDataListeners
Constructor and Description |
---|
SpatialChangeDataProvider(FisheryRegion fisheryRegion,
List<Cell> cells) |
Modifier and Type | Method and Description |
---|---|
List<Cell> |
findAllByCoordinates(float latitude,
float longitude) |
List<Cell> |
getCell() |
float |
getCellLengthLatitude() |
float |
getCellLengthLongitude() |
List<String> |
getMapFilePath() |
float |
getMaxLatitude() |
float |
getMaxLongitude() |
float |
getMinLatitude() |
float |
getMinLongitude() |
regionChanged
protected FisheryRegion fisheryRegion
public SpatialChangeDataProvider(FisheryRegion fisheryRegion, List<Cell> cells)
public float getMinLongitude()
getMinLongitude
in class MapDataProvider
public float getMaxLongitude()
getMaxLongitude
in class MapDataProvider
public float getMinLatitude()
getMinLatitude
in class MapDataProvider
public float getMaxLatitude()
getMaxLatitude
in class MapDataProvider
public float getCellLengthLongitude()
getCellLengthLongitude
in class MapDataProvider
public float getCellLengthLatitude()
getCellLengthLatitude
in class MapDataProvider
public List<Cell> getCell()
getCell
in class MapDataProvider
public List<String> getMapFilePath()
getMapFilePath
in class MapDataProvider
public List<Cell> findAllByCoordinates(float latitude, float longitude)
findAllByCoordinates
in class MapDataProvider
Copyright © 1999–2020 CodeLutin. All rights reserved.