Package com.vaadin.flow.component.html
Class TableDataCell
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.HtmlComponent
com.vaadin.flow.component.HtmlContainer
com.vaadin.flow.component.html.TableCell
com.vaadin.flow.component.html.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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasText
HasText.WhiteSpace -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new empty data cell.TableDataCell(Component... components) Creates a new data cell with the given children.TableDataCell(Signal<String> textSignal) Creates a new data cell with its text content bound to the given signal.TableDataCell(String text) Creates a new data cell with the given text.TableDataCell(List<? extends Component> components) List equivalent ofTableDataCell(Component...). -
Method Summary
Methods inherited from class com.vaadin.flow.component.html.TableCell
getColspan, getHeaderIds, getRowspan, hasColspan, hasRowspan, resetColspan, resetHeaders, resetRowspan, setColspan, setHeaderIds, setHeaderIds, setHeaders, setHeaders, setRowspanMethods 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
-
TableDataCell
public TableDataCell()Creates a new empty data cell. -
TableDataCell
Creates a new data cell with the given children.- Parameters:
components- the children components.
-
TableDataCell
List equivalent ofTableDataCell(Component...).- Parameters:
components- the children components.
-
TableDataCell
Creates a new data cell with the given text.- Parameters:
text- the text.
-
TableDataCell
Creates a new data cell with its text content bound to the given signal.- Parameters:
textSignal- the signal to bind, notnull- See Also:
-