com.google.gwt.ajaxloader.client
Class ClientLocation

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.ajaxloader.client.ClientLocation

public class ClientLocation
extends com.google.gwt.core.client.JavaScriptObject

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

ClientLocation

protected ClientLocation()
Method Detail

getCity

public final java.lang.String getCity()
Supplies the name of the city associated with the client's IP address.


getCountry

public final java.lang.String getCountry()
Supplies the name of the country associated with the client's IP address.


getCountryCode

public final java.lang.String getCountryCode()
Supplies the name of the ISO 3166-1 country code associated with the client's IP address.


getLatitude

public final double getLatitude()
Supplies the low resolution latitude associated with the client's IP address.


getLongitude

public final double getLongitude()
Supplies the low resolution longitude associated with the client's IP address.


getRegion

public final java.lang.String getRegion()
Supplies the country specific region name associated with the client's IP address.