public static interface Table.StyleProvider<E extends Entity>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStyleName(E entity,
java.lang.String property)
Called by
Table to get a style for row or cell.All unhandled exceptions from StyleProvider in Web components by default are logged with ERROR level and not shown to users. |
java.lang.String getStyleName(E entity, @Nullable java.lang.String property)
Table
to get a style for row or cell.entity
- an entity instance represented by the current rowproperty
- column identifier if getting a style for a cell, or null if getting the style for a row