|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.worldwind.terrain.BasicElevationModel.ResourceRetrievalTask
protected static class BasicElevationModel.ResourceRetrievalTask
ResourceRetrievalTask retrieves any non-tile resources associated with this ElevationModel in it's run method.
Field Summary | |
---|---|
protected BasicElevationModel |
em
|
Constructor Summary | |
---|---|
BasicElevationModel.ResourceRetrievalTask(BasicElevationModel em)
Constructs a new ResourceRetrievalTask, but otherwise does nothing. |
Method Summary | |
---|---|
BasicElevationModel |
getElevationModel()
Returns the elevation model who's non-tile resources are retrieved by this ResourceRetrievalTask |
protected void |
handleUncaughtException(Throwable t)
Logs a message describing the uncaught exception thrown during a call to run, and cancels any pending retrieval tasks. |
protected void |
retrieveResources()
Invokes BasicElevationModel.retrieveResources() , and cancels any pending retrieval tasks if the call
returns AVKey.RETRIEVAL_STATE_SUCCESSFUL . |
void |
run()
Retrieves any non-tile resources associated with the specified ElevationModel, and cancels any pending retrieval tasks if the retrieval succeeds, or if an exception is thrown during retrieval. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected BasicElevationModel em
Constructor Detail |
---|
public BasicElevationModel.ResourceRetrievalTask(BasicElevationModel em)
em
- the BasicElevationModel who's non-tile resources should be retrieved in the run method.
IllegalArgumentException
- if the elevation model is null.Method Detail |
---|
public BasicElevationModel getElevationModel()
protected void handleUncaughtException(Throwable t)
t
- the uncaught exception.protected void retrieveResources()
BasicElevationModel.retrieveResources()
, and cancels any pending retrieval tasks if the call
returns AVKey.RETRIEVAL_STATE_SUCCESSFUL
.
public void run()
run
in interface Runnable
|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |