|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.dynamicreports.report.builder.column.Columns
public class Columns
A set of methods of creating report columns.
It is used to display data in a multi-column layout.
| Constructor Summary | |
|---|---|
Columns()
|
|
| Method Summary | ||
|---|---|---|
static BooleanColumnBuilder |
booleanColumn(DRIExpression<Boolean> expression)
Creates a new boolean column. |
|
static BooleanColumnBuilder |
booleanColumn(FieldBuilder<Boolean> field)
Creates a new boolean column. |
|
static BooleanColumnBuilder |
booleanColumn(String fieldName)
Creates a new boolean column. |
|
static BooleanColumnBuilder |
booleanColumn(String title,
DRIExpression<Boolean> expression)
Creates a new boolean column. |
|
static BooleanColumnBuilder |
booleanColumn(String title,
FieldBuilder<Boolean> field)
Creates a new boolean column. |
|
static BooleanColumnBuilder |
booleanColumn(String title,
String fieldName)
Creates a new boolean column. |
|
static
|
column(DRIExpression<T> expression)
Creates a new expression column. |
|
static
|
column(FieldBuilder<T> field)
Creates a new column. |
|
static
|
column(String fieldName,
Class<T> valueClass)
Creates a new column. |
|
static
|
column(String fieldName,
DRIDataType<? super T,T> dataType)
Creates a new column. |
|
static
|
column(String title,
DRIExpression<T> expression)
Creates a new expression column. |
|
static
|
column(String title,
FieldBuilder<T> field)
Creates a new column. |
|
static
|
column(String title,
String fieldName,
Class<T> valueClass)
Creates a new column. |
|
static
|
column(String title,
String fieldName,
DRIDataType<? super T,T> dataType)
Creates a new column. |
|
static TextColumnBuilder<Integer> |
columnRowNumberColumn()
Creates a new row number column. |
|
static TextColumnBuilder<Integer> |
columnRowNumberColumn(String title)
Creates a new row number column. |
|
static ComponentColumnBuilder |
componentColumn(ComponentBuilder<?,?> component)
Creates a new component column. |
|
static ComponentColumnBuilder |
componentColumn(String title,
ComponentBuilder<?,?> component)
Creates a new component column. |
|
static TextColumnBuilder<Integer> |
pageRowNumberColumn()
Creates a new row number column. |
|
static TextColumnBuilder<Integer> |
pageRowNumberColumn(String title)
Creates a new row number column. |
|
static PercentageColumnBuilder |
percentageColumn(FieldBuilder<? extends Number> field)
Creates a new percentage column. |
|
static PercentageColumnBuilder |
percentageColumn(String fieldName,
Class<? extends Number> valueClass)
Creates a new percentage column. |
|
static PercentageColumnBuilder |
percentageColumn(String title,
FieldBuilder<? extends Number> field)
Creates a new percentage column. |
|
static PercentageColumnBuilder |
percentageColumn(String title,
String fieldName,
Class<? extends Number> valueClass)
Creates a new percentage column. |
|
static PercentageColumnBuilder |
percentageColumn(String title,
ValueColumnBuilder<?,? extends Number> column)
Creates a new percentage column. |
|
static PercentageColumnBuilder |
percentageColumn(ValueColumnBuilder<?,? extends Number> column)
Creates a new percentage column. |
|
static TextColumnBuilder<Integer> |
reportRowNumberColumn()
Creates a new row number column. |
|
static 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 Columns()
| Method Detail |
|---|
public static <T> TextColumnBuilder<T> column(String fieldName,
Class<T> valueClass)
fieldName - the name of the fieldvalueClass - the field value class
public static <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 static <T> TextColumnBuilder<T> column(String fieldName,
DRIDataType<? super T,T> dataType)
fieldName - the name of the fielddataType - the field data type
public static <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 static <T> TextColumnBuilder<T> column(FieldBuilder<T> field)
field - the field definition
public static <T> TextColumnBuilder<T> column(String title,
FieldBuilder<T> field)
title - the column titlefield - the field definition
public static <T> TextColumnBuilder<T> column(DRIExpression<T> expression)
expression - the value expression
public static <T> TextColumnBuilder<T> column(String title,
DRIExpression<T> expression)
title - the column titleexpression - the value expression
public static PercentageColumnBuilder percentageColumn(ValueColumnBuilder<?,? extends Number> column)
column - the column definition
public static PercentageColumnBuilder percentageColumn(String title,
ValueColumnBuilder<?,? extends Number> column)
title - the column titlecolumn - the column definition
public static PercentageColumnBuilder percentageColumn(String fieldName,
Class<? extends Number> valueClass)
fieldName - the name of the fieldvalueClass - the field value class
public static PercentageColumnBuilder percentageColumn(String title,
String fieldName,
Class<? extends Number> valueClass)
title - the column titlefieldName - the name of the fieldvalueClass - the field value class
public static PercentageColumnBuilder percentageColumn(FieldBuilder<? extends Number> field)
field - the field definition
public static PercentageColumnBuilder percentageColumn(String title,
FieldBuilder<? extends Number> field)
title - the column titlefield - the field definition
public static TextColumnBuilder<Integer> columnRowNumberColumn()
public static TextColumnBuilder<Integer> columnRowNumberColumn(String title)
title - the column title
public static TextColumnBuilder<Integer> pageRowNumberColumn()
public static TextColumnBuilder<Integer> pageRowNumberColumn(String title)
title - the column title
public static TextColumnBuilder<Integer> reportRowNumberColumn()
public static TextColumnBuilder<Integer> reportRowNumberColumn(String title)
title - the column title
public static ComponentColumnBuilder componentColumn(ComponentBuilder<?,?> component)
component - the component definition
public static ComponentColumnBuilder componentColumn(String title,
ComponentBuilder<?,?> component)
title - the column titlecomponent - the component definition
public static BooleanColumnBuilder booleanColumn(String fieldName)
fieldName - the name of the field
public static BooleanColumnBuilder booleanColumn(String title,
String fieldName)
title - the column titlefieldName - the name of the field
public static BooleanColumnBuilder booleanColumn(FieldBuilder<Boolean> field)
field - the field definition
public static BooleanColumnBuilder booleanColumn(String title,
FieldBuilder<Boolean> field)
title - the column titlefield - the field definition
public static BooleanColumnBuilder booleanColumn(DRIExpression<Boolean> expression)
expression - the boolean value expression
public static BooleanColumnBuilder booleanColumn(String title,
DRIExpression<Boolean> expression)
title - the column titleexpression - the boolean value expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||