|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.ajaxloader.client.ClientLocation
public class ClientLocation
Wraps the ClientLocation object stored on google.loader described at http://code.google.com/apis/ajax/documentation/#ClientLocation
Constructor Summary | |
---|---|
protected |
ClientLocation()
|
Method Summary | |
---|---|
java.lang.String |
getCity()
Supplies the name of the city associated with the client's IP address. |
java.lang.String |
getCountry()
Supplies the name of the country associated with the client's IP address. |
java.lang.String |
getCountryCode()
Supplies the name of the ISO 3166-1 country code associated with the client's IP address. |
double |
getLatitude()
Supplies the low resolution latitude associated with the client's IP address. |
double |
getLongitude()
Supplies the low resolution longitude associated with the client's IP address. |
java.lang.String |
getRegion()
Supplies the country specific region name associated with the client's IP address. |
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ClientLocation()
Method Detail |
---|
public final java.lang.String getCity()
public final java.lang.String getCountry()
public final java.lang.String getCountryCode()
public final double getLatitude()
public final double getLongitude()
public final java.lang.String getRegion()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |