org.norther.tammi.sprig.jfree
Interface JFreeReports

All Superinterfaces:
Configurable, ReportEngine
All Known Implementing Classes:
DefaultJFreeReports

public interface JFreeReports
extends ReportEngine, Configurable

A JFreeReports specific extension to ReportEngine.

Author:
Ilkka Priha

Method Summary
 ReportLayout process(JFreeReport report, Map params, TableModel data)
          Processes the specified report.
 Set registeredFontNameSet()
          Returns a set of registered font names.
 void registerFontFile(String filename, String encoding)
          Registers a new font.
 void registerFontPath(String pathname, String encoding)
          Registers new fonts.
 
Methods inherited from interface org.norther.tammi.sprig.report.ReportEngine
createExporter, fill, getExporterClassName, getReportKey, parse, parse, parse, parse, parse, parse, process, process, process, process, process, process, removeExporterClassName, setExporterClassName, setReportKey
 
Methods inherited from interface org.norther.tammi.core.config.Configurable
addProperty, addProperty, clearProperties, containsProperty, getConfigKey, getProperties, getProperty, getPropertyFilePath, indexOfProperty, propertyMap, propertyMap, removeProperty, removeProperty, setConfigKey, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, storeProperties
 

Method Detail

process

ReportLayout process(JFreeReport report,
                     Map params,
                     TableModel data)
                     throws LogException
Processes the specified report.

Parameters:
report - the report.
params - the parameters.
data - the data model.
Returns:
the filled layout.
Throws:
LogException - on errors.

registerFontFile

void registerFontFile(String filename,
                      String encoding)
Registers a new font.

Parameters:
filename - the name of the font file.
encoding - the encoding to apply.

registerFontPath

void registerFontPath(String pathname,
                      String encoding)
Registers new fonts.

Parameters:
pathname - the directory that contains the font files.
encoding - the encoding to apply.

registeredFontNameSet

Set registeredFontNameSet()
Returns a set of registered font names.

Returns:
a set of font names and families.


Copyright © 2004 The Norther Organization. All rights reserved.