public static class MulticolRenderer.LayoutInInfiniteHeightCalculator extends Object implements MulticolRenderer.ColumnHeightCalculator
| Modifier and Type | Field and Description |
|---|---|
protected int |
maxRelayoutCount |
| Constructor and Description |
|---|
LayoutInInfiniteHeightCalculator() |
| Modifier and Type | Method and Description |
|---|---|
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 |
int |
maxAmountOfRelayouts() |
public Float getAdditionalHeightOfEachColumn(MulticolRenderer renderer, MulticolRenderer.MulticolLayoutResult result)
MulticolRenderer.ColumnHeightCalculatorMulticolRenderer should be increased so
MulticolLayoutResult#getOverflowRenderer could be laudedgetAdditionalHeightOfEachColumn in interface MulticolRenderer.ColumnHeightCalculatorrenderer - multicol renderer for which height needs to be increasedresult - result of one iteration of MulticolRenderer layoutingpublic int maxAmountOfRelayouts()
maxAmountOfRelayouts in interface MulticolRenderer.ColumnHeightCalculatorCopyright © 1998–2024 Apryse Group NV. All rights reserved.