public abstract class FileOverlayContentHandler extends FileContentHandler implements ILocation, GoTo, FOVFilter.Filterable
Modifier and Type | Field and Description |
---|---|
protected GeoBounds |
_bounds |
protected android.content.Context |
_context |
protected MapView |
_mapView |
_file, _previouslyVisible, _visCond
uri
Modifier | Constructor and Description |
---|---|
protected |
FileOverlayContentHandler(MapView mapView,
java.io.File file,
Envelope bounds) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(FOVFilter.MapState fov) |
GeoBounds |
getBounds(MutableGeoBounds bounds)
Get the geo bounds of this item
For points this is usually a bounds representation of the point
|
android.graphics.drawable.Drawable |
getIcon()
Get an icon that represents this content
|
GeoPoint |
getPoint(GeoPoint point)
Get the geo point of this item
For shapes this is usually the center point.
|
boolean |
goTo(boolean select) |
boolean |
isActionSupported(java.lang.Class<?> action)
Check if an action with a given class is supported by this handler
Besides the "instance of" check, this call may return false if a handler
only supports a given action under other conditions
i.e.
|
deleteContent, getContentType, getFile, getMIMEType, getTitle, importContent, isConditionVisible, isVisible, onVisibilityConditions, setVisible, setVisibleImpl
getIconColor, getIconDrawable, getMenu, getURI, getView, getViewState, setViewState
protected final MapView _mapView
protected final android.content.Context _context
protected GeoBounds _bounds
protected FileOverlayContentHandler(MapView mapView, java.io.File file, Envelope bounds)
public android.graphics.drawable.Drawable getIcon()
URIContentHandler
getIcon
in class URIContentHandler
public GeoPoint getPoint(GeoPoint point)
ILocation
public GeoBounds getBounds(MutableGeoBounds bounds)
ILocation
public boolean accept(FOVFilter.MapState fov)
accept
in interface FOVFilter.Filterable
public boolean isActionSupported(java.lang.Class<?> action)
URIContentHandler
isActionSupported
in class URIContentHandler
action
- Action class