public class WMSRequest extends Object implements Comparable<WMSRequest>
Modifier and Type | Field and Description |
---|---|
private boolean |
allowPartialCacheMatch |
private boolean |
hasExactMatch |
private BufferedImage |
image |
private double |
pixelPerDegree |
private WMSLayer.PrecacheTask |
precacheTask |
private int |
priority |
private boolean |
real |
private GeorefImage.State |
state |
private int |
xIndex |
private int |
yIndex |
Constructor and Description |
---|
WMSRequest(int xIndex,
int yIndex,
double pixelPerDegree,
boolean real,
boolean allowPartialCacheMatch) |
WMSRequest(int xIndex,
int yIndex,
double pixelPerDegree,
boolean real,
boolean allowPartialCacheMatch,
WMSLayer.PrecacheTask precacheTask) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(WMSRequest o) |
boolean |
equals(Object obj) |
void |
finish(GeorefImage.State state,
BufferedImage image) |
BufferedImage |
getImage() |
double |
getPixelPerDegree() |
WMSLayer.PrecacheTask |
getPrecacheTask() |
int |
getPriority() |
GeorefImage.State |
getState() |
int |
getXIndex() |
int |
getYIndex() |
boolean |
hasExactMatch() |
int |
hashCode() |
boolean |
isAllowPartialCacheMatch() |
boolean |
isPrecacheOnly() |
boolean |
isReal() |
void |
setHasExactMatch(boolean hasExactMatch) |
void |
setPriority(int priority) |
String |
toString() |
private final int xIndex
private final int yIndex
private final double pixelPerDegree
private final boolean real
private final WMSLayer.PrecacheTask precacheTask
private final boolean allowPartialCacheMatch
private int priority
private boolean hasExactMatch
private GeorefImage.State state
private BufferedImage image
public WMSRequest(int xIndex, int yIndex, double pixelPerDegree, boolean real, boolean allowPartialCacheMatch)
public WMSRequest(int xIndex, int yIndex, double pixelPerDegree, boolean real, boolean allowPartialCacheMatch, WMSLayer.PrecacheTask precacheTask)
public void finish(GeorefImage.State state, BufferedImage image)
public int getXIndex()
public int getYIndex()
public double getPixelPerDegree()
public void setPriority(int priority)
public int getPriority()
public int compareTo(WMSRequest o)
compareTo
in interface Comparable<WMSRequest>
public GeorefImage.State getState()
public BufferedImage getImage()
public boolean isReal()
public boolean isPrecacheOnly()
public WMSLayer.PrecacheTask getPrecacheTask()
public boolean isAllowPartialCacheMatch()
public boolean hasExactMatch()
public void setHasExactMatch(boolean hasExactMatch)