-
Book Overview & Buying
-
Table Of Contents
Pentaho Reporting 3.5 for Java Developers
By :
The Pentaho Reporting Engine data API is a simple API that describes how Pentaho Reporting accesses data to populate reports. In this section, you'll learn about the core interfaces of the API. All the individual implementations discussed later in this chapter implement this API.
There are two main Java interfaces related to the Pentaho Reporting Engine Data API. The first interface you'll learn about is org.pentaho.reporting.engine.classic.core.DataFactory. The primary purpose of the DataFactory interface is to generate an object that implements the javax.swing.table.TableModel interface. The TableModel interface is a very simple API for accessing two-dimensional cell data. These two simple APIs are combined to manage all data input into Pentaho Reporting.
The DataFactory interface defines seven methods, discussed in this section. The first method is queryData:
TableModel queryData(final String query, final DataRow parameters) ...
Change the font size
Change margin width
Change background colour