Class FootnoteRenderer

All Implemented Interfaces:
IPropertyContainer, IRenderer

public class FootnoteRenderer extends BlockRenderer
Renderer for Footnote representing a footnote placed at the bottom of the page.
  • Constructor Details

    • FootnoteRenderer

      public FootnoteRenderer (Footnote modelElement)
      Creates a FootnoteRenderer from its corresponding layout object.
      Parameters:
      modelElement - the Footnote which this object should manage
  • Method Details

    • getNextRenderer

      public IRenderer getNextRenderer()
      Description copied from interface: IRenderer
      Gets a new instance of this class to be used as a next renderer, after this renderer is used, if IRenderer.layout(LayoutContext) is called more than once.
      Returns:
      new renderer instance
    • draw

      public void draw (DrawContext drawContext)
      Description copied from class: AbstractRenderer
      Flushes the renderer subtree contents, i.e. draws itself on canvas, adds necessary objects to the PdfDocument etc.
      Specified by:
      draw in interface IRenderer
      Overrides:
      draw in class BlockRenderer
      Parameters:
      drawContext - contains the PdfDocument to which the renderer subtree if flushed, the PdfCanvas on which the renderer subtree is drawn and other additional parameters needed to perform drawing