|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GeocoderLocationType>
com.google.gwt.maps.client.services.GeocoderLocationType
public enum GeocoderLocationType
Describes the type of location returned from a geocode.
See
GeocoderLocationType API Doc
| Enum Constant Summary | |
|---|---|
APPROXIMATE
The returned result is approximate. |
|
GEOMETRIC_CENTER
The returned result is the geometric center of a result such a line (e.g. |
|
RANGE_INTERPOLATED
The returned result reflects an approximation (usually on a road) interpolated between two precise points (such as intersections). |
|
ROOFTOP
The returned result reflects a precise geocode. |
|
| Method Summary | |
|---|---|
static GeocoderLocationType |
fromValue(String type)
|
String |
toString()
|
String |
value()
|
static GeocoderLocationType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GeocoderLocationType[] |
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 GeocoderLocationType APPROXIMATE
public static final GeocoderLocationType GEOMETRIC_CENTER
public static final GeocoderLocationType RANGE_INTERPOLATED
public static final GeocoderLocationType ROOFTOP
| Method Detail |
|---|
public static GeocoderLocationType[] values()
for (GeocoderLocationType c : GeocoderLocationType.values()) System.out.println(c);
public static GeocoderLocationType 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 GeocoderLocationType fromValue(String type)
public String toString()
toString in class Enum<GeocoderLocationType>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||