de.activegroup.scalajasper.core.components

Members list

Type members

Classlikes

sealed abstract class AbstractColumn(header: Option[TableCell], footer: Option[TableCell], groupHeaders: Seq[TableGroupCell], groupFooters: Seq[TableGroupCell], tableHeader: Option[TableCell], tableFooter: Option[TableCell], width: RestrictedLength, printWhenExpression: Option[Expression[Boolean]])

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Component

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class List
class Table
sealed case class List(contents: ListContent, data: Data) extends Component

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Component
class Object
trait Matchable
class Any
Show all
sealed case class ListContent(fields: Seq[Element], height: Int, width: Int)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed case class Table(columns: Seq[AbstractColumn], data: Data, whenNoData: WhenNoDataTypeTableEnum) extends Component

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Component
class Object
trait Matchable
class Any
Show all
sealed case class TableCell(content: Element, height: BandHeight, style: AbstractStyle, rowSpan: Option[Int])

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."

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...

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed case class TableColumn(width: RestrictedLength, detail: TableCell, header: Option[TableCell], footer: Option[TableCell], groupHeaders: Seq[TableGroupCell], groupFooters: Seq[TableGroupCell], tableHeader: Option[TableCell], tableFooter: Option[TableCell], printWhenExpression: Option[Expression[Boolean]]) extends AbstractColumn

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed case class TableGroupCell(groupName: String, cell: TableCell)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def externalComponent(component: Component, componentKey: ComponentKey): Component