Copyright © 2005 Scientific Applications. All Rights Reserved.

com.sciapp.table.search
Class TableSelector

java.lang.Object
  extended by com.sciapp.table.search.TableSelector
All Implemented Interfaces:
SearchModelListener, EventListener

public class TableSelector
extends Object
implements SearchModelListener

A simple SearchModelListener implementation for selecting the matching cells of a table when searching.


Field Summary
protected  JTable table
          the associated table
 
Constructor Summary
TableSelector(JTable table)
          Constructs a TableSelector.
 
Method Summary
 void search(SearchModelEvent e)
          Called whenever searching of a table has been requested.
 void setTable(JTable table)
          Assigns the table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

protected JTable table
the associated table

Constructor Detail

TableSelector

public TableSelector(JTable table)
Constructs a TableSelector.

Method Detail

search

public void search(SearchModelEvent e)
Called whenever searching of a table has been requested.

Specified by:
search in interface SearchModelListener
Parameters:
e - the SearchModelEvent object

setTable

public void setTable(JTable table)
Assigns the table.

Parameters:
table - the table to assign

Copyright © 2005 Scientific Applications. All Rights Reserved.