|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.util.TextureAtlasElement.RequestTask
protected static class TextureAtlasElement.RequestTask
RequestTask is an implementation of the Runnable interface who's run method retrieves and loads this
element's image source.
| Field Summary | |
|---|---|
protected TextureAtlasElement |
elem
The texture atlas element associated with this request task. |
| Constructor Summary | |
|---|---|
protected |
TextureAtlasElement.RequestTask(TextureAtlasElement elem)
Constructs a new request task with the specified texture atlas element, but otherwise does nothing. |
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Indicates whether another request task is equivalent to this one. |
int |
hashCode()
Returns the hash code for this request task's texture atlas element. |
void |
run()
Retrieves and loads the image source from this request task's texture atlas element, and notifies the element when the load completes. |
String |
toString()
Returns the string representation of this request task's texture atlas element. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected TextureAtlasElement elem
| Constructor Detail |
|---|
protected TextureAtlasElement.RequestTask(TextureAtlasElement elem)
run method causes this to retrieve and load the specified element's image
source.
elem - the texture atlas element who's image source is retrieved and loaded.
IllegalArgumentException - if the element is null.| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objecto - the object to test.
true if the specified object is a RequestTask, and its texture atlas element is
equivalent to this task's texture atlas element.public int hashCode()
hashCode in class Objectpublic void run()
run in interface Runnablepublic String toString()
toString in class Object
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||