java.lang.Object
javax.swing.RowSorter<M>
com.iamsoft.util.ui.swing.CompositeRowSorter<M>
- Type Parameters:
M- the type of the underlying model
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.RowSorter
RowSorter.SortKey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintconvertRowIndexToModel(int pIndex) intconvertRowIndexToView(int pIndex) getModel()intList<? extends RowSorter.SortKey>intvoidvoidrowsDeleted(int pFirstRow, int pEndRow) voidrowsInserted(int pFirstRow, int pEndRow) voidrowsUpdated(int pFirstRow, int pEndRow) voidrowsUpdated(int pFirstRow, int pEndRow, int pColumn) voidsetSortKeys(List<? extends RowSorter.SortKey> pKeys) voidtoggleSortOrder(int pColumn) Methods inherited from class javax.swing.RowSorter
addRowSorterListener, fireRowSorterChanged, fireSortOrderChanged, removeRowSorterListener
-
Constructor Details
-
CompositeRowSorter
public CompositeRowSorter()
-
-
Method Details
-
getModel
-
toggleSortOrder
public void toggleSortOrder(int pColumn) - Specified by:
toggleSortOrderin classRowSorter<M>
-
convertRowIndexToModel
public int convertRowIndexToModel(int pIndex) - Specified by:
convertRowIndexToModelin classRowSorter<M>
-
convertRowIndexToView
public int convertRowIndexToView(int pIndex) - Specified by:
convertRowIndexToViewin classRowSorter<M>
-
setSortKeys
- Specified by:
setSortKeysin classRowSorter<M>
-
getSortKeys
- Specified by:
getSortKeysin classRowSorter<M>
-
getViewRowCount
public int getViewRowCount()- Specified by:
getViewRowCountin classRowSorter<M>
-
getModelRowCount
public int getModelRowCount()- Specified by:
getModelRowCountin classRowSorter<M>
-
modelStructureChanged
public void modelStructureChanged()- Specified by:
modelStructureChangedin classRowSorter<M>
-
allRowsChanged
public void allRowsChanged()- Specified by:
allRowsChangedin classRowSorter<M>
-
rowsInserted
public void rowsInserted(int pFirstRow, int pEndRow) - Specified by:
rowsInsertedin classRowSorter<M>
-
rowsDeleted
public void rowsDeleted(int pFirstRow, int pEndRow) - Specified by:
rowsDeletedin classRowSorter<M>
-
rowsUpdated
public void rowsUpdated(int pFirstRow, int pEndRow) - Specified by:
rowsUpdatedin classRowSorter<M>
-
rowsUpdated
public void rowsUpdated(int pFirstRow, int pEndRow, int pColumn) - Specified by:
rowsUpdatedin classRowSorter<M>
-