Class MulticolRenderer.MulticolLayoutResult

java.lang.Object
com.itextpdf.layout.renderer.MulticolRenderer.MulticolLayoutResult
Enclosing class:
MulticolRenderer

public static class MulticolRenderer.MulticolLayoutResult extends Object
Represents result of one iteration of MulticolRenderer layouting It contains split renderers which were lauded on a given height and overflow renderer for which height should be increased, so it can be lauded.
  • Constructor Details

    • MulticolLayoutResult

      public MulticolLayoutResult()
  • Method Details

    • getSplitRenderers

      public List<IRenderer> getSplitRenderers()
      Gets the split renderers.
      Returns:
      the split renderers (always not null)
    • getOverflowRenderer

      public AbstractRenderer getOverflowRenderer()
      Gets the overflow renderer.
      Returns:
      the overflow renderer, can be null if there is no overflow
    • setOverflowRenderer

      public void setOverflowRenderer (AbstractRenderer overflowRenderer)
      Sets the overflow renderer.
      Parameters:
      overflowRenderer - the overflow renderer to be set
    • getCauseOfNothing

      public IRenderer getCauseOfNothing()
      Gets the cause of nothing renderer.
      Returns:
      the cause of nothing renderer, can be null if getSplitRenderers() is not empty
    • setCauseOfNothing

      public void setCauseOfNothing (IRenderer causeOfNothing)
      Sets the cause of nothing renderer.
      Parameters:
      causeOfNothing - cause of nothing renderer to be set