com.xtremelabs.robolectric.shadows
Class ShadowAddress

java.lang.Object
  extended by com.xtremelabs.robolectric.shadows.ShadowAddress

@Implements(value=android.location.Address.class)
public class ShadowAddress
extends java.lang.Object


Constructor Summary
ShadowAddress()
           
 
Method Summary
 java.lang.String getAddressLine(int index)
           
 java.lang.String getAdminArea()
           
 java.lang.String getCountryCode()
           
 double getLatitude()
           
 java.lang.String getLocality()
           
 double getLongitude()
           
 java.lang.String getPostalCode()
           
 void setAddressLine(int index, java.lang.String line)
           
 void setAdminArea(java.lang.String adminArea)
           
 void setCountryCode(java.lang.String countryCode)
           
 void setLatitude(double latitude)
           
 void setLocality(java.lang.String locality)
           
 void setLongitude(double longitude)
           
 void setPostalCode(java.lang.String postalCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadowAddress

public ShadowAddress()
Method Detail

getLatitude

@Implementation
public double getLatitude()

setLatitude

@Implementation
public void setLatitude(double latitude)

getLongitude

@Implementation
public double getLongitude()

setLongitude

@Implementation
public void setLongitude(double longitude)

setAddressLine

@Implementation
public void setAddressLine(int index,
                                          java.lang.String line)

getAddressLine

@Implementation
public java.lang.String getAddressLine(int index)

setLocality

@Implementation
public void setLocality(java.lang.String locality)

getLocality

@Implementation
public java.lang.String getLocality()

getAdminArea

@Implementation
public java.lang.String getAdminArea()

setAdminArea

@Implementation
public void setAdminArea(java.lang.String adminArea)

getPostalCode

@Implementation
public java.lang.String getPostalCode()

setPostalCode

@Implementation
public void setPostalCode(java.lang.String postalCode)

getCountryCode

@Implementation
public java.lang.String getCountryCode()

setCountryCode

@Implementation
public void setCountryCode(java.lang.String countryCode)