package components
- Alphabetic
- By Inheritance
- components
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed abstract class AbstractColumn extends AnyRef
- trait Component extends AnyRef
- sealed case class List(contents: ListContent, data: Data) extends Component with Product with Serializable
- sealed case class ListContent(fields: Seq[Element], height: Int, width: Int) extends Product with Serializable
- sealed case class Table(columns: Seq[AbstractColumn], data: Data, whenNoData: WhenNoDataTypeTableEnum) extends Component with Product with Serializable
- sealed case class TableCell(content: Element, height: BandHeight = BandHeight.Auto, style: AbstractStyle = Style.inherit, rowSpan: Option[Int] = None) extends Product with Serializable
From the "Ultimate guide": "In order to obtain truly dynamic table structures, users had to create report templates at runtime using the JasperReports API.
From the "Ultimate guide": "In order to obtain truly dynamic table structures, users had to create report templates at runtime using the JasperReports API. Basically, the whole report template had to be created programmatically, or at least partially modified programatically, in order to remove or reorder columns in these table-like structures. Using the JasperReports API at runtime, while it is a powerful and flexible approach to report template design, remains an unnecessary overhead and complication for the majority of users. Thanks to the introduction of component support in JasperReports, it is now easier to extend the reporting engine and introduce the true tables inside report templates."
So basically, Table and other components solve a problem that we don't have...
- sealed case class TableColumn(width: RestrictedLength, detail: TableCell, header: Option[TableCell] = None, footer: Option[TableCell] = None, groupHeaders: Seq[TableGroupCell] = Vector.empty, groupFooters: Seq[TableGroupCell] = Vector.empty, tableHeader: Option[TableCell] = None, tableFooter: Option[TableCell] = None, printWhenExpression: Option[Expression[Boolean]] = None) extends AbstractColumn with Product with Serializable
- sealed case class TableColumnGroup(header: Option[TableCell], footer: Option[TableCell], groupHeaders: Seq[TableGroupCell], groupFooters: Seq[TableGroupCell], tableHeader: Option[TableCell], tableFooter: Option[TableCell], width: RestrictedLength, printWhenExpression: Option[Expression[Boolean]], columns: Seq[AbstractColumn]) extends AbstractColumn with Product with Serializable
- sealed case class TableGroupCell(groupName: String, cell: TableCell) extends Product with Serializable