com.vaadin.client.ui.grid
Class GridHeader.HeaderRow

java.lang.Object
  extended by com.vaadin.client.ui.grid.GridHeader.HeaderRow
Enclosing class:
GridHeader

public class GridHeader.HeaderRow
extends java.lang.Object

A single row in a grid header section.


Constructor Summary
GridHeader.HeaderRow()
           
 
Method Summary
protected  void addCell(GridColumn<?,?> column)
           
protected  GridHeader.HeaderCell createCell()
           
 CELLTYPE getCell(GridColumn<?,?> column)
          Returns the cell on given GridColumn.
protected  com.vaadin.client.ui.grid.GridStaticSection<?> getSection()
           
 boolean isDefault()
           
 CELLTYPE join(CELLTYPE... cells)
          Merges columns cells in a row
 CELLTYPE join(GridColumn<?,?>... columns)
          Merges columns cells in a row
protected  void removeCell(GridColumn<?,?> column)
           
protected  void setDefault(boolean isDefault)
           
protected  void setSection(com.vaadin.client.ui.grid.GridStaticSection<?> section)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridHeader.HeaderRow

public GridHeader.HeaderRow()
Method Detail

setDefault

protected void setDefault(boolean isDefault)

isDefault

public boolean isDefault()

createCell

protected GridHeader.HeaderCell createCell()

getCell

public CELLTYPE getCell(GridColumn<?,?> column)
Returns the cell on given GridColumn.

Parameters:
column - the column in grid
Returns:
the cell on given column, null if not found

join

public CELLTYPE join(GridColumn<?,?>... columns)
Merges columns cells in a row

Parameters:
columns - the columns which header should be merged
Returns:
the remaining visible cell after the merge, or the cell on first column if all are hidden

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, or the first cell if all columns are hidden

addCell

protected void addCell(GridColumn<?,?> column)

removeCell

protected void removeCell(GridColumn<?,?> column)

getSection

protected com.vaadin.client.ui.grid.GridStaticSection<?> getSection()

setSection

protected void setSection(com.vaadin.client.ui.grid.GridStaticSection<?> section)


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.