Package com.vaadin.v7.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetStyle(CellReference<T> cellReference)Called by Grid to generate a style name for a column element.
-
-
-
Method Detail
-
getStyle
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
nullto not set any style
-
-