public class DiffStyleProvider extends java.lang.Object implements Table.StyleProvider<EntityPropertyDiff>
Constructor and Description |
---|
DiffStyleProvider() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStyleName(EntityPropertyDiff 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. |
public java.lang.String getStyleName(EntityPropertyDiff entity, java.lang.String property)
Table.StyleProvider
Table
to get a style for row or cell.getStyleName
in interface Table.StyleProvider<EntityPropertyDiff>
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