public interface FeatureSelection extends FeatureReferenceSelection, FeatureSet, Cloneable
Modifier and Type | Field and Description |
---|---|
static FeatureSelection |
EMTPY_FEATURE_SELECTION |
EMPTY_FEATURESET
Modifier and Type | Method and Description |
---|---|
boolean |
deselect(Feature feature)
Removes a feature from the selection.
|
boolean |
deselect(FeatureSet features)
Removes a DataSet of features from the selection.
|
boolean |
isAvailable() |
boolean |
isSelected(Feature feature)
Returns if a feature is selected.
|
boolean |
select(Feature feature)
Adds a feature to the selection.
|
boolean |
select(FeatureSet features)
Adds a DataSet of features to the selection.
|
deselect, deselectAll, getSelectedCount, isSelected, referenceIterable, referenceIterator, reverse, select, selectAll
accept, isFromStore
dispose
addObserver, deleteObserver, deleteObservers
beginComplexNotification, disableNotifications, enableNotifications, endComplexNotification
loadFromState, saveToState
accept, accept, commitChanges, delete, fastIterator, fastIterator, fastIterator, first, getDefaultFeatureType, getDynObjectSet, getDynObjectSet, getFeatureStore, getFeatureTypes, getSize, insert, iterable, iterable, iterator, iterator, iterator, makeFilter, toJson, toJSON, toJsonBuilder, update
isEmpty, isEmpty, isEmpty, isEmptyQuietly
clone, cloneQuietly, cloneQuietly
static final FeatureSelection EMTPY_FEATURE_SELECTION
boolean select(Feature feature)
feature
- the selected featureboolean deselect(Feature feature)
feature
- the deselected featureboolean select(FeatureSet features) throws DataException
features
- the selected featuresDataException
- if there is an error reading the FeatureSet valuesboolean deselect(FeatureSet features) throws DataException
features
- the deselected featuresDataException
- if there is an error reading the FeatureSet valuesboolean isSelected(Feature feature)
feature
- to checkboolean isAvailable()
isAvailable
in interface FeatureReferenceSelection