Remove the object at the specified row from the list.
{@inheritDoc}Components which span over several rows are removed if the selected row is on the first row of such a component.
If the last row is removed then all remaining components will be removed and the grid will be reduced to one row. The cursor will be moved to the upper left cell of the grid.
@param row Index of the row to remove. The leftmost row has index 0.row
from the model. Notification of the row being removed will be sent to all the listeners.
@param row the row index of the row to be removed
@exception ArrayIndexOutOfBoundsException if the row was invalid
null
if the table did not contain such a row.
Title:重写删除行方法,删除一行,并删除对应的行单元格可否编辑状态
@param row @see javax.swing.table.DefaultTableModel#removeRow(int)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|