Package com.vaadin.flow.component.html
Class NativeTableFooter
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.HtmlComponent
com.vaadin.flow.component.HtmlContainer
com.vaadin.flow.component.html.NativeTableFooter
- All Implemented Interfaces:
AttachNotifier,ClickNotifier<NativeTableFooter>,DetachNotifier,HasComponents,HasComponentsOfType<Component>,HasElement,HasEnabled,HasOrderedComponents,HasSize,HasStyle,HasText,Serializable
@Deprecated(since="25.3",
forRemoval=true)
@Tag("tfoot")
public class NativeTableFooter
extends HtmlContainer
implements ClickNotifier<NativeTableFooter>
Deprecated, for removal: This API element is subject to removal in a future version.
Component representing a
<tfoot> element.- Since:
- 24.5
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasText
HasText.WhiteSpace -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Creates a new empty table footer.NativeTableFooter(Component... components) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new table footer with the given children components. -
Method Summary
Modifier and TypeMethodDescriptiondefault NativeTableRowaddRow()Deprecated, for removal: This API element is subject to removal in a future version.Create and append a row to the end of the container.default voidaddRows(NativeTableRow... rows) Deprecated, for removal: This API element is subject to removal in a future version.Appends a list of rows to the container.default Optional<NativeTableRow> getRow(int index) Deprecated, for removal: This API element is subject to removal in a future version.Returns the row at the given index.default longDeprecated, for removal: This API element is subject to removal in a future version.Returns the number of rows in the container.default intDeprecated, for removal: This API element is subject to removal in a future version.Get the index of a given row.default List<NativeTableRow> getRows()Deprecated, for removal: This API element is subject to removal in a future version.Returns a list of all the rows.default NativeTableRowinsertRow(int position) Deprecated, for removal: This API element is subject to removal in a future version.Create and insert a row at a given position.default voidDeprecated, for removal: This API element is subject to removal in a future version.Remove all the rows in the container.default voidremoveRow(int index) Deprecated, for removal: This API element is subject to removal in a future version.Remove the row at the given index.default voidremoveRows(NativeTableRow... rows) Deprecated, for removal: This API element is subject to removal in a future version.Remove a list of rows from the container.default voidreplaceRow(int index, NativeTableRow row) Deprecated, for removal: This API element is subject to removal in a future version.Replaces the row at a given position with a new one.Methods inherited from class com.vaadin.flow.component.HtmlComponent
getTitle, setTitleMethods inherited from class com.vaadin.flow.component.Component
addListener, bindVisible, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setTestId, setVisible, whenAttachedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.ClickNotifier
addClickListener, addClickShortcut, addDoubleClickListener, addSingleClickListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasComponents
addMethods inherited from interface com.vaadin.flow.component.HasComponentsOfType
add, add, addComponentAsFirst, addComponentAtIndex, bindChildren, getChildren, getComponentAt, getComponentCount, indexOf, remove, remove, removeAll, replaceMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
bindEnabled, isEnabled, setEnabledMethods 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, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.HasText
bindText, getText, getWhiteSpace, setText, setWhiteSpace
-
Constructor Details
-
NativeTableFooter
public NativeTableFooter()Deprecated, for removal: This API element is subject to removal in a future version.Creates a new empty table footer. -
NativeTableFooter
Deprecated, for removal: This API element is subject to removal in a future version.Creates a new table footer with the given children components.- Parameters:
components- the children components.
-
-
Method Details
-
getRowIndex
Deprecated, for removal: This API element is subject to removal in a future version.Get the index of a given row.- Parameters:
row- the row to get the index of.- Returns:
- the index of the row.
-
getRows
Deprecated, for removal: This API element is subject to removal in a future version.Returns a list of all the rows.- Returns:
- all the rows in the container.
-
getRow
Deprecated, for removal: This API element is subject to removal in a future version.Returns the row at the given index.- Parameters:
index- the index of the row. Must be greater than 0 and less than the size of the container.- Returns:
- the row at position
index.
-
addRows
Deprecated, for removal: This API element is subject to removal in a future version.Appends a list of rows to the container.- Parameters:
rows- the rows to append.
-
addRow
Deprecated, for removal: This API element is subject to removal in a future version.Create and append a row to the end of the container.- Returns:
- the new row.
-
insertRow
Deprecated, for removal: This API element is subject to removal in a future version.Create and insert a row at a given position.- Parameters:
position- a value greater than 0 and less than the container's size.- Returns:
- the new row.
-
removeRows
Deprecated, for removal: This API element is subject to removal in a future version.Remove a list of rows from the container.- Parameters:
rows- the rows to remove. If a component in the list is not a child of the container, it will throw an exception.
-
removeRow
default void removeRow(int index) Deprecated, for removal: This API element is subject to removal in a future version.Remove the row at the given index.- Parameters:
index- the position of the row to remove.
-
removeAllRows
default void removeAllRows()Deprecated, for removal: This API element is subject to removal in a future version.Remove all the rows in the container. -
replaceRow
Deprecated, for removal: This API element is subject to removal in a future version.Replaces the row at a given position with a new one. If both rows exist within the container, they swap positions.- Parameters:
index- the index of the row to replace.row- the new row to insert at the position of the old row.
-
getRowCount
default long getRowCount()Deprecated, for removal: This API element is subject to removal in a future version.Returns the number of rows in the container.- Returns:
- the row count.
-
TableFootinstead, which cannot be given children the HTML specification does not allow inside this element.