|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SSCellEditing
SSCellEditing.java
SwingSet - Open Toolkit For Making Swing Controls Database-Aware
The SSCellEditing interface specifies the methods the SSTableModel will use to determine whether or not a given cell can be edited or if a user-specified value for a cell is valid or invalid.
| Method Summary | |
|---|---|
boolean |
cellUpdateRequested(int _row,
int _column,
java.lang.Object _oldValue,
java.lang.Object _newValue)
This function is called when ever a update to a cell is done but before the value is updated in the database. If the function returns false the update is cancelled, if it returns true the value will be updated in the database. |
boolean |
isCellEditable(int _row,
int _column)
Returns true if the cell at row _row and at column _column is editable else false. |
| Method Detail |
|---|
boolean isCellEditable(int _row,
int _column)
_row - the row to which the cell belongs._column - the column to which the cell belongs.
boolean cellUpdateRequested(int _row,
int _column,
java.lang.Object _oldValue,
java.lang.Object _newValue)
_row - the row in which update is taking place._column - the column at which update is taking place._oldValue - the present value in the cell being edited._newValue - the new value entered in the cell being edited.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||