Class DiffStyleProvider

java.lang.Object
io.jmix.auditui.screen.snapshot.DiffStyleProvider
All Implemented Interfaces:
Table.StyleProvider<EntityPropertyDifferenceModel>

public class DiffStyleProvider extends Object implements Table.StyleProvider<EntityPropertyDifferenceModel>
  • Constructor Details

    • DiffStyleProvider

      public DiffStyleProvider()
  • Method Details

    • getStyleName

      @Nullable public String getStyleName(EntityPropertyDifferenceModel entity, String property)
      Description copied from interface: Table.StyleProvider
      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.
      Specified by:
      getStyleName in interface Table.StyleProvider<EntityPropertyDifferenceModel>
      Parameters:
      entity - an entity instance represented by the current row
      property - column identifier if getting a style for a cell, or null if getting the style for a row
      Returns:
      style name or null to apply the default