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