Class AbstractTable.InstalledStyleProvider

java.lang.Object
io.jmix.ui.component.impl.AbstractTable.InstalledStyleProvider
All Implemented Interfaces:
Table.StyleProvider
Enclosing class:
AbstractTable<T extends com.vaadin.v7.ui.Table & JmixEnhancedTable,E>

protected static class AbstractTable.InstalledStyleProvider extends Object implements Table.StyleProvider
  • Constructor Details

    • InstalledStyleProvider

      public InstalledStyleProvider(FrameOwner frameOwner, Method method)
  • Method Details

    • getStyleName

      public String getStyleName(Object entity, @Nullable 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
      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
    • toString

      public String toString()
      Overrides:
      toString in class Object