public class FlexReporterBuilder
extends java.lang.Object
FlexReporterBuilder.FlexReporter
s which are special Reporters whose content
(i.e. the cells that may displayed in multiple rows) is defined
dynamically.Modifier and Type | Class and Description |
---|---|
class |
FlexReporterBuilder.Cell
Represents a cell that will be drawn in a report
|
class |
FlexReporterBuilder.FlexReporter
A flexible reporter that allows multiple rows with individual formatted
cells.
|
class |
FlexReporterBuilder.HeadingCell
A cell that should be visually displayed as a heading cell in the report.
|
class |
FlexReporterBuilder.Row
Represents a row that will be drawn in the report.
|
Constructor and Description |
---|
FlexReporterBuilder(java.lang.String groupHeading,
int groupId)
Constructs a new FlexReporterBuilder with the given group heading and
group id.
|
Modifier and Type | Method and Description |
---|---|
FlexReporterBuilder.FlexReporter |
build()
Builds a FlexReporter from all the rows and cells that have been added to
this builder
|
FlexReporterBuilder |
closeRow()
Closes the row currently under construction
|
FlexReporterBuilder.Row |
openRow()
Opens a new row for constructrion
|
public FlexReporterBuilder(java.lang.String groupHeading, int groupId)
groupHeading
- The group heading that will be used when the FlexReporter is
built with this buildergroupId
- The group id that will be used when the FlexReporter is built
with this builderpublic FlexReporterBuilder.FlexReporter build()
public FlexReporterBuilder closeRow()
public FlexReporterBuilder.Row openRow()