Interface TableCellFinder

All Known Implementing Classes:
TableCellByColumnId, TableCellInRowByValue, TableCellInSelectedRow

public interface TableCellFinder
Understands finding a cell in a JTable.
  • Method Summary

    Modifier and Type
    Method
    Description
    findCell(JTable table, JTableCellReader cellReader)
    Finds a cell in the given JTable based on some search criteria specified by this finder.
  • Method Details

    • 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.