org.fest.swing.data
Class TableCell

java.lang.Object
  extended by org.fest.swing.data.TableCell

public class TableCell
extends Object

Understands a cell in a JTable.

Author:
Alex Ruiz

Nested Class Summary
static class TableCell.TableCellBuilder
          Understands creation of TableCells.
 
Field Summary
 int column
          The column of the cell.
 int row
          The row of the cell.
 
Constructor Summary
protected TableCell(int row, int column)
          Creates a new TableCell.
 
Method Summary
 boolean equals(Object obj)
          $
 int hashCode()
          $
static TableCell.TableCellBuilder row(int row)
          Starting point for the creation of a TableCell.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

row

public final int row
The row of the cell.


column

public final int column
The column of the cell.

Constructor Detail

TableCell

protected TableCell(int row,
                    int column)
Creates a new TableCell.

Parameters:
row - the row of the cell.
column - the column of the cell.
Method Detail

row

public static TableCell.TableCellBuilder row(int row)
Starting point for the creation of a TableCell.

Example:

 // import static org.fest.swing.data.TableCell.row;
 TableCell cell = row(5).column(3);
 

Parameters:
row - the row index of the table cell to create.
Returns:
the created builder.

equals

public boolean equals(Object obj)
$

Overrides:
equals in class Object

hashCode

public int hashCode()
$

Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.