public class TableCellInSelectedRow extends Object implements TableCellFinder
JTable.
Example:
// import static org.fest.swing.data.TableCellInSelectedRow.row;cell = dialog.table("records").cell(TableCellselectedRow().column(2));
| Modifier and Type | Class and Description |
|---|---|
static class |
TableCellInSelectedRow.TableCellBuilder
Understands creation of
s. |
| Modifier | Constructor and Description |
|---|---|
protected |
TableCellInSelectedRow(int column) |
| Modifier and Type | Method and Description |
|---|---|
TableCell |
findCell(JTable table,
JTableCellReader cellReader)
Finds a cell in the given
that belongs to the first selected row and has a matching
column index. |
static TableCellInSelectedRow.TableCellBuilder |
selectedRow()
Starting point for the creation of a
. |
String |
toString() |
public static TableCellInSelectedRow.TableCellBuilder selectedRow()
TableCellInSelectedRow.
Example:
// import static org.fest.swing.data.TableCellInSelectedRow.row; TableCellInSelectedRow cell = selectedRow().column(2);
public TableCell findCell(JTable table, JTableCellReader cellReader)
JTable that belongs to the first selected row and has a matching
column index.findCell in interface TableCellFindertable - the target JTable.cellReader - knows how to read the contents of a cell in a JTable.ActionFailedException - if a matching cell could not be found.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.