org.jdesktop.swingx.sort
Class ListSortController<M extends ListModel>

java.lang.Object
  extended by javax.swing.RowSorter<M>
      extended by javax.swing.DefaultRowSorter<M,Integer>
          extended by org.jdesktop.swingx.sort.DefaultSortController<M>
              extended by org.jdesktop.swingx.sort.ListSortController<M>
All Implemented Interfaces:
SortController<M>

public class ListSortController<M extends ListModel>
extends DefaultSortController<M>

TODO add type doc


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.DefaultRowSorter
DefaultRowSorter.ModelWrapper<M,I>
 
Nested classes/interfaces inherited from class javax.swing.RowSorter
RowSorter.SortKey
 
Field Summary
 
Fields inherited from class org.jdesktop.swingx.sort.DefaultSortController
COMPARABLE_COMPARATOR
 
Constructor Summary
ListSortController(M model)
           
 
Method Summary
 void setModel(M model)
          Sets the TableModel to use as the underlying model for this TableRowSorter.
 
Methods inherited from class org.jdesktop.swingx.sort.DefaultSortController
getDefaultSortOrderCycle, getSortOrder, getSortOrderCycle, getStringValueProvider, isSortable, isSortable, resetSortOrders, setSortable, setSortable, setSortOrder, setSortOrderCycle, setStringValueProvider, toggleSortOrder
 
Methods inherited from class javax.swing.DefaultRowSorter
allRowsChanged, convertRowIndexToModel, convertRowIndexToView, getComparator, getMaxSortKeys, getModel, getModelRowCount, getModelWrapper, getRowFilter, getSortKeys, getSortsOnUpdates, getViewRowCount, modelStructureChanged, rowsDeleted, rowsInserted, rowsUpdated, rowsUpdated, setComparator, setMaxSortKeys, setModelWrapper, setRowFilter, setSortKeys, setSortsOnUpdates, sort, useToString
 
Methods inherited from class javax.swing.RowSorter
addRowSorterListener, fireRowSorterChanged, fireSortOrderChanged, removeRowSorterListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jdesktop.swingx.sort.SortController
getComparator, getRowFilter, getSortsOnUpdates, setComparator, setRowFilter, setSortsOnUpdates
 

Constructor Detail

ListSortController

public ListSortController(M model)
Parameters:
model -
Method Detail

setModel

public void setModel(M model)
Sets the TableModel to use as the underlying model for this TableRowSorter. A value of null can be used to set an empty model.

Parameters:
model - the underlying model to use, or null