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 class
GridSelectionModel.Event
static interface
GridSelectionModel.Listener
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addListener(GridSelectionModel.Listener listener)
void
addSelectedRowIndex(int rowIndex)
void
fireChange(GridSelectionModel.Event event)
int
getMaxSelectedRowIndex()
int
getMinSelectedRowIndex()
int
getSelectedRowCount()
int[]
getSelectedRowIndices()
boolean
isRowSelected(int rowIndex)
void
removeListener(GridSelectionModel.Listener listener)
void
removeSelectedRowIndex(int rowIndex)
void
setSelectedRowIndices(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)
-
-