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 TypeMethodDescriptionvoid
int
convertRowIndexToModel
(int pIndex) int
convertRowIndexToView
(int pIndex) getModel()
int
List<? extends RowSorter.SortKey>
int
void
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) 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:
toggleSortOrder
in classRowSorter<M>
-
convertRowIndexToModel
public int convertRowIndexToModel(int pIndex) - Specified by:
convertRowIndexToModel
in classRowSorter<M>
-
convertRowIndexToView
public int convertRowIndexToView(int pIndex) - Specified by:
convertRowIndexToView
in classRowSorter<M>
-
setSortKeys
- Specified by:
setSortKeys
in classRowSorter<M>
-
getSortKeys
- Specified by:
getSortKeys
in classRowSorter<M>
-
getViewRowCount
public int getViewRowCount()- Specified by:
getViewRowCount
in classRowSorter<M>
-
getModelRowCount
public int getModelRowCount()- Specified by:
getModelRowCount
in classRowSorter<M>
-
modelStructureChanged
public void modelStructureChanged()- Specified by:
modelStructureChanged
in classRowSorter<M>
-
allRowsChanged
public void allRowsChanged()- Specified by:
allRowsChanged
in classRowSorter<M>
-
rowsInserted
public void rowsInserted(int pFirstRow, int pEndRow) - Specified by:
rowsInserted
in classRowSorter<M>
-
rowsDeleted
public void rowsDeleted(int pFirstRow, int pEndRow) - Specified by:
rowsDeleted
in classRowSorter<M>
-
rowsUpdated
public void rowsUpdated(int pFirstRow, int pEndRow) - Specified by:
rowsUpdated
in classRowSorter<M>
-
rowsUpdated
public void rowsUpdated(int pFirstRow, int pEndRow, int pColumn) - Specified by:
rowsUpdated
in classRowSorter<M>
-