Class TableFoot

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.HtmlComponent
com.vaadin.flow.component.html.TableFoot
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.ClickNotifier<TableFoot>, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasComponentsOfType<TableRow>, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, TableRowContainer, Serializable

@NullMarked @Tag("tfoot") public class TableFoot extends com.vaadin.flow.component.HtmlComponent implements TableRowContainer, com.vaadin.flow.component.ClickNotifier<TableFoot>
Component representing a <tfoot> element — the footer rows of a table.

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

Since:
25.3
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new empty <tfoot>.
    Creates a new <tfoot> with the given rows.
    TableFoot(List<? extends TableRow> rows)
    List equivalent of TableFoot(TableRow...).
  • Method Summary

    Methods inherited from class com.vaadin.flow.component.HtmlComponent

    getTitle, setTitle

    Methods inherited from class com.vaadin.flow.component.Component

    addListener, bindVisible, findAncestor, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, getUIOrThrow, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setTestId, setVisible, whenAttached

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.ClickNotifier

    addClickListener, addClickShortcut, addDoubleClickListener, addSingleClickListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasComponentsOfType

    add, add, addComponentAsFirst, addComponentAtIndex, bindChildren, getChildren, getComponentAt, getComponentCount, indexOf, remove, remove, removeAll, replace

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasEnabled

    bindEnabled, isEnabled, setEnabled

    Methods inherited from interface com.vaadin.flow.component.HasSize

    bindHeight, bindWidth, getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName

    Methods inherited from interface com.vaadin.flow.component.html.TableRowContainer

    addRow, getRows, insertRow
  • Constructor Details

    • TableFoot

      public TableFoot()
      Creates a new empty <tfoot>.
    • TableFoot

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

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