Package com.vaadin.ui.components.grid
Class Footer.Row
- java.lang.Object
-
- com.vaadin.ui.components.grid.StaticSection.StaticRow<Footer.Row.Cell>
-
- com.vaadin.ui.components.grid.Footer.Row
-
- All Implemented Interfaces:
FooterRow,Serializable
- Enclosing class:
- Footer
public class Footer.Row extends StaticSection.StaticRow<Footer.Row.Cell> implements FooterRow
A row in a Grid Footer.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classFooter.Row.CellA cell in a Grid footer row.
-
Constructor Summary
Constructors Modifier Constructor Description protectedRow()Creates a new footer row.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Footer.Row.CellcreateCell()Creates and returns a new instance of the cell type.protected StringgetCellTagName()Returns the declarative tag name used for the cells in this row.FooterCelljoin(FooterCell... cellsToMerge)Merges column cells in the row.FooterCelljoin(Grid.Column<?,?>... columnsToMerge)Merges cells corresponding to the given columns in the row.FooterCelljoin(String... columnIdsToMerge)Merges cells corresponding to the given column ids in the row.FooterCelljoin(Set<FooterCell> cellsToMerge)Merges column cells in the row.-
Methods inherited from class com.vaadin.ui.components.grid.StaticSection.StaticRow
addCell, addCell, getCell, getCell, getComponents, getRowState, getStyleName, internalAddCell, internalGetCell, readDesign, removeCell, setStyleName, writeCellState, writeDesign
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.ui.components.grid.FooterRow
getCell, getCell, getComponents, getStyleName, setStyleName
-
-
-
-
Method Detail
-
createCell
protected Footer.Row.Cell createCell()
Description copied from class:StaticSection.StaticRowCreates and returns a new instance of the cell type.- Specified by:
createCellin classStaticSection.StaticRow<Footer.Row.Cell>- Returns:
- the created cell
-
getCellTagName
protected String getCellTagName()
Description copied from class:StaticSection.StaticRowReturns the declarative tag name used for the cells in this row.- Specified by:
getCellTagNamein classStaticSection.StaticRow<Footer.Row.Cell>- Returns:
- the cell tag name
-
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:
joinin interfaceFooterRow- 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:
joinin interfaceFooterRow- 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:FooterRowMerges 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:
joinin interfaceFooterRow- 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:FooterRowMerges 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:
joinin interfaceFooterRow- 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)
-
-