Interface MulticolRenderer.ColumnHeightCalculator

All Known Implementing Classes:
MulticolRenderer.LayoutInInfiniteHeightCalculator
Enclosing class:
MulticolRenderer

public static interface MulticolRenderer.ColumnHeightCalculator
Interface which used for additional height calculation
  • Method Details

    • getAdditionalHeightOfEachColumn

      Float getAdditionalHeightOfEachColumn (MulticolRenderer renderer, MulticolRenderer.MulticolLayoutResult result)
      Calculate height, by which current height of given MulticolRenderer should be increased so MulticolLayoutResult#getOverflowRenderer could be lauded
      Parameters:
      renderer - multicol renderer for which height needs to be increased
      result - result of one iteration of MulticolRenderer layouting
      Returns:
      height by which current height of given multicol renderer should be increased
    • maxAmountOfRelayouts

      int maxAmountOfRelayouts()