com.lowagie.text.pdf

Class MultiColumnText.ColumnDef

private class MultiColumnText.ColumnDef extends Object

Inner class used to define a column
Field Summary
float[]left
float[]right
Constructor Summary
ColumnDef(float[] newLeft, float[] newRight)
ColumnDef(float leftPosition, float rightPosition)
Method Summary
booleanisSimple()
Checks if column definition is a simple rectangle
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.
float[]resolvePositions(float[] positions)

Field Detail

left

private float[] left

right

private float[] right

Constructor Detail

ColumnDef

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

ColumnDef

ColumnDef(float leftPosition, float rightPosition)

Method Detail

isSimple

private boolean isSimple()
Checks if column definition is a simple rectangle

Returns: true if it is a simple column

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)