org.fest.swing.data
Interface TableCellFinder
- All Known Implementing Classes:
- TableCellByColumnId, TableCellInRowByValue, TableCellInSelectedRow
public interface TableCellFinder
Understands finding a cell in a JTable
.
- Author:
- Alex Ruiz
findCell
@RunsInEDT
TableCell findCell(JTable table,
JTableCellReader cellReader)
- Finds a cell in the given
JTable
based on some search criteria specified by this finder.
Implementations of this method should access the given JTable
in the event dispatch
thread.
- Parameters:
table
- the target JTable
.cellReader
- knows how to read the contents of a cell in a JTable
.
- Returns:
- the cell found, if any.
- Throws:
ActionFailedException
- if a matching cell could not be found.
Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.