|
TableFilters |
Top Previous Next |
TableFilters are used by FilterTableModel to filter the data.
One of TableFilter's methods:
public boolean filter(ListTableModel tableModel, Object rowData);
public boolean filter(TableModel tableModel, int row);
, can be used to perform the filtering.
TableFilters internally use filters in order to filter the data. You specify the filter that will be used in the constructor:
public TableFilter(Filter filter);
public TableFilter(Filter filter, int column);
Furthermore, you can logically subtract, add, or negate TableFilters to create more complex ones, by using OrTableFilter, AndTableFilter or NotTableFilter respectively.