public class UndoableRowSorter<M extends TableModel> extends TableRowSorter<M>
DefaultRowSorter.ModelWrapper<M,I>RowSorter.SortKey| Constructor and Description |
|---|
UndoableRowSorter()
Creates an
UndoableRowSorter with an empty model. |
UndoableRowSorter(M model)
Creates an
UndoableRowSorter using model
as the underlying TableModel. |
| Modifier and Type | Method and Description |
|---|---|
void |
toggleSortOrder(int column) |
getComparator, getStringConverter, setModel, setStringConverter, useToStringallRowsChanged, convertRowIndexToModel, convertRowIndexToView, getMaxSortKeys, getModel, getModelRowCount, getModelWrapper, getRowFilter, getSortKeys, getSortsOnUpdates, getViewRowCount, isSortable, modelStructureChanged, rowsDeleted, rowsInserted, rowsUpdated, rowsUpdated, setComparator, setMaxSortKeys, setModelWrapper, setRowFilter, setSortable, setSortKeys, setSortsOnUpdates, sortaddRowSorterListener, fireRowSorterChanged, fireSortOrderChanged, removeRowSorterListenerpublic UndoableRowSorter()
UndoableRowSorter with an empty model.public UndoableRowSorter(M model)
UndoableRowSorter using model
as the underlying TableModel.model - the underlying TableModel to use,
null is treated as an empty modelpublic void toggleSortOrder(int column)
toggleSortOrder in class DefaultRowSorter<M extends TableModel,Integer>Copyright © 1999–2015 UCAR/Unidata. All rights reserved.