Interface CustomXlsStyleGenerator<ID extends Serializable,​T extends AbstractEntity<ID>>

  • Type Parameters:
    ID - the type of the primary key
    T - the type of the entity
    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 interface CustomXlsStyleGenerator<ID extends Serializable,​T extends AbstractEntity<ID>>
    Interface for a custom Excel style generator
    Author:
    bas.rutten
    • Method Detail

      • getCustomCellStyle

        org.apache.poi.ss.usermodel.CellStyle getCustomCellStyle​(org.apache.poi.ss.usermodel.Workbook workbook,
                                                                 T entity,
                                                                 Object value,
                                                                 AttributeModel am,
                                                                 Object pivotColumnKey)
        Returns the cell style for a certain cell
        Parameters:
        workbook - the workbook
        entity - the entity that is displayed in the row
        value - the cell value
        Returns: