TableModel
. If the contents of the model are not sorted the model and view indices are the same.
@param viewRowIndex the index of the row in the view
@return the index of the corresponding row in the model
@throws IndexOutOfBoundsException if sorting is enabled and passed anindex outside the range of the JTable
as determined by the method getRowCount
@see javax.swing.table.TableRowSorter
@see #getRowCount
@since 1.6
index
in terms of the underlying model. That is, for the row index
in the coordinates of the view this returns the row index in terms of the underlying model.
@param index the row index in terms of the underlying view
@return row index in terms of the view
@throws IndexOutOfBoundsException if index
is outside therange of the view
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|