Module java.desktop
Package javax.swing

Class RowSorter.SortKey

java.lang.Object
javax.swing.RowSorter.SortKey
Enclosing class:
RowSorter<M>

public static class RowSorter.SortKey
extends Object
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 Details

    • SortKey

      public SortKey​(int column, SortOrder sortOrder)
      Creates a SortKey for 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 sortOrder is null
  • Method Details