infovis.panel
Class FilteredColumnListModel
java.lang.Object
javax.swing.AbstractListModel
infovis.panel.ColumnListModel
infovis.panel.FilteredColumnListModel
- All Implemented Interfaces:
- Serializable, EventListener, ComboBoxModel, TableModelListener, ListModel
public class FilteredColumnListModel
- extends ColumnListModel
- implements TableModelListener
Filtered ListModel for Columns.
- Version:
- $Revision: 1.17 $
- Author:
- Jean-Daniel Fekete
- See Also:
- Serialized Form
FilteredColumnListModel
public FilteredColumnListModel(Table table,
ColumnFilter filter)
- Constructor for FilteredColumnListModel.
- Parameters:
table
- the table.filter
- the ColumnFilter.
FilteredColumnListModel
public FilteredColumnListModel(Table table)
getFilterTable
public FilteredTable getFilterTable()
filteredTable
public static FilteredTable filteredTable(Table table,
ColumnFilter filter)
getFilter
public ColumnFilter getFilter()
- Returns the filter
- Returns:
- the filter
setFilter
public void setFilter(ColumnFilter filter)
- Sets the filter
- Parameters:
filter
- The filter
getComparator
public Comparator getComparator()
setComparator
public void setComparator(Comparator comp)
tableChanged
public void tableChanged(TableModelEvent e)
- Specified by:
tableChanged
in interface TableModelListener
- Overrides:
tableChanged
in class ColumnListModel
- See Also:
TableModelListener.tableChanged(TableModelEvent)
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.