Package com.vaadin.ui
Interface Grid.CellStyleGenerator
-
- All Superinterfaces:
Serializable
- Enclosing class:
- Grid
public static interface Grid.CellStyleGenerator extends Serializable
A callback interface for generating custom style names for Grid cells.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getStyle(Grid.CellReference cell)
Called by Grid to generate a style name for a column.
-
-
-
Method Detail
-
getStyle
String getStyle(Grid.CellReference cell)
Called by Grid to generate a style name for a column.- Parameters:
cell
- the cell to generate a style for- Returns:
- the style name to add to this cell, or
null
to not set any style
-
-