org.zaval.data.event
Interface MatrixListener
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- LwGrid
- public interface MatrixListener
- extends java.util.EventListener
This is listener interface for receiving matrix events.
|
Method Summary |
void |
cellModified(java.lang.Object target,
int row,
int col,
java.lang.Object prevValue)
Invoked when a cell of the matrix model has been updated. |
void |
matrixResized(java.lang.Object target,
int prevRows,
int prevCols)
Invoked when a dimension of the matrix model (number of rows or number of columns) has
been changed. |
matrixResized
public void matrixResized(java.lang.Object target,
int prevRows,
int prevCols)
- Invoked when a dimension of the matrix model (number of rows or number of columns) has
been changed.
- Parameters:
target - the target matrix model.prevRows - the previous number of rows that the matrix model had before.prevCols - the previous number of columns that the matrix model had before.
cellModified
public void cellModified(java.lang.Object target,
int row,
int col,
java.lang.Object prevValue)
- Invoked when a cell of the matrix model has been updated.
- Parameters:
target - the target matrix model.row - the row of the matrix model cell that has been updated.col - the column of the matrix model cell that has been updated.prevValue - the previous value of the modified cell.
|