Class TableCell


  • public class TableCell
    extends org.commonmark.node.CustomNode
    Table cell of a TableRow containing inline nodes.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  TableCell.Alignment
      How the cell is aligned horizontally.
    • Constructor Summary

      Constructors 
      Constructor Description
      TableCell()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TableCell.Alignment getAlignment()  
      int getWidth()  
      boolean isHeader()  
      void setAlignment​(TableCell.Alignment alignment)  
      void setHeader​(boolean header)  
      void setWidth​(int width)  
      • Methods inherited from class org.commonmark.node.CustomNode

        accept
      • Methods inherited from class org.commonmark.node.Node

        addSourceSpan, appendChild, getFirstChild, getLastChild, getNext, getParent, getPrevious, getSourceSpans, insertAfter, insertBefore, prependChild, setParent, setSourceSpans, toString, toStringAttributes, unlink
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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)
      • getWidth

        public int getWidth()
        Returns:
        the cell alignment
      • setWidth

        public void setWidth​(int width)