-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b53
-
generic
-
generic
1) in spec for method public int convertRowIndexToModel(int viewRowIndex) is written:
"Throws:
IndexOutOfBoundsException - if sorting is enabled and passed an index outside the range of the RowSorter"
"index outside the range of the RowSorter" - it is not clear how index may be outside the range of the RowSorter?
2) in spec for method JTable.sorterChanged is written:
"public void sorterChanged(RowSorterEvent e)
RowSorterListener notification that the RowSorter has changed in some way."
It is not clear in what exactly way RowSorter should be changed. For example, if TableRowSorter.setTableModel is invoked, will sorterChanged() be invoked (once or twice with different e)? May be it is possible to clarify this description?
"Throws:
IndexOutOfBoundsException - if sorting is enabled and passed an index outside the range of the RowSorter"
"index outside the range of the RowSorter" - it is not clear how index may be outside the range of the RowSorter?
2) in spec for method JTable.sorterChanged is written:
"public void sorterChanged(RowSorterEvent e)
RowSorterListener notification that the RowSorter has changed in some way."
It is not clear in what exactly way RowSorter should be changed. For example, if TableRowSorter.setTableModel is invoked, will sorterChanged() be invoked (once or twice with different e)? May be it is possible to clarify this description?