|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.dynamicreports.report.builder.column.ColumnBuilders
public class ColumnBuilders
A set of methods of creating report columns.
It is used to display data in a multi-column layout.
Constructor Summary | |
---|---|
ColumnBuilders()
|
Method Summary | ||
---|---|---|
BooleanColumnBuilder |
booleanColumn(DRIExpression<Boolean> expression)
Creates a new boolean column. |
|
BooleanColumnBuilder |
booleanColumn(FieldBuilder<Boolean> field)
Creates a new boolean column. |
|
BooleanColumnBuilder |
booleanColumn(String fieldName)
Creates a new boolean column. |
|
BooleanColumnBuilder |
booleanColumn(String title,
DRIExpression<Boolean> expression)
Creates a new boolean column. |
|
BooleanColumnBuilder |
booleanColumn(String title,
FieldBuilder<Boolean> field)
Creates a new boolean column. |
|
BooleanColumnBuilder |
booleanColumn(String title,
String fieldName)
Creates a new boolean column. |
|
|
column(DRIExpression<T> expression)
Creates a new expression column. |
|
|
column(FieldBuilder<T> field)
Creates a new column. |
|
|
column(String fieldName,
Class<T> valueClass)
Creates a new column. |
|
|
column(String fieldName,
DRIDataType<? super T,T> dataType)
Creates a new column. |
|
|
column(String title,
DRIExpression<T> expression)
Creates a new expression column. |
|
|
column(String title,
FieldBuilder<T> field)
Creates a new column. |
|
|
column(String title,
String fieldName,
Class<T> valueClass)
Creates a new column. |
|
|
column(String title,
String fieldName,
DRIDataType<? super T,T> dataType)
Creates a new column. |
|
TextColumnBuilder<Integer> |
columnRowNumberColumn()
Creates a new row number column. |
|
TextColumnBuilder<Integer> |
columnRowNumberColumn(String title)
Creates a new row number column. |
|
ComponentColumnBuilder |
componentColumn(ComponentBuilder<?,?> component)
Creates a new component column. |
|
ComponentColumnBuilder |
componentColumn(String title,
ComponentBuilder<?,?> component)
Creates a new component column. |
|
TextColumnBuilder<String> |
emptyColumn()
Creates a new empty column. |
|
TextColumnBuilder<String> |
emptyColumn(boolean showTitle,
boolean showDetailRows)
Creates a new empty column. |
|
TextColumnBuilder<Integer> |
pageRowNumberColumn()
Creates a new row number column. |
|
TextColumnBuilder<Integer> |
pageRowNumberColumn(String title)
Creates a new row number column. |
|
PercentageColumnBuilder |
percentageColumn(FieldBuilder<? extends Number> field)
Creates a new percentage column. |
|
PercentageColumnBuilder |
percentageColumn(String fieldName,
Class<? extends Number> valueClass)
Creates a new percentage column. |
|
PercentageColumnBuilder |
percentageColumn(String title,
FieldBuilder<? extends Number> field)
Creates a new percentage column. |
|
PercentageColumnBuilder |
percentageColumn(String title,
String fieldName,
Class<? extends Number> valueClass)
Creates a new percentage column. |
|
PercentageColumnBuilder |
percentageColumn(String title,
ValueColumnBuilder<?,? extends Number> column)
Creates a new percentage column. |
|
PercentageColumnBuilder |
percentageColumn(ValueColumnBuilder<?,? extends Number> column)
Creates a new percentage column. |
|
TextColumnBuilder<Integer> |
reportRowNumberColumn()
Creates a new row number column. |
|
TextColumnBuilder<Integer> |
reportRowNumberColumn(String title)
Creates a new row number column. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColumnBuilders()
Method Detail |
---|
public <T> TextColumnBuilder<T> column(String fieldName, Class<T> valueClass)
fieldName
- the name of the fieldvalueClass
- the field value class
public <T> TextColumnBuilder<T> column(String title, String fieldName, Class<T> valueClass)
title
- the column titlefieldName
- the name of the fieldvalueClass
- the field value class
public <T> TextColumnBuilder<T> column(String fieldName, DRIDataType<? super T,T> dataType)
fieldName
- the name of the fielddataType
- the field data type
public <T> TextColumnBuilder<T> column(String title, String fieldName, DRIDataType<? super T,T> dataType)
title
- the column titlefieldName
- the name of the fielddataType
- the field data type
public <T> TextColumnBuilder<T> column(FieldBuilder<T> field)
field
- the field definition
public <T> TextColumnBuilder<T> column(String title, FieldBuilder<T> field)
title
- the column titlefield
- the field definition
public <T> TextColumnBuilder<T> column(DRIExpression<T> expression)
expression
- the value expression
public <T> TextColumnBuilder<T> column(String title, DRIExpression<T> expression)
title
- the column titleexpression
- the value expression
public PercentageColumnBuilder percentageColumn(ValueColumnBuilder<?,? extends Number> column)
column
- the column definition
public PercentageColumnBuilder percentageColumn(String title, ValueColumnBuilder<?,? extends Number> column)
title
- the column titlecolumn
- the column definition
public PercentageColumnBuilder percentageColumn(String fieldName, Class<? extends Number> valueClass)
fieldName
- the name of the fieldvalueClass
- the field value class
public PercentageColumnBuilder percentageColumn(String title, String fieldName, Class<? extends Number> valueClass)
title
- the column titlefieldName
- the name of the fieldvalueClass
- the field value class
public PercentageColumnBuilder percentageColumn(FieldBuilder<? extends Number> field)
field
- the field definition
public PercentageColumnBuilder percentageColumn(String title, FieldBuilder<? extends Number> field)
title
- the column titlefield
- the field definition
public TextColumnBuilder<Integer> columnRowNumberColumn()
public TextColumnBuilder<Integer> columnRowNumberColumn(String title)
title
- the column title
public TextColumnBuilder<Integer> pageRowNumberColumn()
public TextColumnBuilder<Integer> pageRowNumberColumn(String title)
title
- the column title
public TextColumnBuilder<Integer> reportRowNumberColumn()
public TextColumnBuilder<Integer> reportRowNumberColumn(String title)
title
- the column title
public ComponentColumnBuilder componentColumn(ComponentBuilder<?,?> component)
component
- the component definition
public ComponentColumnBuilder componentColumn(String title, ComponentBuilder<?,?> component)
title
- the column titlecomponent
- the component definition
public BooleanColumnBuilder booleanColumn(String fieldName)
fieldName
- the name of the field
public BooleanColumnBuilder booleanColumn(String title, String fieldName)
title
- the column titlefieldName
- the name of the field
public BooleanColumnBuilder booleanColumn(FieldBuilder<Boolean> field)
field
- the field definition
public BooleanColumnBuilder booleanColumn(String title, FieldBuilder<Boolean> field)
title
- the column titlefield
- the field definition
public BooleanColumnBuilder booleanColumn(DRIExpression<Boolean> expression)
expression
- the boolean value expression
public BooleanColumnBuilder booleanColumn(String title, DRIExpression<Boolean> expression)
title
- the column titleexpression
- the boolean value expression
public TextColumnBuilder<String> emptyColumn()
public TextColumnBuilder<String> emptyColumn(boolean showTitle, boolean showDetailRows)
showTitle
- show column titleshowDetailRows
- show detail rows
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |