DefaultSelectionMapper
public interface SelectionMapper
updates view selection on pipeline change. updates model selection on view selection change.
Modifier and Type | Method | Description |
---|---|---|
void |
clearModelSelection() |
|
javax.swing.ListSelectionModel |
getViewSelectionModel() |
|
void |
insertIndexInterval(int start,
int length,
boolean before) |
Adjust the model by adding the specified rows.
|
boolean |
isEnabled() |
|
void |
removeIndexInterval(int start,
int end) |
Adjust the model by removing the specified rows.
|
void |
setEnabled(boolean enabled) |
Toggle whether selection mapping is active.
|
void |
setFilters(FilterPipeline pipeline) |
Install the new filter pipeline and map the newly filtered data
towards the view.
|
void |
setViewSelectionModel(javax.swing.ListSelectionModel viewSelectionMode) |
sets the view selection model.
|
void setViewSelectionModel(javax.swing.ListSelectionModel viewSelectionMode)
viewSelectionMode
- holding selected indices in view coordinatesjavax.swing.ListSelectionModel getViewSelectionModel()
void setFilters(FilterPipeline pipeline)
void setEnabled(boolean enabled)
boolean isEnabled()
void clearModelSelection()
void insertIndexInterval(int start, int length, boolean before)
void removeIndexInterval(int start, int end)