|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OnStatusChangedListener
Implements this listener to handle a status changed event on a MapView or a Layer. Some properties and operations are available only
after the MapView/Layer is initialized, e.g., spatial reference of the map, center of the map or tile information of a tiled layer. Therefore you have to wait for MapView/Layer
to be initialized in order to make use of these properties or operations.
If you attach this listener to MapView, four status changed events can be listened:
INITIALIZED/INITIALIZATION_FAILED events originated from MapView and LAYER_LOADED/LAYER_LOADING_FAILED events originated from Layer. If you attach this listener
to Layer, two status changed events can be listened: INITIALIZED and INITIALIZATION_FALIED events originated from Layer.
Nested Class Summary | |
---|---|
static class |
OnStatusChangedListener.EsriStatusException
Defines the detailed information about the STATUS.INITIALIZATION_FAILED or STATUS.LAYER_LOADING_FAILED. |
static class |
OnStatusChangedListener.STATUS
The MapView or Layer status. |
Method Summary | |
---|---|
void |
onStatusChanged(Object source,
OnStatusChangedListener.STATUS status)
The status changed event of MapView/Layer is fired. |
Method Detail |
---|
void onStatusChanged(Object source, OnStatusChangedListener.STATUS status)
source
- source object which originates the event, which can be either a MapView or a Layer object.status
- the new status.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |