|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fest.swing.data.TableCellInSelectedRow
public class TableCellInSelectedRow
Understands lookup of a cell in the first selected row of a
.
JTable
Example:
// import static org.fest.swing.data.TableCellInSelectedRow.row;cell = dialog.table("records").cell(
TableCell
selectedRow
().column(2));
Nested Class Summary | |
---|---|
static class |
TableCellInSelectedRow.TableCellBuilder
Understands creation of s. |
Constructor Summary | |
---|---|
protected |
TableCellInSelectedRow(int column)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected TableCellInSelectedRow(int column)
Method Detail |
---|
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 TableCellFinder
table
- 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.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |