com.vaadin.ui.components.grid.

Class Footer.Row

    • Constructor Detail

      • Row

        protected Row()

        Creates a new footer row.

    • Method Detail

      • join

        public FooterCell join​(Set<FooterCell> cellsToMerge)

        Merges column cells in the row. Original cells are hidden, and new merged cell is shown instead. The cell has a width of all merged cells together, inherits styles of the first merged cell but has empty caption.

        Specified by:

        join in interface FooterRow

        Parameters:

        cellsToMerge - the cells which should be merged. The cells should not be merged to any other cell set.

        Returns:

        the remaining visible cell after the merge

        See Also:

        join(FooterCell...), setCaption

      • join

        public FooterCell join​(FooterCell... cellsToMerge)

        Merges column cells in the row. Original cells are hidden, and new merged cell is shown instead. The cell has a width of all merged cells together, inherits styles of the first merged cell but has empty caption.

        Specified by:

        join in interface FooterRow

        Parameters:

        cellsToMerge - the cells which should be merged. The cells should not be merged to any other cell set.

        Returns:

        the remaining visible cell after the merge

        See Also:

        join(Set), setCaption

      • join

        public FooterCell join​(Grid.Column<?,​?>... columnsToMerge)

        Description copied from interface: FooterRow

        Merges cells corresponding to the given columns in the row. Original cells are hidden, and new merged cell is shown instead. The cell has a width of all merged cells together, inherits styles of the first merged cell but has empty caption.

        Specified by:

        join in interface FooterRow

        Parameters:

        columnsToMerge - the columns of the cells that should be merged. The cells should not be merged to any other cell set.

        Returns:

        the remaining visible cell after the merge

        See Also:

        FooterRow.join(Set), setCaption

      • join

        public FooterCell join​(String... columnIdsToMerge)

        Description copied from interface: FooterRow

        Merges cells corresponding to the given column ids in the row. Original cells are hidden, and new merged cell is shown instead. The cell has a width of all merged cells together, inherits styles of the first merged cell but has empty caption.

        Specified by:

        join in interface FooterRow

        Parameters:

        columnIdsToMerge - the ids of the columns of the cells that should be merged. The cells should not be merged to any other cell set.

        Returns:

        the remaining visible cell after the merge

        See Also:

        FooterRow.join(Set), setCaption, Grid.Column.setId(String)