Package org.gvsig.fmap.mapcontext.impl
Class DefaultMapContextDrawer.CachedImage
java.lang.Object
org.gvsig.fmap.mapcontext.impl.DefaultMapContextDrawer.CachedImage
- Enclosing class:
DefaultMapContextDrawer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlongbooleanbooleanbooleanisValidFullDrawnImage(MapContext context) booleanisValidPartialDrawnImage(MapContext context, DefaultMapContextDrawer.DrawList drawList) voidsetFullDrawnImage(BufferedImage fullDrawnImage) voidsetPartialDrawnImage(BufferedImage partialDrawnImage, MapContext mapContext, ViewPort viewPort, int lastDrawnLayerPosition) voidupdateVersions(MapContext mapContext, ViewPort viewPort)
-
Constructor Details
-
CachedImage
public CachedImage()
-
-
Method Details
-
setPartialDrawnImage
public void setPartialDrawnImage(BufferedImage partialDrawnImage, MapContext mapContext, ViewPort viewPort, int lastDrawnLayerPosition) -
updateVersions
-
setFullDrawnImage
-
getPartialDrawnImage
-
getFullDrawnImage
-
getMapContextVersion
public long getMapContextVersion() -
getLastDrawnLayerPosition
public int getLastDrawnLayerPosition() -
isValidFullDrawnImage
-
hasChangedMapContextDrawVersion
public boolean hasChangedMapContextDrawVersion() -
hasChangedViewPortDrawVersion
public boolean hasChangedViewPortDrawVersion() -
isValidPartialDrawnImage
public boolean isValidPartialDrawnImage(MapContext context, DefaultMapContextDrawer.DrawList drawList)
-