Package org.mapsforge.map.model
Class FrameBufferModel
- java.lang.Object
-
- org.mapsforge.map.model.common.Observable
-
- org.mapsforge.map.model.FrameBufferModel
-
- All Implemented Interfaces:
ObservableInterface
public class FrameBufferModel extends Observable
-
-
Constructor Summary
Constructors Constructor Description FrameBufferModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.mapsforge.core.model.Dimension
getDimension()
org.mapsforge.core.model.MapPosition
getMapPosition()
double
getOverdrawFactor()
void
setDimension(org.mapsforge.core.model.Dimension dimension)
void
setMapPosition(org.mapsforge.core.model.MapPosition mapPosition)
void
setOverdrawFactor(double overdrawFactor)
-
Methods inherited from class org.mapsforge.map.model.common.Observable
addObserver, notifyObservers, removeObserver
-
-
-
-
Method Detail
-
getDimension
public org.mapsforge.core.model.Dimension getDimension()
- Returns:
- the current dimension of the
FrameBuffer
(may be null).
-
getMapPosition
public org.mapsforge.core.model.MapPosition getMapPosition()
- Returns:
- the current
MapPosition
of theFrameBuffer
(may be null).
-
getOverdrawFactor
public double getOverdrawFactor()
-
setDimension
public void setDimension(org.mapsforge.core.model.Dimension dimension)
-
setMapPosition
public void setMapPosition(org.mapsforge.core.model.MapPosition mapPosition)
-
setOverdrawFactor
public void setOverdrawFactor(double overdrawFactor)
- Throws:
java.lang.IllegalArgumentException
- if theoverdrawFactor
is less or equal zero.
-
-