public abstract class Grabber extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected ProjectionBounds |
b |
protected boolean |
canceled |
protected WMSLayer |
layer |
private boolean |
localOnly |
protected MapView |
mv |
Constructor and Description |
---|
Grabber(MapView mv,
WMSLayer layer,
boolean localOnly) |
Modifier and Type | Method and Description |
---|---|
protected void |
attempt(WMSRequest request) |
void |
cancel() |
(package private) abstract void |
fetch(WMSRequest request,
int attempt) |
(package private) int |
height() |
abstract boolean |
loadFromCache(WMSRequest request) |
static int |
random(int min,
int max) |
void |
run() |
(package private) int |
width() |
private final boolean localOnly
protected ProjectionBounds b
protected volatile boolean canceled
abstract void fetch(WMSRequest request, int attempt) throws Exception
Exception
int width()
int height()
protected void attempt(WMSRequest request)
public static int random(int min, int max)
public abstract boolean loadFromCache(WMSRequest request)
public void cancel()