Class TableCell


public class TableCell extends CustomNode
Table cell of a TableRow containing inline nodes.
  • Field Details

    • alignment

      private TableCell.Alignment alignment
    • width

      private int width
  • Constructor Details

    • TableCell

      public TableCell()
  • Method Details

    • isHeader

      public boolean isHeader()
      Returns:
      whether the cell is a header or not
    • setHeader

      public void setHeader(boolean header)
    • getAlignment

      public TableCell.Alignment getAlignment()
      Returns:
      the cell alignment or null if no specific alignment
    • setAlignment

      public void setAlignment(TableCell.Alignment alignment)
    • getWidth

      public int getWidth()
      Returns:
      the cell width (the number of dash and colon characters in the delimiter row of the table for this column)
    • setWidth

      public void setWidth(int width)