
public class FolderOverlay extends Overlay
Overlay.Snappable| Modifier and Type | Field and Description |
|---|---|
protected String |
mDescription |
protected String |
mName |
protected OverlayManager |
mOverlayManager |
mBounds, SHADOW_X_SKEW, SHADOW_Y_SCALEDEFAULT_ZOOMLEVEL_MINIMAP_DIFFERENCE, NOT_SET| Constructor and Description |
|---|
FolderOverlay() |
FolderOverlay(Context ctx)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Overlay item) |
void |
closeAllInfoWindows()
Close all opened InfoWindows of overlays it contains.
|
void |
draw(Canvas pCanvas,
MapView pMapView,
boolean pShadow)
Draw the overlay over the map.
|
void |
draw(Canvas pCanvas,
Projection pProjection) |
String |
getDescription() |
List<Overlay> |
getItems() |
String |
getName() |
void |
onDetach(MapView mapView)
Override to perform clean up of resources before shutdown.
|
boolean |
onLongPress(MotionEvent e,
MapView mapView)
By default does nothing (
return false). |
boolean |
onSingleTapConfirmed(MotionEvent e,
MapView mapView)
By default does nothing (
return false). |
boolean |
onSingleTapUp(MotionEvent e,
MapView mapView)
By default does nothing (
return false). |
boolean |
onTouchEvent(MotionEvent e,
MapView mapView)
You can prevent all(!) other Touch-related events from happening!
By default does nothing ( return false). |
boolean |
remove(Overlay item) |
void |
setDescription(String description) |
void |
setName(String name) |
drawAt, getBounds, getSafeMenuId, getSafeMenuIdSequence, isEnabled, onDoubleTap, onDoubleTapEvent, onDown, onFling, onKeyDown, onKeyUp, onPause, onResume, onScroll, onShowPress, onTrackballEvent, setEnabledprotected OverlayManager mOverlayManager
protected String mName
protected String mDescription
@Deprecated public FolderOverlay(Context ctx)
FolderOverlay() insteadpublic FolderOverlay()
public void setName(String name)
public String getName()
public void setDescription(String description)
public String getDescription()
public List<Overlay> getItems()
public boolean add(Overlay item)
public boolean remove(Overlay item)
public void draw(Canvas pCanvas, Projection pProjection)
public void draw(Canvas pCanvas, MapView pMapView, boolean pShadow)
OverlayOverlay.draw(Canvas, Projection) instead (cf. MapSnapshotpublic boolean onSingleTapUp(MotionEvent e, MapView mapView)
Overlayreturn false). If you handled the Event, return true
, otherwise return false. If you returned true none of the following Overlays
or the underlying MapView has the chance to handle this event.onSingleTapUp in class Overlaypublic boolean onSingleTapConfirmed(MotionEvent e, MapView mapView)
Overlayreturn false). If you handled the Event, return true
, otherwise return false. If you returned true none of the following Overlays
or the underlying MapView has the chance to handle this event.onSingleTapConfirmed in class Overlaypublic boolean onLongPress(MotionEvent e, MapView mapView)
Overlayreturn false). If you handled the Event, return true
, otherwise return false. If you returned true none of the following Overlays
or the underlying MapView has the chance to handle this event.onLongPress in class Overlaypublic boolean onTouchEvent(MotionEvent e, MapView mapView)
Overlayreturn false). If you handled the Event, return true
, otherwise return false. If you returned true none of the following Overlays
or the underlying MapView has the chance to handle this event.onTouchEvent in class Overlaypublic void closeAllInfoWindows()