com.vaadin.ui.components.grid
Class GridHeader.HeaderRow
java.lang.Object
com.vaadin.ui.components.grid.GridHeader.HeaderRow
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- GridHeader
public class GridHeader.HeaderRow
- extends java.lang.Object
- See Also:
- Serialized Form
|
Field Summary |
protected com.vaadin.ui.components.grid.GridStaticSection<?> |
section
|
|
Constructor Summary |
protected |
GridHeader.HeaderRow(com.vaadin.ui.components.grid.GridStaticSection<?> section)
|
|
Method Summary |
protected void |
addCell(java.lang.Object propertyId)
|
protected GridHeader.HeaderCell |
createCell()
Creates and returns a new instance of the cell type. |
CELLTYPE |
getCell(java.lang.Object propertyId)
Returns the cell for the given property id on this row. |
protected com.vaadin.shared.ui.grid.GridStaticSectionState.RowState |
getRowState()
|
CELLTYPE |
join(CELLTYPE... cells)
Merges columns cells in a row |
protected CELLTYPE |
join(java.util.List<CELLTYPE> cells)
|
CELLTYPE |
join(java.lang.Object... properties)
Merges columns cells in a row |
protected void |
removeCell(java.lang.Object propertyId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
section
protected com.vaadin.ui.components.grid.GridStaticSection<?> section
GridHeader.HeaderRow
protected GridHeader.HeaderRow(com.vaadin.ui.components.grid.GridStaticSection<?> section)
createCell
protected GridHeader.HeaderCell createCell()
- Creates and returns a new instance of the cell type.
- Returns:
- the created cell
addCell
protected void addCell(java.lang.Object propertyId)
removeCell
protected void removeCell(java.lang.Object propertyId)
getRowState
protected com.vaadin.shared.ui.grid.GridStaticSectionState.RowState getRowState()
getCell
public CELLTYPE getCell(java.lang.Object propertyId)
- Returns the cell for the given property id on this row.
- Parameters:
propertyId - the property id of the column
- Returns:
- the cell for the given property or null if not found
join
public CELLTYPE join(java.lang.Object... properties)
- Merges columns cells in a row
- Parameters:
properties - The column properties which header should be merged
- Returns:
- The remaining visible cell after the merge
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
join
protected CELLTYPE join(java.util.List<CELLTYPE> cells)
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.