Interface Table

All Superinterfaces:
ContentNode, StructuralNode
All Known Implementing Classes:
TableImpl

public interface Table extends StructuralNode
  • Method Details

    • hasHeaderOption

      boolean hasHeaderOption()
    • getColumns

      List<Column> getColumns()
    • getHeader

      List<Row> getHeader()
    • getFooter

      List<Row> getFooter()
    • getBody

      List<Row> getBody()
    • getFrame

      String getFrame()
      Returns the frame attribute of the table that defines what frame to render around the table. By default, the frame attribute is assigned the all value, which draws a border on each side of the table. If you set the frame attribute, you can override the default value with topbot, sides or none.
      Returns:
      the frame attribute
    • setFrame

      void setFrame(String frame)
      Sets the frame attribute.
      Parameters:
      frame - all, topbot, sides or none
      See Also:
    • getGrid

      String getGrid()
      Returns the grid attribute that defines what boundary lines to draw between rows and columns. By default the grid attribute is assigned the all value, which draws lines around each cell. Alternative values are cols to draw lines between columns, rows to draw boundary lines between rows and none to draw no boundary lines
      Returns:
      the value of the grid attribute, usually either all, cols, rows or none
    • setGrid

      void setGrid(String grid)
      Sets the value of the attribute.
      Parameters:
      grid - usually either all, cols, rows or none
      See Also: