public class ListSortController<M extends ListModel> extends DefaultSortController<M>
DefaultRowSorter.ModelWrapper<M,I>
RowSorter.SortKey
cachedModelRowCount, COMPARABLE_COMPARATOR
Constructor and Description |
---|
ListSortController(M model) |
Modifier and Type | Method and Description |
---|---|
void |
setModel(M model)
Sets the
TableModel to use as the underlying model
for this TableRowSorter . |
allRowsChanged, convertRowIndexToModel, convertRowIndexToView, getDefaultSortOrderCycle, getModelRowCount, getSortOrder, getSortOrderCycle, getStringValueProvider, getViewRowCount, isSortable, isSortable, modelStructureChanged, resetSortOrders, rowsDeleted, rowsInserted, setSortable, setSortable, setSortOrder, setSortOrderCycle, setStringValueProvider, toggleSortOrder
getComparator, getMaxSortKeys, getModel, getModelWrapper, getRowFilter, getSortKeys, getSortsOnUpdates, rowsUpdated, rowsUpdated, setComparator, setMaxSortKeys, setModelWrapper, setRowFilter, setSortKeys, setSortsOnUpdates, sort, useToString
addRowSorterListener, fireRowSorterChanged, fireSortOrderChanged, removeRowSorterListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComparator, getRowFilter, getSortsOnUpdates, setComparator, setRowFilter, setSortsOnUpdates
public ListSortController(M model)
model
- public void setModel(M model)
TableModel
to use as the underlying model
for this TableRowSorter
. A value of null
can be used to set an empty model.model
- the underlying model to use, or null
Copyright © 2016. All rights reserved.