M - the type of the underlying modelpublic class CompositeRowSorter<M> extends RowSorter<M>
RowSorter.SortKey| Constructor and Description |
|---|
CompositeRowSorter() |
| Modifier and Type | Method and Description |
|---|---|
void |
allRowsChanged() |
int |
convertRowIndexToModel(int pIndex) |
int |
convertRowIndexToView(int pIndex) |
M |
getModel() |
int |
getModelRowCount() |
List<? extends RowSorter.SortKey> |
getSortKeys() |
int |
getViewRowCount() |
void |
modelStructureChanged() |
void |
rowsDeleted(int pFirstRow,
int pEndRow) |
void |
rowsInserted(int pFirstRow,
int pEndRow) |
void |
rowsUpdated(int pFirstRow,
int pEndRow) |
void |
rowsUpdated(int pFirstRow,
int pEndRow,
int pColumn) |
void |
setSortKeys(List<? extends RowSorter.SortKey> pKeys) |
void |
toggleSortOrder(int pColumn) |
addRowSorterListener, fireRowSorterChanged, fireSortOrderChanged, removeRowSorterListenerpublic void toggleSortOrder(int pColumn)
toggleSortOrder in class RowSorter<M>public int convertRowIndexToModel(int pIndex)
convertRowIndexToModel in class RowSorter<M>public int convertRowIndexToView(int pIndex)
convertRowIndexToView in class RowSorter<M>public void setSortKeys(List<? extends RowSorter.SortKey> pKeys)
setSortKeys in class RowSorter<M>public List<? extends RowSorter.SortKey> getSortKeys()
getSortKeys in class RowSorter<M>public int getViewRowCount()
getViewRowCount in class RowSorter<M>public int getModelRowCount()
getModelRowCount in class RowSorter<M>public void modelStructureChanged()
modelStructureChanged in class RowSorter<M>public void allRowsChanged()
allRowsChanged in class RowSorter<M>public void rowsInserted(int pFirstRow,
int pEndRow)
rowsInserted in class RowSorter<M>public void rowsDeleted(int pFirstRow,
int pEndRow)
rowsDeleted in class RowSorter<M>public void rowsUpdated(int pFirstRow,
int pEndRow)
rowsUpdated in class RowSorter<M>public void rowsUpdated(int pFirstRow,
int pEndRow,
int pColumn)
rowsUpdated in class RowSorter<M>Copyright © 2023. All rights reserved.