|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StreetviewPanoramaWidget.ErrorValue>
com.google.gwt.maps.client.streetview.StreetviewPanoramaWidget.ErrorValue
public static enum StreetviewPanoramaWidget.ErrorValue
An enum equivalents for error codes passed to
StreetviewErrorHandler
.
Enum Constant Summary | |
---|---|
FLASH_UNAVAILABLE
|
|
NO_NEARBY_PANO
|
|
NO_PHOTO
|
Method Summary | |
---|---|
static StreetviewPanoramaWidget.ErrorValue |
getByErrorCode(int errorCode)
Returns enum value for the passed error code or null if
error code is unknown. |
int |
getErrorCode()
Returns error code. |
static StreetviewPanoramaWidget.ErrorValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StreetviewPanoramaWidget.ErrorValue[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final StreetviewPanoramaWidget.ErrorValue NO_NEARBY_PANO
public static final StreetviewPanoramaWidget.ErrorValue NO_PHOTO
public static final StreetviewPanoramaWidget.ErrorValue FLASH_UNAVAILABLE
Method Detail |
---|
public static StreetviewPanoramaWidget.ErrorValue[] values()
for (StreetviewPanoramaWidget.ErrorValue c : StreetviewPanoramaWidget.ErrorValue.values()) System.out.println(c);
public static StreetviewPanoramaWidget.ErrorValue valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static StreetviewPanoramaWidget.ErrorValue getByErrorCode(int errorCode)
null
if
error code is unknown.
errorCode
- error code.
null
if
error code is unknown.public int getErrorCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |