JReport Design API

Besides editing a report with the design panel in JReport Designer, you can also edit a report with the Design API. By creating a Designer instance in your Java program, you can modify a report with the methods provided by the Design API. The Design API is for designing a report with your own application.

JReport Design API fully realizes designing a report programmatically. That is, with the Design APIs you can edit the layout of a report all in code. You can change the property values, or modify the report by inserting objects such as DBFields, formulas, text objects, and charts. You can also create and design a report with the Design API.

The following sections explain the Design API in detail:

Note: The Design API only supports Page Reports (.cls) and does not support Web Reports (.wls) and Library Components (.lc).