Interface IPLTableCellFilter

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 IPLTableCellFilter
Special consumer for table cells.
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(PLTableCell aCell, int nCellIndex, int nEffectiveCellStartIndex, int nEffectiveCellEndIndex)
    Check if the passed cell properties are valid for handling.
  • Method Details

    • test

      boolean test(@Nonnull PLTableCell aCell, @Nonnegative int nCellIndex, @Nonnegative int nEffectiveCellStartIndex, @Nonnegative int nEffectiveCellEndIndex)
      Check if the passed cell properties are valid for handling.
      Parameters:
      aCell - the current table cell. Never null.
      nCellIndex - The cell index. Always ≥ 0.
      nEffectiveCellStartIndex - The effective start cell index including colspan. Always ≥ 0.
      nEffectiveCellEndIndex - The effective cell end index including colspan (= effective cell start index + colspan). Always ≥ 0.
      Returns:
      true if the cell should be handled, false if not.