Class TableDataCell

All Implemented Interfaces:
AttachNotifier, ClickNotifier<TableDataCell>, DetachNotifier, HasComponents, HasComponentsOfType<Component>, HasElement, HasEnabled, HasSize, HasStyle, HasText, Serializable

@NullMarked @Tag("td") public class TableDataCell extends TableCell implements ClickNotifier<TableDataCell>
Component representing a <td> element ? a data cell in a TableRow.
Since:
25.3
See Also:
  • Constructor Details

    • TableDataCell

      public TableDataCell()
      Creates a new empty data cell.
    • TableDataCell

      public TableDataCell(Component... components)
      Creates a new data cell with the given children.
      Parameters:
      components - the children components.
    • TableDataCell

      public TableDataCell(List<? extends Component> components)
      List equivalent of TableDataCell(Component...).
      Parameters:
      components - the children components.
    • TableDataCell

      public TableDataCell(String text)
      Creates a new data cell with the given text.
      Parameters:
      text - the text.
    • TableDataCell

      public TableDataCell(Signal<String> textSignal)
      Creates a new data cell with its text content bound to the given signal.
      Parameters:
      textSignal - the signal to bind, not null
      See Also: