Class FilteringTableModel<E>

java.lang.Object
javax.swing.table.AbstractTableModel
slash.navigation.gui.models.FilteringTableModel<E>
All Implemented Interfaces:
Serializable, TableModel
Direct Known Subclasses:
FilteringPositionsModel

public class FilteringTableModel<E> extends AbstractTableModel
Acts as a TableModel that filters FilteringTableModels
Author:
Christian Pesch
See Also:
  • Constructor Details

  • Method Details

    • mapRow

      protected int mapRow(int rowIndex)
    • mapRows

      public int[] mapRows(int[] rowIndices)
    • getDelegate

      protected TableModel getDelegate()
    • setFilterPredicate

      public void setFilterPredicate(FilterPredicate<E> predicate)
    • getRowCount

      public int getRowCount()
    • getColumnCount

      public int getColumnCount()
    • getValueAt

      public Object getValueAt(int rowIndex, int columnIndex)
    • isCellEditable

      public boolean isCellEditable(int rowIndex, int columnIndex)
      Specified by:
      isCellEditable in interface TableModel
      Overrides:
      isCellEditable in class AbstractTableModel
    • setValueAt

      public void setValueAt(Object aValue, int rowIndex, int columnIndex)
      Specified by:
      setValueAt in interface TableModel
      Overrides:
      setValueAt in class AbstractTableModel