public interface MultipleSelectionListModel<T> extends ListModel<T>
ListModel
to support multiple selection.Modifier and Type | Method and Description |
---|---|
void |
addSelectedIndices(int... indices)
Adds indices to set of selected indices.
|
int[] |
getSelectedIndices()
Gets the selected indices in this model.
|
void |
removeSelectedIndices(int... indices)
Removes indices from the set of selected indices.
|
void |
setSelectedIndices(int... indices)
Sets the selected indices in this model.
|
addDataChangedListener, addItem, addSelectionListener, getItemAt, getSelectedIndex, getSize, removeDataChangedListener, removeItem, removeSelectionListener, setSelectedIndex
void addSelectedIndices(int... indices)
indices
- Indices to add to selected indices.void removeSelectedIndices(int... indices)
indices
- Indices to remove from selected indices.void setSelectedIndices(int... indices)
indices
- int[] getSelectedIndices()