public class ListTableModelSorter extends RowSorter<ListTableModel>
RowSorter.SortKey| Constructor and Description |
|---|
ListTableModelSorter() |
ListTableModelSorter(ListTableModel model) |
| Modifier and Type | Method and Description |
|---|---|
void |
allRowsChanged() |
int |
convertRowIndexToModel(int index) |
int |
convertRowIndexToView(int index) |
ListTableModel |
getModel() |
int |
getModelRowCount() |
List<? extends RowSorter.SortKey> |
getSortKeys() |
int |
getViewRowCount() |
void |
modelStructureChanged() |
void |
rowsDeleted(int firstRow,
int endRow) |
void |
rowsInserted(int firstRow,
int endRow) |
void |
rowsUpdated(int firstRow,
int endRow) |
void |
rowsUpdated(int firstRow,
int endRow,
int column) |
void |
setSortKeys(List<? extends RowSorter.SortKey> keys) |
void |
toggleSortOrder(int column) |
addRowSorterListener, fireRowSorterChanged, fireSortOrderChanged, removeRowSorterListenerpublic ListTableModelSorter()
public ListTableModelSorter(ListTableModel model)
model - public ListTableModel getModel()
getModel in class RowSorter<ListTableModel>public void toggleSortOrder(int column)
toggleSortOrder in class RowSorter<ListTableModel>public int convertRowIndexToModel(int index)
convertRowIndexToModel in class RowSorter<ListTableModel>public int convertRowIndexToView(int index)
convertRowIndexToView in class RowSorter<ListTableModel>public void setSortKeys(List<? extends RowSorter.SortKey> keys)
setSortKeys in class RowSorter<ListTableModel>public List<? extends RowSorter.SortKey> getSortKeys()
getSortKeys in class RowSorter<ListTableModel>public int getViewRowCount()
getViewRowCount in class RowSorter<ListTableModel>public int getModelRowCount()
getModelRowCount in class RowSorter<ListTableModel>public void modelStructureChanged()
modelStructureChanged in class RowSorter<ListTableModel>public void allRowsChanged()
allRowsChanged in class RowSorter<ListTableModel>public void rowsInserted(int firstRow,
int endRow)
rowsInserted in class RowSorter<ListTableModel>public void rowsDeleted(int firstRow,
int endRow)
rowsDeleted in class RowSorter<ListTableModel>public void rowsUpdated(int firstRow,
int endRow)
rowsUpdated in class RowSorter<ListTableModel>public void rowsUpdated(int firstRow,
int endRow,
int column)
rowsUpdated in class RowSorter<ListTableModel>Copyright © 2014 JDAL. All Rights Reserved.