Class MultiColumnText.ColumnDef

java.lang.Object
com.lowagie.text.pdf.MultiColumnText.ColumnDef
Enclosing class:
MultiColumnText

private class MultiColumnText.ColumnDef extends Object
Inner class used to define a column
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private float[]
     
    private float[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ColumnDef(float[] newLeft, float[] newRight)
     
    ColumnDef(float leftPosition, float rightPosition)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private boolean
    Checks if column definition is a simple rectangle
    private float[]
    resolvePositions(float[] positions)
     
    (package private) float[]
    resolvePositions(int side)
    Resolves the positions for the specified side of the column into real numbers once the top of the column is known.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • left

      private float[] left
  • Constructor Details

    • ColumnDef

      ColumnDef(float[] newLeft, float[] newRight)
    • ColumnDef

      ColumnDef(float leftPosition, float rightPosition)
  • Method Details

    • resolvePositions

      float[] resolvePositions(int side)
      Resolves the positions for the specified side of the column into real numbers once the top of the column is known.
      Parameters:
      side - either Rectangle.LEFT or Rectangle.RIGHT
      Returns:
      the array of floats for the side
    • resolvePositions

      private float[] resolvePositions(float[] positions)
    • isSimple

      private boolean isSimple()
      Checks if column definition is a simple rectangle
      Returns:
      true if it is a simple column