Package com.vaadin.featurepack.ui
Class FGrid.StaticSection.StaticRow<CELLTYPE extends com.vaadin.featurepack.ui.FGrid.StaticSection.StaticCell>
java.lang.Object
com.vaadin.featurepack.ui.FGrid.StaticSection.StaticRow<CELLTYPE>
- Type Parameters:
CELLTYPE- the type of the cells in the row
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FGrid.FooterRow,FGrid.HeaderRow
- Enclosing class:
FGrid.StaticSection<ROWTYPE extends FGrid.StaticSection.StaticRow<?>>
public abstract static class FGrid.StaticSection.StaticRow<CELLTYPE extends com.vaadin.featurepack.ui.FGrid.StaticSection.StaticCell>
extends Object
implements Serializable
Abstract base class for Grid header and footer rows.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected abstract CELLTYPECreates and returns a new instance of the cell type.Returns the cell for the given property id on this row.protected abstract StringMerges columns cells in a row.Merges columns cells in a row.protected CELLTYPEprotected voidremoveCell(Object propertyId) voidsetStyleName(String styleName)
-
Field Details
-
section
-
-
Constructor Details
-
StaticRow
-
-
Method Details
-
addCell
-
removeCell
-
createCell
Creates and returns a new instance of the cell type.- Returns:
- the created cell
-
getCell
Returns the cell for the given property id on this row. If the column is merged returned cell is the cell for the whole group.- Parameters:
propertyId- the property id of the column- Returns:
- the cell for the given property, merged cell for merged properties, null if not found
-
join
Merges columns cells in a row.- Parameters:
propertyIds- The property ids of columns to merge- Returns:
- The remaining visible cell after the merge
-
join
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
-
join
-
getCellTagName
-
getStyleName
-
setStyleName
-