Class RowSorter.SortKey
java.lang.Object
javax.swing.RowSorter.SortKey
SortKey describes the sort order for a particular column.  The
 column index is in terms of the underlying model, which may differ
 from that of the view.
- Since:
- 1.6
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
SortKeyCreates aSortKeyfor the specified column with the specified sort order.- Parameters:
- column- index of the column, in terms of the model
- sortOrder- the sorter order
- Throws:
- IllegalArgumentException- if- sortOrderis- null
 
 
- 
- 
Method Details- 
getColumnpublic final int getColumn()Returns the index of the column.- Returns:
- index of column
 
- 
getSortOrderReturns the sort order of the column.- Returns:
- the sort order of the column
 
- 
hashCode
- 
equalsReturns true if this object equals the specified object. If the specified object is aSortKeyand references the same column and sort order, the two objects are equal.
 
-