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