Class TableCell

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

public class TableCell extends Object
Understands a cell in a JTable.
  • Field Details

    • row

      public final int row
      The row of the cell.
    • column

      public final int column
      The column of the cell.
  • Constructor Details

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

    • 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