Class TableHead

All Implemented Interfaces:
AttachNotifier, ClickNotifier<TableHead>, DetachNotifier, HasComponentsOfType<TableRow>, HasElement, HasEnabled, HasSize, HasStyle, TableRowContainer, Serializable

@NullMarked @Tag("thead") public class TableHead extends HtmlComponent implements TableRowContainer, ClickNotifier<TableHead>
Component representing a <thead> element ? the header rows of a table.

A <thead> may only contain rows, so this component exposes the TableRow operations rather than a generic add(Component).

Since:
25.3
See Also:
  • Constructor Details

    • TableHead

      public TableHead()
      Creates a new empty <thead>.
    • TableHead

      public TableHead(TableRow... rows)
      Creates a new <thead> with the given rows.
      Parameters:
      rows - the rows to add.
    • TableHead

      public TableHead(List<? extends TableRow> rows)
      List equivalent of TableHead(TableRow...).
      Parameters:
      rows - the rows to add.