com.inamik.utils

Class AbstractTableFormatter

public abstract class AbstractTableFormatter extends Object implements TableFormatter

AbstractTableFormatter Created on Oct 26, 2005

Author: Dave

Nested Class Summary
protected classAbstractTableFormatter.CellData
Constructor Summary
protected AbstractTableFormatter()
Constructor
Method Summary
TableFormatteraddLine()
TableFormatteraddLine(String text)
intgetColumnCount()
intgetColumnWidth(int columnIndex)
String[]getFormattedCell(int rowIndex, int columnIndex)
intgetRowCount()
intgetRowHeight(int rowIndex)
intgetTableHeight()
intgetTableWidth()
TableFormatternextCell()
TableFormatternextCell(int align, int valign)
TableFormatternextRow()

Constructor Detail

AbstractTableFormatter

protected AbstractTableFormatter()
Constructor

Method Detail

addLine

public final TableFormatter addLine()

addLine

public final TableFormatter addLine(String text)

getColumnCount

public int getColumnCount()

getColumnWidth

public final int getColumnWidth(int columnIndex)

getFormattedCell

public final String[] getFormattedCell(int rowIndex, int columnIndex)

getRowCount

public final int getRowCount()

getRowHeight

public final int getRowHeight(int rowIndex)

getTableHeight

public int getTableHeight()

getTableWidth

public int getTableWidth()

nextCell

public final TableFormatter nextCell()

nextCell

public final TableFormatter nextCell(int align, int valign)

nextRow

public final TableFormatter nextRow()