public class RowSorterWrapper<M> extends RowSorter<M>
RowSorter.SortKey| Constructor and Description |
|---|
RowSorterWrapper(RowSorter<M> delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
allRowsChanged()
Implemented to do nothing, we are the slave of the delegate.
|
int |
convertRowIndexToModel(int index) |
int |
convertRowIndexToView(int index) |
M |
getModel() |
int |
getModelRowCount() |
protected RowSorterListener |
getRowSorterListener()
Creates and returns a RowSorterListener which re-fires received
events.
|
List<? extends RowSorter.SortKey> |
getSortKeys() |
int |
getViewRowCount() |
void |
modelStructureChanged()
Implemented to do nothing, we are the slave of the delegate.
|
void |
rowsDeleted(int firstRow,
int endRow) |
void |
rowsInserted(int firstRow,
int endRow)
Implemented to do nothing, we are the slave of the delegate.
|
void |
rowsUpdated(int firstRow,
int endRow)
Implemented to do nothing, we are the slave of the delegate.
|
void |
rowsUpdated(int firstRow,
int endRow,
int column)
Implemented to do nothing, we are the slave of the delegate.
|
void |
setSortKeys(List<? extends RowSorter.SortKey> keys) |
void |
toggleSortOrder(int column) |
addRowSorterListener, fireRowSorterChanged, fireSortOrderChanged, removeRowSorterListenerprotected RowSorterListener getRowSorterListener()
public void toggleSortOrder(int column)
toggleSortOrder in class RowSorter<M>public int convertRowIndexToModel(int index)
convertRowIndexToModel in class RowSorter<M>public int convertRowIndexToView(int index)
convertRowIndexToView in class RowSorter<M>public void setSortKeys(List<? extends RowSorter.SortKey> keys)
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()
Implemented to do nothing, we are the slave of the delegate.
modelStructureChanged in class RowSorter<M>public void allRowsChanged()
Implemented to do nothing, we are the slave of the delegate.
allRowsChanged in class RowSorter<M>public void rowsInserted(int firstRow,
int endRow)
Implemented to do nothing, we are the slave of the delegate.
rowsInserted in class RowSorter<M>public void rowsDeleted(int firstRow,
int endRow)
rowsDeleted in class RowSorter<M>public void rowsUpdated(int firstRow,
int endRow)
Implemented to do nothing, we are the slave of the delegate.
rowsUpdated in class RowSorter<M>public void rowsUpdated(int firstRow,
int endRow,
int column)
Implemented to do nothing, we are the slave of the delegate.
rowsUpdated in class RowSorter<M>Copyright © 2019. All rights reserved.