com.vaadin.client.widget.grid
Interface CellStyleGenerator<T>

Type Parameters:
T - the row type of the target grid

public interface CellStyleGenerator<T>

Callback interface for generating custom style names for cells

Since:
7.4
Author:
Vaadin Ltd
See Also:
Grid.setCellStyleGenerator(CellStyleGenerator)

Method Summary
 java.lang.String getStyle(CellReference<T> cellReference)
          Called by Grid to generate a style name for a column element.
 

Method Detail

getStyle

java.lang.String getStyle(CellReference<T> cellReference)
Called by Grid to generate a style name for a column element.

Parameters:
cellReference - The cell to generate a style for
Returns:
the style name to add to this cell, or null to not set any style


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