Package org.fest.swing.data
Interface TableCellFinder
- All Known Implementing Classes:
TableCellByColumnId,TableCellInRowByValue,TableCellInSelectedRow
public interface TableCellFinder
Understands finding a cell in a
JTable.-
Method Summary
Modifier and TypeMethodDescriptionfindCell(JTable table, JTableCellReader cellReader) Finds a cell in the givenbased on some search criteria specified by this finder.JTable
-
Method Details
-
findCell
Finds a cell in the givenbased on some search criteria specified by this finder. Implementations of this method should access the givenJTableJTablein the event dispatch thread.- Parameters:
table- the targetJTable.cellReader- knows how to read the contents of a cell in aJTable.- Returns:
- the cell found, if any.
- Throws:
ActionFailedException- if a matching cell could not be found.
-