T
- the type of data stored in the GridModelpublic interface GridListener<T>
Modifier and Type | Method and Description |
---|---|
void |
cellChanged(int row,
int col,
T oldVal,
T newVal)
Called by a GridModel on each listener whenever a cell has been set to a new value
|
void |
gridReplaced()
Called by a GridModel on each listener whenever the grid is set to a new 2D array.
|
void cellChanged(int row, int col, T oldVal, T newVal)
row
- the rowcol
- the columnoldVal
- the old valuenewVal
- the new valuevoid gridReplaced()