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.HasElement
A mixing interface for components, that have a "rowspan" attribute.
Author:
Stefan Uebe
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    default int
    Returns the rowspan set for this instance.
    default void
    Resets the rowspan to its default (1).
    default void
    setRowSpan(int rowSpan)
    Set a rowspan for this instance.

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

    getElement
  • Field Details Link icon

  • Method Details Link icon

    • setRowSpan Link icon

      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 Link icon

      default int getRowSpan()
      Returns the rowspan set for this instance. Defaults to 1 if none has been set before.
      Returns:
      rowspan
    • resetRowSpan Link icon

      default void resetRowSpan()
      Resets the rowspan to its default (1).