JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.swing
Interface JCRowSortTableModel

All Superinterfaces:
JCRowSortModel
All Known Implementing Classes:
DefaultRowSortTableModel, TreeTableSupport

public interface JCRowSortTableModel
extends JCRowSortModel

Interface to specify methods for a sortable table datasource. Concrete implementations of this model should also implement javax.swing.table.TableModel.


Field Summary
 
Fields inherited from interface com.klg.jclass.util.swing.JCRowSortModel
FORWARD, REVERSE
 
Method Summary
 int getSortedRow(int row)
          Returns the sorted row index of the specified unsorted row.
 int getUnsortedRow(int sortedRow)
          Returns the unsorted row index of a specified sorted row.
 
Methods inherited from interface com.klg.jclass.util.swing.JCRowSortModel
getAutoSort, getKeyColumns, getSortColumn, getSortOrder, isDataSorted, setAutoSort, setDataSorted, setKeyColumns, setSortColumn, setSortOrder, toggleSortOrder
 

Method Detail

getSortedRow

public int getSortedRow(int row)
Returns the sorted row index of the specified unsorted row.

Parameters:
row - the unsorted row index
Returns:
the sorted row index

getUnsortedRow

public int getUnsortedRow(int sortedRow)
Returns the unsorted row index of a specified sorted row.

Parameters:
sortedRow - the sorted row index
Returns:
the unsorted row index

Copyright © 2004 Quest Software Inc..
All rights reserved.