org.openstreetmap.josm.io.imagery
Class WMSRequest
java.lang.Object
org.openstreetmap.josm.io.imagery.WMSRequest
- All Implemented Interfaces:
- java.lang.Comparable<WMSRequest>
public class WMSRequest
- extends java.lang.Object
- implements java.lang.Comparable<WMSRequest>
Constructor Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
xIndex
private final int xIndex
yIndex
private final int yIndex
pixelPerDegree
private final double pixelPerDegree
real
private final boolean real
precacheTask
private final WMSLayer.PrecacheTask precacheTask
allowPartialCacheMatch
private final boolean allowPartialCacheMatch
priority
private int priority
hasExactMatch
private boolean hasExactMatch
state
private GeorefImage.State state
image
private java.awt.image.BufferedImage image
WMSRequest
public WMSRequest(int xIndex,
int yIndex,
double pixelPerDegree,
boolean real,
boolean allowPartialCacheMatch)
WMSRequest
public WMSRequest(int xIndex,
int yIndex,
double pixelPerDegree,
boolean real,
boolean allowPartialCacheMatch,
WMSLayer.PrecacheTask precacheTask)
finish
public void finish(GeorefImage.State state,
java.awt.image.BufferedImage image)
getXIndex
public int getXIndex()
getYIndex
public int getYIndex()
getPixelPerDegree
public double getPixelPerDegree()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
setPriority
public void setPriority(int priority)
getPriority
public int getPriority()
compareTo
public int compareTo(WMSRequest o)
- Specified by:
compareTo
in interface java.lang.Comparable<WMSRequest>
getState
public GeorefImage.State getState()
getImage
public java.awt.image.BufferedImage getImage()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isReal
public boolean isReal()
isPrecacheOnly
public boolean isPrecacheOnly()
getPrecacheTask
public WMSLayer.PrecacheTask getPrecacheTask()
isAllowPartialCacheMatch
public boolean isAllowPartialCacheMatch()
hasExactMatch
public boolean hasExactMatch()
setHasExactMatch
public void setHasExactMatch(boolean hasExactMatch)
JOSM