Package com.vaadin.v7.ui
Class Grid.StaticSection.StaticRow<CELLTYPE extends com.vaadin.v7.ui.Grid.StaticSection.StaticCell>
- java.lang.Object
-
- com.vaadin.v7.ui.Grid.StaticSection.StaticRow<CELLTYPE>
-
- Type Parameters:
CELLTYPE- the type of the cells in the row
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Grid.FooterRow,Grid.HeaderRow
- Enclosing class:
- Grid.StaticSection<ROWTYPE extends Grid.StaticSection.StaticRow<?>>
@Deprecated public abstract static class Grid.StaticSection.StaticRow<CELLTYPE extends com.vaadin.v7.ui.Grid.StaticSection.StaticCell> extends Object implements Serializable
Deprecated.Abstract base class for Grid header and footer rows.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Grid.StaticSection<?>sectionDeprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protectedStaticRow(Grid.StaticSection<?> section)Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidaddCell(Object propertyId)Deprecated.protected abstract CELLTYPEcreateCell()Deprecated.Creates and returns a new instance of the cell type.CELLTYPEgetCell(Object propertyId)Deprecated.Returns the cell for the given property id on this row.protected abstract StringgetCellTagName()Deprecated.protected GridStaticSectionState.RowStategetRowState()Deprecated.StringgetStyleName()Deprecated.Returns the custom style name for this row.CELLTYPEjoin(CELLTYPE... cells)Deprecated.Merges columns cells in a row.CELLTYPEjoin(Object... propertyIds)Deprecated.Merges columns cells in a row.protected CELLTYPEjoin(Set<CELLTYPE> cells)Deprecated.protected voidreadDesign(org.jsoup.nodes.Element trElement, DesignContext designContext)Deprecated.Reads the declarative design from the given table row element.protected voidremoveCell(Object propertyId)Deprecated.voidsetStyleName(String styleName)Deprecated.Sets a custom style name for this row.protected voidwriteDesign(org.jsoup.nodes.Element trElement, DesignContext designContext)Deprecated.Writes the declarative design to the given table row element.
-
-
-
Field Detail
-
section
protected Grid.StaticSection<?> section
Deprecated.
-
-
Constructor Detail
-
StaticRow
protected StaticRow(Grid.StaticSection<?> section)
Deprecated.
-
-
Method Detail
-
addCell
protected void addCell(Object propertyId)
Deprecated.
-
removeCell
protected void removeCell(Object propertyId)
Deprecated.
-
createCell
protected abstract CELLTYPE createCell()
Deprecated.Creates and returns a new instance of the cell type.- Returns:
- the created cell
-
getRowState
protected GridStaticSectionState.RowState getRowState()
Deprecated.
-
getCell
public CELLTYPE getCell(Object propertyId)
Deprecated.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
public CELLTYPE join(Object... propertyIds)
Deprecated.Merges columns cells in a row.- Parameters:
propertyIds- The property ids of columns to merge- Returns:
- The remaining visible cell after the merge
-
join
public CELLTYPE join(CELLTYPE... cells)
Deprecated.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
-
getStyleName
public String getStyleName()
Deprecated.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)
Deprecated.Sets a custom style name for this row.- Parameters:
styleName- the style name to set or null to not use any style name
-
writeDesign
protected void writeDesign(org.jsoup.nodes.Element trElement, DesignContext designContext)Deprecated.Writes the declarative design to the given table row element.- Parameters:
trElement- Element to write design todesignContext- the design context- Since:
- 7.5.0
-
readDesign
protected void readDesign(org.jsoup.nodes.Element trElement, DesignContext designContext) throws DesignExceptionDeprecated.Reads the declarative design from the given table row element.- Parameters:
trElement- Element to read design fromdesignContext- the design context- Throws:
DesignException- if the given table row contains unexpected children- Since:
- 7.5.0
-
getCellTagName
protected abstract String getCellTagName()
Deprecated.
-
-