Class TableCell


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

      • header

        private boolean header
      • width

        private int width
    • Constructor Detail

      • TableCell

        public TableCell()
    • Method Detail

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