Class TableRenderer

  • All Implemented Interfaces:
    IBlockRenderer, IRenderer

    public class TableRenderer
    extends java.lang.Object
    implements IBlockRenderer
    Internal Use Only.

    Renderer to render a TableNode.

    Author:
    jamson
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.pdfbox.pdmodel.PDPageContentStream getCS()
      Returns the content stream of current page.
      float getLeftX()
      Returns the left x position of the block.
      float getRightX()
      Returns the right x position of the block.
      DocumentRenderer getRootRenderer()
      Returns the root renderer.
      float getWidth()
      Returns the width of the block.
      void render()
      Render the DocumentNode.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • render

        public void render()
                    throws java.io.IOException
        Description copied from interface: IRenderer
        Render the DocumentNode.
        Specified by:
        render in interface IRenderer
        Throws:
        java.io.IOException
      • getCS

        public org.apache.pdfbox.pdmodel.PDPageContentStream getCS()
        Description copied from interface: IRenderer
        Returns the content stream of current page.
        Specified by:
        getCS in interface IRenderer
        Returns:
        the content stream of current page
      • getLeftX

        public float getLeftX()
        Description copied from interface: IBlockRenderer
        Returns the left x position of the block.
        Specified by:
        getLeftX in interface IBlockRenderer
        Returns:
        the left x position of the block.
      • getRightX

        public float getRightX()
        Description copied from interface: IBlockRenderer
        Returns the right x position of the block.
        Specified by:
        getRightX in interface IBlockRenderer
        Returns:
        the right x position of the block.
      • getWidth

        public float getWidth()
        Description copied from interface: IBlockRenderer
        Returns the width of the block.
        Specified by:
        getWidth in interface IBlockRenderer
        Returns:
        the width of the block.