Class FGrid.FooterCell

java.lang.Object
com.vaadin.featurepack.ui.FGrid.FooterCell
All Implemented Interfaces:
Serializable
Enclosing class:
FGrid

public static class FGrid.FooterCell extends Object
Represents a footer cell in Grid.
See Also:
  • Field Details

    • flowFooterCell

      protected com.vaadin.flow.component.grid.FooterRow.FooterCell flowFooterCell
  • Constructor Details

  • Method Details

    • setText

      public void setText(String text)
      Sets the text displayed in this cell.
      Parameters:
      text - a plain text caption
    • setHtml

      public void setHtml(String html)
      Sets the HTML content displayed in this cell.
      Parameters:
      html - the html to set
    • getComponent

      public com.vaadin.flow.component.Component getComponent()
      Returns the component displayed in this cell.
      Returns:
      the component
    • setComponent

      public void setComponent(com.vaadin.flow.component.Component component)
      Sets the component displayed in this cell.
      Parameters:
      component - the component to set
    • setStyleName

      public void setStyleName(String styleName)
      Sets a custom style name for this cell.
      Parameters:
      styleName - the style name to set or null to not use any style name
    • getRow

      public FGrid.StaticSection.StaticRow<?> getRow()
      Gets the row where this cell is.
      Returns:
      row for this cell
    • getText

      public String getText()
      Returns the text displayed in this cell.
      Returns:
      the plain text caption
    • getHtml

      public String getHtml()
      Returns the HTML content displayed in this cell.
      Returns:
      the html
    • getCellType

      Returns the type of content stored in this cell.
      Returns:
      cell content type
    • getStyleName

      public String getStyleName()
      Returns the custom style name for this cell.
      Returns:
      the style name or null if no style name has been set