com.inamik.utils

Interface TableFormatter

public interface TableFormatter

TableFormatter Created on Oct 18, 2005

Author: Dave

Field Summary
static intALIGN_CENTER
static intALIGN_DEFAULT
static intALIGN_LEFT
static intALIGN_RIGHT
static intVALIGN_BOTTOM
static intVALIGN_CENTER
static intVALIGN_DEFAULT
static intVALIGN_TOP
Method Summary
TableFormatteraddLine()
TableFormatteraddLine(String text)
intgetColumnCount()
intgetColumnWidth(int columnIndex)
String[]getFormattedCell(int rowIndex, int columnIndex)
String[]getFormattedRow(int rowIndex)
String[]getFormattedTable()
intgetRowCount()
intgetRowHeight(int rowIndex)
intgetTableHeight()
intgetTableWidth()
TableFormatternextCell()
TableFormatternextCell(int align, int valign)
TableFormatternextRow()

Field Detail

ALIGN_CENTER

public static final int ALIGN_CENTER

ALIGN_DEFAULT

public static final int ALIGN_DEFAULT

ALIGN_LEFT

public static final int ALIGN_LEFT

ALIGN_RIGHT

public static final int ALIGN_RIGHT

VALIGN_BOTTOM

public static final int VALIGN_BOTTOM

VALIGN_CENTER

public static final int VALIGN_CENTER

VALIGN_DEFAULT

public static final int VALIGN_DEFAULT

VALIGN_TOP

public static final int VALIGN_TOP

Method Detail

addLine

public TableFormatter addLine()

addLine

public TableFormatter addLine(String text)

getColumnCount

public int getColumnCount()

getColumnWidth

public int getColumnWidth(int columnIndex)

getFormattedCell

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

getFormattedRow

public String[] getFormattedRow(int rowIndex)

getFormattedTable

public String[] getFormattedTable()

getRowCount

public int getRowCount()

getRowHeight

public int getRowHeight(int rowIndex)

getTableHeight

public int getTableHeight()

getTableWidth

public int getTableWidth()

nextCell

public TableFormatter nextCell()

nextCell

public TableFormatter nextCell(int align, int valign)

nextRow

public TableFormatter nextRow()