com.anthonyeden.lib.util
Class TableMatchFilter

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended bycom.anthonyeden.lib.util.TableMap
          extended bycom.anthonyeden.lib.util.TableFilter
              extended bycom.anthonyeden.lib.util.TableMatchFilter
All Implemented Interfaces:
java.util.EventListener, java.io.Serializable, javax.swing.table.TableModel, javax.swing.event.TableModelListener

public class TableMatchFilter
extends TableFilter

Implementation of the TableFilter class which filters rows out of a TableModel if the row data matches one of the specified values.

Author:
Anthony Eden
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.anthonyeden.lib.util.TableFilter
column, indexes, tempIndexes, values
 
Fields inherited from class com.anthonyeden.lib.util.TableMap
model
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
TableMatchFilter()
          Construct a TableMatchFilter with no TableModel.
TableMatchFilter(javax.swing.table.TableModel model)
          Construct a TableMatchFilter with the given TableModel.
 
Method Summary
 void filter()
          Filter the TableModel.
 
Methods inherited from class com.anthonyeden.lib.util.TableFilter
filter, filter, getColumn, getRowCount, getValueAt, getValues, setTableModel, setValueAt, tableChanged
 
Methods inherited from class com.anthonyeden.lib.util.TableMap
getColumnClass, getColumnCount, getColumnName, getModel, isCellEditable, setModel
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableMatchFilter

public TableMatchFilter()
Construct a TableMatchFilter with no TableModel.


TableMatchFilter

public TableMatchFilter(javax.swing.table.TableModel model)
Construct a TableMatchFilter with the given TableModel.

Parameters:
model - The TableModel
Method Detail

filter

public void filter()
Filter the TableModel.

Specified by:
filter in class TableFilter


Copyright (c) 2000-2003 Anthony Eden. All Rights Reserved.