You're viewing an older version of Framework JavaDoc. Please see version 7.7.46 for the latest.
com.vaadin.client.widgets.

Class Grid.StaticSection.StaticRow<CELLTYPE extends Grid.StaticSection.StaticCell>

  • java.lang.Object
    • com.vaadin.client.widgets.Grid.StaticSection.StaticRow<CELLTYPE>
    • Constructor Detail

      • StaticRow

        public StaticRow()
    • Method Detail

      • getCell

        public CELLTYPE getCell​(Grid.Column<?,​?> column)

        Returns the cell on given GridColumn. If the column is merged returned cell is the cell for the whole group.

        Parameters:

        column - the column in grid

        Returns:

        the cell on given column, merged cell for merged columns, null if not found

      • hasSpannedCells

        public boolean hasSpannedCells()

        Returns true if this row contains spanned cells.

        Returns:

        does this row contain spanned cells

        Since:

        7.5.0

      • join

        public CELLTYPE join​(Grid.Column<?,​?>... columns)

        Merges columns cells in a row

        Parameters:

        columns - the columns which header should be merged

        Returns:

        the remaining visible cell after the merge, or the cell on first column if all are hidden

      • join

        public CELLTYPE join​(CELLTYPE... cells)

        Merges columns cells in a row

        Parameters:

        cells - The cells to merge. Must be from the same row.

        Returns:

        The remaining visible cell after the merge, or the first cell if all columns are hidden

      • addCell

        protected void addCell​(Grid.Column<?,​?> column)
      • removeCell

        protected void removeCell​(Grid.Column<?,​?> column)
      • createCell

        protected abstract CELLTYPE createCell()
      • getStyleName

        public String getStyleName()

        Returns the custom style name for this row.

        Returns:

        the style name or null if no style name has been set

      • setStyleName

        public void setStyleName​(String styleName)

        Sets a custom style name for this row.

        Parameters:

        styleName - the style name to set or null to not use any style name