|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A RowHandler is called whenever the user wants to add, modify,
or remove a row from a ModifiableTable. It is responsible for
getting new data from the user, and has the power to veto a removal.
| Method Summary | |
java.lang.Object[] |
getNewRowInfo(java.lang.Object[] oldData)
Called when the user chooses to add or modify a row in the table. |
boolean |
shouldRemoveRow(int row)
Called when the user chooses to remove a row in the table. |
void |
updateUI()
If this row handler has any Swing components/windows in it, this method will update their UI's. |
| Method Detail |
public java.lang.Object[] getNewRowInfo(java.lang.Object[] oldData)
oldData - The old values of the cells in this row. If the user
is adding a new row, this value is null.
null.public boolean shouldRemoveRow(int row)
row - The row that might be removed.
public void updateUI()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||