Interface HasRowSpan
-
- All Superinterfaces:
com.vaadin.flow.component.HasElement,Serializable
- All Known Implementing Classes:
TableCell,TableDataCell,TableHeaderCell
public interface HasRowSpan extends com.vaadin.flow.component.HasElementA mixing interface for components, that have a "rowspan" attribute.- Author:
- Stefan Uebe
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTRIBUTE_ROWSPAN
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default intgetRowSpan()Returns the rowspan set for this instance.default voidresetRowSpan()Resets the rowspan to its default (1).default voidsetRowSpan(int rowSpan)Set a rowspan for this instance.
-
-
-
Field Detail
-
ATTRIBUTE_ROWSPAN
static final String ATTRIBUTE_ROWSPAN
- See Also:
- Constant Field Values
-
-
Method Detail
-
setRowSpan
default void setRowSpan(int rowSpan)
Set a rowspan for this instance. Must be a non negative integer (further checks are delegated to the browser).- Parameters:
rowSpan- row span
-
getRowSpan
default int getRowSpan()
Returns the rowspan set for this instance. Defaults to 1 if none has been set before.- Returns:
- rowspan
-
resetRowSpan
default void resetRowSpan()
Resets the rowspan to its default (1).
-
-