public class PlotCaching
extends java.lang.Object
Constructor | Description |
---|---|
PlotCaching() |
Constructs an instance with no caching.
|
Modifier and Type | Method | Description |
---|---|---|
static PlotCaching |
createFullyCached() |
Returns an instance in which as much as possible is cached between
plot frames.
|
static PlotCaching |
createUncached() |
Returns an instance in which nothing is cached between plot frames.
|
boolean |
getCacheImage() |
Returns images caching policy.
|
boolean |
getReuseRanges() |
Returns the aux range caching policy.
|
boolean |
getUsePlans() |
Returns the plan caching policy.
|
void |
setCacheImage(boolean cacheImage) |
Sets image caching policy.
|
void |
setReuseRanges(boolean reuseRanges) |
Sets aux range caching policy.
|
void |
setUsePlans(boolean usePlans) |
Sets plan caching policy.
|
public void setCacheImage(boolean cacheImage)
cacheImage
- image caching policypublic boolean getCacheImage()
public void setReuseRanges(boolean reuseRanges)
reuseRanges
- aux range caching policypublic boolean getReuseRanges()
public void setUsePlans(boolean usePlans)
usePlans
- drawing plan caching policyDrawing.calculatePlan(java.lang.Object[], uk.ac.starlink.ttools.plot2.data.DataStore)
public boolean getUsePlans()
Drawing.calculatePlan(java.lang.Object[], uk.ac.starlink.ttools.plot2.data.DataStore)
public static PlotCaching createFullyCached()
public static PlotCaching createUncached()
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.