Package com.bc.ceres.swing
Interface GridSelectionModel
- All Known Implementing Classes:
Grid.DefaultGridSelectionModel
public interface GridSelectionModel
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic interface -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(GridSelectionModel.Listener listener) voidaddSelectedRowIndex(int rowIndex) voidintintintint[]booleanisRowSelected(int rowIndex) voidremoveListener(GridSelectionModel.Listener listener) voidremoveSelectedRowIndex(int rowIndex) voidsetSelectedRowIndices(int... rowIndices)
-
Method Details
-
getSelectedRowCount
int getSelectedRowCount() -
isRowSelected
boolean isRowSelected(int rowIndex) -
getMinSelectedRowIndex
int getMinSelectedRowIndex() -
getMaxSelectedRowIndex
int getMaxSelectedRowIndex() -
getSelectedRowIndices
int[] getSelectedRowIndices() -
setSelectedRowIndices
void setSelectedRowIndices(int... rowIndices) -
addSelectedRowIndex
void addSelectedRowIndex(int rowIndex) -
removeSelectedRowIndex
void removeSelectedRowIndex(int rowIndex) -
addListener
-
removeListener
-
fireChange
-