com.xtremelabs.robolectric.shadows
Class ShadowMapView

java.lang.Object
  extended by com.xtremelabs.robolectric.shadows.ShadowView
      extended by com.xtremelabs.robolectric.shadows.ShadowViewGroup
          extended by com.xtremelabs.robolectric.shadows.ShadowMapView

@Implements(value=com.google.android.maps.MapView.class)
public class ShadowMapView
extends ShadowViewGroup


Field Summary
 
Fields inherited from class com.xtremelabs.robolectric.shadows.ShadowView
focusable, onKeyListener, realView, UNINITIALIZED_ATTRIBUTE
 
Constructor Summary
ShadowMapView(com.google.android.maps.MapView mapView)
           
 
Method Summary
 void __constructor__(android.content.Context context, java.lang.String title)
           
 boolean canCoverCenter()
           
 boolean dispatchTouchEvent(android.view.MotionEvent event)
           
static double fromE6(int i)
           
 com.google.android.maps.MapController getController()
           
 int getLatitudeSpan()
           
 int getLongitudeSpan()
           
 com.google.android.maps.GeoPoint getMapCenter()
           
 com.google.android.maps.MapController getMapController()
           
 java.util.List<com.google.android.maps.Overlay> getOverlays()
           
 com.google.android.maps.Projection getProjection()
           
 ShadowMapController getShadowMapController()
           
 boolean getUseBuiltInZoomMapControls()
           
 android.widget.ZoomButtonsController getZoomButtonsController()
           
 int getZoomLevel()
           
 boolean isCanCoverCenter()
           
 boolean isPreLoadWasCalled()
           
 boolean isSatellite()
           
 void preLoad()
           
 void setBuiltInZoomControls(boolean useBuiltInZoomMapControls)
           
 void setCanCoverCenter(boolean canCoverCenter)
           
 void setLatitudeSpan(int latitudeSpan)
           
 void setLongitudeSpan(int longitudeSpan)
           
 void setSatellite(boolean satelliteOn)
           
static int toE6(double d)
           
 
Methods inherited from class com.xtremelabs.robolectric.shadows.ShadowViewGroup
addView, clearFocus, dump, findViewById, getChildAt, getChildCount, hasFocus, innerText, removeAllViews, removeViewAt
 
Methods inherited from class com.xtremelabs.robolectric.shadows.ShadowView
__constructor__, __constructor__, clearWasInvalidated, dump, dumpFirstPart, dumpIndent, getBackgroundResourceId, getBottom, getContext, getHeight, getId, getLayoutParams, getLeft, getMeasuredWidth, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getParent, getResources, getRight, getRootView, getTag, getTag, getTop, getVisibility, getWidth, inflate, invalidate, isClickable, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isSelected, layout, performClick, requestFocus, requestFocus, setBackgroundResource, setBottom, setClickable, setEnabled, setFocusable, setFocusableInTouchMode, setFocused, setId, setLayoutParams, setLeft, setOnClickListener, setOnFocusChangeListener, setOnKeyListener, setOnTouchListener, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setRight, setSelected, setTag, setTag, setTop, setViewFocus, setVisibility, wasInvalidated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadowMapView

public ShadowMapView(com.google.android.maps.MapView mapView)
Method Detail

__constructor__

public void __constructor__(android.content.Context context,
                            java.lang.String title)

toE6

public static int toE6(double d)

fromE6

public static double fromE6(int i)

setSatellite

@Implementation
public void setSatellite(boolean satelliteOn)

isSatellite

@Implementation
public boolean isSatellite()

canCoverCenter

@Implementation
public boolean canCoverCenter()

getController

@Implementation
public com.google.android.maps.MapController getController()

getZoomButtonsController

@Implementation
public android.widget.ZoomButtonsController getZoomButtonsController()

setBuiltInZoomControls

@Implementation
public void setBuiltInZoomControls(boolean useBuiltInZoomMapControls)

getProjection

@Implementation
public com.google.android.maps.Projection getProjection()

getOverlays

@Implementation
public java.util.List<com.google.android.maps.Overlay> getOverlays()

getMapCenter

@Implementation
public com.google.android.maps.GeoPoint getMapCenter()

getLatitudeSpan

@Implementation
public int getLatitudeSpan()

getLongitudeSpan

@Implementation
public int getLongitudeSpan()

getZoomLevel

@Implementation
public int getZoomLevel()

dispatchTouchEvent

@Implementation
public boolean dispatchTouchEvent(android.view.MotionEvent event)
Overrides:
dispatchTouchEvent in class ShadowView

preLoad

@Implementation
public void preLoad()

getMapController

public com.google.android.maps.MapController getMapController()

getShadowMapController

public ShadowMapController getShadowMapController()

getUseBuiltInZoomMapControls

public boolean getUseBuiltInZoomMapControls()

isPreLoadWasCalled

public boolean isPreLoadWasCalled()

isCanCoverCenter

public boolean isCanCoverCenter()

setLatitudeSpan

public void setLatitudeSpan(int latitudeSpan)

setLongitudeSpan

public void setLongitudeSpan(int longitudeSpan)

setCanCoverCenter

public void setCanCoverCenter(boolean canCoverCenter)