Class MyTableRowSorter


  • public class MyTableRowSorter
    extends javax.swing.table.TableRowSorter<javax.swing.table.TableModel>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.DefaultRowSorter

        javax.swing.DefaultRowSorter.ModelWrapper<M extends java.lang.Object,​I extends java.lang.Object>
      • Nested classes/interfaces inherited from class javax.swing.RowSorter

        javax.swing.RowSorter.SortKey
    • Constructor Summary

      Constructors 
      Constructor Description
      MyTableRowSorter​(javax.swing.table.TableModel tm)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Comparator<?> getComparator​(int column)  
      • Methods inherited from class javax.swing.table.TableRowSorter

        getStringConverter, setModel, setStringConverter, useToString
      • Methods inherited from class javax.swing.DefaultRowSorter

        allRowsChanged, convertRowIndexToModel, convertRowIndexToView, getMaxSortKeys, getModel, getModelRowCount, getModelWrapper, getRowFilter, getSortKeys, getSortsOnUpdates, getViewRowCount, isSortable, modelStructureChanged, rowsDeleted, rowsInserted, rowsUpdated, rowsUpdated, setComparator, setMaxSortKeys, setModelWrapper, setRowFilter, setSortable, setSortKeys, setSortsOnUpdates, sort, toggleSortOrder
      • 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
    • Constructor Detail

      • MyTableRowSorter

        public MyTableRowSorter​(javax.swing.table.TableModel tm)
    • Method Detail

      • getComparator

        public java.util.Comparator<?> getComparator​(int column)
        Overrides:
        getComparator in class javax.swing.table.TableRowSorter<javax.swing.table.TableModel>