|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
gov.nasa.worldwind.event.WWEvent
gov.nasa.worldwind.event.BulkRetrievalEvent
public class BulkRetrievalEvent
Notifies of bulk retrieval events.
BulkRetrievable,
Serialized Form| Field Summary | |
|---|---|
protected String |
eventType
|
protected String |
item
|
static String |
RETRIEVAL_FAILED
Constant indicating retrieval failure. |
static String |
RETRIEVAL_SUCCEEDED
Constant indicating retrieval success. |
| Fields inherited from class gov.nasa.worldwind.event.WWEvent |
|---|
consumed |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
BulkRetrievalEvent(BulkRetrievable source,
String eventType,
String item)
Creates a new event. |
|
| Method Summary | |
|---|---|
String |
getEventType()
Returns the event type, one of RETRIEVAL_SUCCEEDED or RETRIEVAL_FAILED. |
String |
getItem()
Returns the filestore location of the item whose retrieval succeeded or failed. |
BulkRetrievable |
getSource()
Returns the event source. |
| Methods inherited from class gov.nasa.worldwind.event.WWEvent |
|---|
consume, isConsumed |
| Methods inherited from class java.util.EventObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String eventType
protected String item
public static String RETRIEVAL_FAILED
public static String RETRIEVAL_SUCCEEDED
| Constructor Detail |
|---|
public BulkRetrievalEvent(BulkRetrievable source,
String eventType,
String item)
source - the event source, typically either a tiled image layer, elevation model or placename layer.eventType - indicates success or failure. One of RETRIEVAL_SUCCEEDED or RETRIEVAL_FAILED.item - the cache location of the item whose retrieval succeeded or failed.BulkRetrievable| Method Detail |
|---|
public String getEventType()
RETRIEVAL_SUCCEEDED or RETRIEVAL_FAILED.
public String getItem()
public BulkRetrievable getSource()
getSource in class EventObjectBulkRetrievable
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||