Package org.jfree.report.modules.output.table.base

Common base classes for the table style output targets.

See:
          Description

Interface Summary
LayoutCreator  
TableCreator The table creator is a streaming interface for the table producers.
 

Class Summary
AbstractTableCreator  
DefaultLayoutCreator  
GenericObjectTable A generic table storing objects in an fast array backend.
ProxyTableCreator Creation-Date: 04.09.2005, 19:52:02
RawContent  
SheetLayout The sheet layout is used to build the background map and to collect the x- and y-cell-borders.
SheetLayout.CellReference  
SheetLayoutCollection The tablelayout info class is used to store the layout that was generated in the repagination process.
TableBandArea A band representation.
TableBaseModule The module definition for the table export modules.
TableCellBackground Encapsulates all TableCellBackground informations, such as borders and background color.
TableContentCreator Collects the generated MetaElements and produces the layout.
TableMetaBandProducer  
TableProcessor The TableProcessor is the abstract base class for all table based output targets.
TableRectangle The TableRectangle contains GridCoordinates for the tables.
TableWriter The TableWriter is the content creation function used to collect the cell data.
TableWriterCursor A utility class for keeping track of the current output position on a table sheet.
 

Package org.jfree.report.modules.output.table.base Description

Common base classes for the table style output targets.

Limitations

The TableExports add several restrictions to the report layouts.

Report elements must not overlay each other. It is ok for bands, but the actual data must never overlap. Once a cell is occupied, it cannot be redefined to contain data from other elements. CellData cannot be combined.

Backgrounds can only be defined for the complete cell.

How does the table export work?

All table targets use a two step process to create the output. In the first step, the layout is computed and styles information is collected. The style information will later be reused to form cascading stylesheets or to fill the Excel style tables.

The public interface to perform a table export is contained in the class TableProcessor and their derived classes. Users will not have to worry about the internal details of the export process itself.

The usual report event sequence will trigger events on the TableWriter implementation. This implementation will perform the necessary global layout and generates the MetaElements, which represent an output target dependent layout result.

These MetaElements get forwared to an attached TableCreator, which either collects the table grid information or which uses previously collected grid data to finally build the output. The TableProcessor implementation is free to allow more than two process levels.

To define cell background, implementations must use the class TableCellBackground as base class.

How to implement table targets

TableTarget implementors have to provide at least a suitable MetaBandProducer and a tablecontent creator.