com.holonplatform.vaadin.components

## Interface ItemListing.CellStyleGenerator<T,P>

- Type Parameters:
    `T` - Item type
    `P` - Item property type
  All Superinterfaces:
    Serializable
  Enclosing interface:
    ItemListing<T,P>
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public static interface ItemListing.CellStyleGenerator<T,P>
      extends Serializable

  Generator to provide the style names for a cell.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getCellStyle(P property, T item)` Get the style names for the cell bound to given `property` column and `item` row.

- - ### Method Detail

    - #### getCellStyle

          String getCellStyle(P property,
                              T item)

      Get the style names for the cell bound to given `property` column and `item` row.
      Parameters:
        `property` - Cell property (column)
        `item` - Item bound to the row for which to generate the cell style
      Returns:
        Cell style names, `null` for none

Copyright © 2017 The Holon Platform. All rights reserved.