Package com.bc.ceres.swing
Interface GridSelectionModel
-
- All Known Implementing Classes:
Grid.DefaultGridSelectionModel
public interface GridSelectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGridSelectionModel.Eventstatic interfaceGridSelectionModel.Listener
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddListener(GridSelectionModel.Listener listener)voidaddSelectedRowIndex(int rowIndex)voidfireChange(GridSelectionModel.Event event)intgetMaxSelectedRowIndex()intgetMinSelectedRowIndex()intgetSelectedRowCount()int[]getSelectedRowIndices()booleanisRowSelected(int rowIndex)voidremoveListener(GridSelectionModel.Listener listener)voidremoveSelectedRowIndex(int rowIndex)voidsetSelectedRowIndices(int... rowIndices)
-
-
-
Method Detail
-
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
void addListener(GridSelectionModel.Listener listener)
-
removeListener
void removeListener(GridSelectionModel.Listener listener)
-
fireChange
void fireChange(GridSelectionModel.Event event)
-
-