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 |
isSelected(FeatureReference reference)
Returns if a feature is selected.
|
Iterator |
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, isFromStoredisposeaddObserver, deleteObserver, deleteObserversbeginComplexNotification, disableNotifications, enableNotifications, endComplexNotificationloadFromState, saveToStateboolean 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()
Iterator referenceIterator()