org.jdesktop.swingx.search
Class TableSearchable

java.lang.Object
  extended by org.jdesktop.swingx.search.AbstractSearchable
      extended by org.jdesktop.swingx.search.TableSearchable
All Implemented Interfaces:
Searchable

public class TableSearchable
extends AbstractSearchable

An Searchable implementation for use in JXTable.

Author:
Jeanette Winzenburg

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdesktop.swingx.search.AbstractSearchable
AbstractSearchable.SearchResult
 
Field Summary
 
Fields inherited from class org.jdesktop.swingx.search.AbstractSearchable
MATCH_HIGHLIGHTER
 
Constructor Summary
TableSearchable(JXTable table)
          Instantiates a TableSearchable with the given table as target.
 
Method Summary
 JXTable getTarget()
          It's the responsibility of subclasses to covariant override.
 
Methods inherited from class org.jdesktop.swingx.search.AbstractSearchable
search, search, search, search, search, search, setMatchHighlighter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableSearchable

public TableSearchable(JXTable table)
Instantiates a TableSearchable with the given table as target.

Parameters:
table - the JXTable to search.
Method Detail

getTarget

public JXTable getTarget()
It's the responsibility of subclasses to covariant override.

Specified by:
getTarget in class AbstractSearchable
Returns:
the target component