com.lowagie.text.pdf

Class MultiColumnText.ColumnDef

Enclosing Class:
MultiColumnText

private class MultiColumnText.ColumnDef
extends java.lang.Object

Inner class used to define a column

Field Summary

private float[]
left
private float[]
right

Constructor Summary

ColumnDef(float leftPosition, float rightPosition)
ColumnDef(float[] newLeft, float[] newRight)

Method Summary

private boolean
isSimple()
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.

Field Details

left

private float[] left

right

private float[] right

Constructor Details

ColumnDef

(package private)  ColumnDef(float leftPosition,
                             float rightPosition)

ColumnDef

(package private)  ColumnDef(float[] newLeft,
                             float[] newRight)

Method Details

isSimple

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

resolvePositions

private float[] resolvePositions(float[] positions)

resolvePositions

(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.
Parameters:
side - either Rectangle.LEFT or Rectangle.RIGHT
Returns:
the array of floats for the side