public interface FeatureReferenceSelection extends DataSelection, Observer, WeakReferencingObservable, ComplexObservable, Persistent
Modifier and Type | Method and Description |
---|---|
boolean |
deselect(FeatureReference reference)
Removes a feature from the selection.
|
void |
deselectAll()
Deselects all values.
|
long |
getSelectedCount()
Returns the number of selected values.
|
boolean |
isAvailable() |
boolean |
isSelected(FeatureReference reference)
Returns if a feature is selected.
|
java.lang.Iterable<FeatureReference> |
referenceIterable() |
java.util.Iterator<FeatureReference> |
referenceIterator()
Returns an unmodifiable Iterator of selected feature references.
|
void |
reverse()
Reverses the selection.
|
boolean |
select(FeatureReference reference)
Adds a feature to the selection.
|
void |
selectAll()
Selects all values.
|
accept, isFromStore
dispose
addObserver, deleteObserver, deleteObservers
beginComplexNotification, disableNotifications, enableNotifications, endComplexNotification
loadFromState, saveToState
boolean select(FeatureReference reference)
reference
- the selected feature referenceboolean deselect(FeatureReference reference)
reference
- the deselected feature referencevoid selectAll() throws DataException
DataException
- if there is an error selecting all valuesvoid deselectAll() throws DataException
DataException
- if there is an error deselecting all valuesboolean isSelected(FeatureReference reference)
reference
- to checkvoid reverse()
long getSelectedCount()
java.util.Iterator<FeatureReference> referenceIterator()
java.lang.Iterable<FeatureReference> referenceIterable()
boolean isAvailable()