public abstract class FeatureDbContentHandler extends FileOverlayContentHandler implements Visibility2
| Modifier and Type | Field and Description |
|---|---|
protected FeatureDataStore |
_dataStore |
protected int |
_totalFeatureSets |
_bounds, _context, _mapView_file, _previouslyVisible, _visConduriINVISIBLE, SEMI_VISIBLE, VISIBLE| Modifier | Constructor and Description |
|---|---|
protected |
FeatureDbContentHandler(MapView mv,
java.io.File file,
FeatureDataStore db,
Envelope bounds) |
| Modifier and Type | Method and Description |
|---|---|
protected FeatureSetQueryParameters |
buildQueryParams()
Build query parameters for the feature sets owned by this handler
If this handler covers all feature sets then leave as is
|
int |
getTotalFeatureSetsCount()
Get the total number of feature sets owner by this handler
This is called post-initialization to allow sub-classes to override
Used for partial visibility calculations
|
int |
getVisibility() |
boolean |
isVisible()
Check if this file is visible based on visibility condition state
|
boolean |
setVisibleImpl(boolean visible)
Sub-classes should override this
|
accept, getBounds, getIcon, getPoint, goTo, isActionSupporteddeleteContent, getContentType, getFile, getMIMEType, getTitle, importContent, isConditionVisible, onVisibilityConditions, setVisiblegetIconColor, getIconDrawable, getMenu, getURI, getView, getViewState, setViewStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetVisibleprotected final FeatureDataStore _dataStore
protected int _totalFeatureSets
protected FeatureDbContentHandler(MapView mv, java.io.File file, FeatureDataStore db, Envelope bounds)
public int getTotalFeatureSetsCount()
protected FeatureSetQueryParameters buildQueryParams()
public boolean setVisibleImpl(boolean visible)
FileContentHandlersetVisibleImpl in class FileContentHandlerpublic int getVisibility()
getVisibility in interface Visibility2public boolean isVisible()
FileContentHandlerisVisible in interface VisibilityisVisible in class FileContentHandler