|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FeatureDatasetSelectionModel<D extends Dataset,E,F>
This selection model maintains whether items of a Dataset
corresponding
to features are selected in a chart or not.
Method Summary | |
---|---|
boolean |
changeItemSelection(String fID)
Changes the selection of the data item of a feature. |
Set<String> |
getSelectedFeatures()
Returns the IDs of the selected features. |
boolean |
isFeatureSelected(String fID)
Checks if the data item of a feature is selected. |
void |
setItemSelected(String fID,
boolean selected)
Sets whether the data item of a feature is selected or not. |
Methods inherited from interface schmitzm.jfree.chart.selection.DatasetSelectionModel |
---|
addSelectionListener, changeItemSelection, clearSelection, datasetChanged, getDataset, getValueIsAdjusting, isItemSelected, refreshSelection, removeSelectionListener, setItemSelected, setValueIsAdjusting |
Method Detail |
---|
boolean isFeatureSelected(String fID)
fID
- feature IDvoid setItemSelected(String fID, boolean selected)
fID
- feature IDselected
- flag to (de)select the itemboolean changeItemSelection(String fID)
fID
- feature ID
true
if the item changed to selectedSet<String> getSelectedFeatures()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |