|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<KmlLayerStatus>
com.google.gwt.maps.client.layers.KmlLayerStatus
public enum KmlLayerStatus
The status returned by KmlLayer on the completion of loading a document.
See KmlLayerStatus
API Doc
| Enum Constant Summary | |
|---|---|
DOCUMENT_NOT_FOUND
The document could not be found. |
|
DOCUMENT_TOO_LARGE
The document exceeds the file size limits of KmlLayer. |
|
FETCH_ERROR
The document could not be fetched. |
|
INVALID_DOCUMENT
The document is not a valid KML, KMZ or GeoRSS document. |
|
INVALID_REQUEST
The KmlLayer is invalid. |
|
LIMITS_EXCEEDED
The document exceeds the feature limits of KmlLayer. |
|
OK
The layer loaded successfully. |
|
TIMED_OUT
The document could not be loaded within a reasonable amount of time. |
|
UNKNOWN
The document failed to load for an unknown reason. |
|
| Method Summary | |
|---|---|
static KmlLayerStatus |
fromValue(String type)
|
String |
toString()
|
String |
value()
|
static KmlLayerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static KmlLayerStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final KmlLayerStatus DOCUMENT_NOT_FOUND
public static final KmlLayerStatus DOCUMENT_TOO_LARGE
public static final KmlLayerStatus FETCH_ERROR
public static final KmlLayerStatus INVALID_DOCUMENT
public static final KmlLayerStatus INVALID_REQUEST
KmlLayer is invalid.
public static final KmlLayerStatus LIMITS_EXCEEDED
public static final KmlLayerStatus OK
public static final KmlLayerStatus TIMED_OUT
public static final KmlLayerStatus UNKNOWN
| Method Detail |
|---|
public static KmlLayerStatus[] values()
for (KmlLayerStatus c : KmlLayerStatus.values()) System.out.println(c);
public static KmlLayerStatus valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String value()
public static KmlLayerStatus fromValue(String type)
public String toString()
toString in class Enum<KmlLayerStatus>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||