public class CustomZoomButtonsController extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
CustomZoomButtonsController.OnZoomListener |
static class |
CustomZoomButtonsController.Visibility |
Constructor and Description |
---|
CustomZoomButtonsController(MapView pMapView) |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
void |
draw(Canvas pCanvas) |
CustomZoomButtonsDisplay |
getDisplay() |
void |
onDetach() |
boolean |
onLongPress(MotionEvent pMotionEvent) |
boolean |
onSingleTapConfirmed(MotionEvent pMotionEvent) |
void |
setOnZoomListener(CustomZoomButtonsController.OnZoomListener pListener) |
void |
setShowFadeOutDelays(int pShowDelayInMillis,
int pFadeOutAnimationDurationInMillis) |
void |
setVisibility(CustomZoomButtonsController.Visibility pVisibility) |
void |
setZoomInEnabled(boolean pEnabled) |
void |
setZoomOutEnabled(boolean pEnabled) |
public CustomZoomButtonsController(MapView pMapView)
public void setZoomInEnabled(boolean pEnabled)
public void setZoomOutEnabled(boolean pEnabled)
public CustomZoomButtonsDisplay getDisplay()
public void setOnZoomListener(CustomZoomButtonsController.OnZoomListener pListener)
public void setVisibility(CustomZoomButtonsController.Visibility pVisibility)
public void setShowFadeOutDelays(int pShowDelayInMillis, int pFadeOutAnimationDurationInMillis)
public void onDetach()
public void activate()
public boolean onSingleTapConfirmed(MotionEvent pMotionEvent)
public boolean onLongPress(MotionEvent pMotionEvent)
public void draw(Canvas pCanvas)