org.shapelogic.reporting
Class BaseTableBuilder
java.lang.Object
org.shapelogic.reporting.BaseTableBuilder
- Direct Known Subclasses:
- IJTableBuilder
public class BaseTableBuilder
- extends java.lang.Object
BaseTableBuilder is the Builder design pattern.
For convenience the Director is combined with the Builder.
- Author:
- Sami Badawi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_outputList
protected java.util.List _outputList
_tableDefinition
protected TableDefinition _tableDefinition
BaseTableBuilder
public BaseTableBuilder(TableDefinition tableDefinition)
BaseTableBuilder
public BaseTableBuilder(TableDefinition tableDefinition,
boolean createOutputList)
buildHeadlineElement
public void buildHeadlineElement(int column)
buildHeadline
public void buildHeadline()
buildLineElement
public void buildLineElement(int column,
int line)
buildLine
public void buildLine(int line)
- Write out next lime.
buildTable
public void buildTable(int startLine,
int endLine)
- This should have been done by a director.
makeOutputList
public void makeOutputList()
- For testing purpose you can write the table out to an OutputList.
getOutputList
public java.util.List getOutputList()
getColumns
public int getColumns()
Copyright © 2009. All Rights Reserved.