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, _visCond
uri
INVISIBLE, 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, isActionSupported
deleteContent, getContentType, getFile, getMIMEType, getTitle, importContent, isConditionVisible, onVisibilityConditions, setVisible
getIconColor, getIconDrawable, getMenu, getURI, getView, getViewState, setViewState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setVisible
protected 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)
FileContentHandler
setVisibleImpl
in class FileContentHandler
public int getVisibility()
getVisibility
in interface Visibility2
public boolean isVisible()
FileContentHandler
isVisible
in interface Visibility
isVisible
in class FileContentHandler