org.openstreetmap.josm.io.imagery
Class WMSRequest

java.lang.Object
  extended by 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>


Field Summary
private  boolean allowPartialCacheMatch
           
private  boolean hasExactMatch
           
private  java.awt.image.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 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)
           
 
Method Summary
 int compareTo(WMSRequest o)
           
 boolean equals(java.lang.Object obj)
           
 void finish(GeorefImage.State state, java.awt.image.BufferedImage image)
           
 java.awt.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)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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