org.beanfabrics.swing.table
Class BnTableRowSorter
java.lang.Object
javax.swing.RowSorter<BnTableModel>
org.beanfabrics.swing.table.BnTableRowSorter
public class BnTableRowSorter
- extends javax.swing.RowSorter<BnTableModel>
Nested classes/interfaces inherited from class javax.swing.RowSorter |
javax.swing.RowSorter.SortKey |
Methods inherited from class javax.swing.RowSorter |
addRowSorterListener, fireRowSorterChanged, fireSortOrderChanged, removeRowSorterListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BnTableRowSorter
public BnTableRowSorter(BnTableModel model)
install
public static BnTableRowSorter install(BnTable table)
uninstall
public static void uninstall(BnTable table)
dismiss
public void dismiss()
convertRowIndexToModel
public int convertRowIndexToModel(int index)
- Specified by:
convertRowIndexToModel
in class javax.swing.RowSorter<BnTableModel>
convertRowIndexToView
public int convertRowIndexToView(int index)
- Specified by:
convertRowIndexToView
in class javax.swing.RowSorter<BnTableModel>
getModel
public BnTableModel getModel()
- Specified by:
getModel
in class javax.swing.RowSorter<BnTableModel>
getModelRowCount
public int getModelRowCount()
- Specified by:
getModelRowCount
in class javax.swing.RowSorter<BnTableModel>
getSortKeys
public java.util.List<? extends javax.swing.RowSorter.SortKey> getSortKeys()
- Specified by:
getSortKeys
in class javax.swing.RowSorter<BnTableModel>
getViewRowCount
public int getViewRowCount()
- Specified by:
getViewRowCount
in class javax.swing.RowSorter<BnTableModel>
setSortKeys
public void setSortKeys(java.util.List<? extends javax.swing.RowSorter.SortKey> keys)
- Specified by:
setSortKeys
in class javax.swing.RowSorter<BnTableModel>
toggleSortOrder
public void toggleSortOrder(int column)
- Specified by:
toggleSortOrder
in class javax.swing.RowSorter<BnTableModel>
modelStructureChanged
public void modelStructureChanged()
- Specified by:
modelStructureChanged
in class javax.swing.RowSorter<BnTableModel>
rowsDeleted
public void rowsDeleted(int firstRow,
int endRow)
- Specified by:
rowsDeleted
in class javax.swing.RowSorter<BnTableModel>
rowsInserted
public void rowsInserted(int firstRow,
int endRow)
- Specified by:
rowsInserted
in class javax.swing.RowSorter<BnTableModel>
rowsUpdated
public void rowsUpdated(int firstRow,
int endRow)
- Specified by:
rowsUpdated
in class javax.swing.RowSorter<BnTableModel>
rowsUpdated
public void rowsUpdated(int firstRow,
int endRow,
int column)
- Specified by:
rowsUpdated
in class javax.swing.RowSorter<BnTableModel>
allRowsChanged
public void allRowsChanged()
- Specified by:
allRowsChanged
in class javax.swing.RowSorter<BnTableModel>