public class ColumnBuilders extends Object
Constructor and Description |
---|
ColumnBuilders() |
Modifier and Type | Method and Description |
---|---|
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.
|
<T> TextColumnBuilder<T> |
column(DRIExpression<T> expression)
Creates a new expression column.
|
<T> TextColumnBuilder<T> |
column(FieldBuilder<T> field)
Creates a new column.
|
<T> TextColumnBuilder<T> |
column(String fieldName, Class<T> valueClass)
Creates a new column.
|
<T> TextColumnBuilder<T> |
column(String fieldName, DRIDataType<? super T,T> dataType)
Creates a new column.
|
<T> TextColumnBuilder<T> |
column(String title, DRIExpression<T> expression)
Creates a new expression column.
|
<T> TextColumnBuilder<T> |
column(String title, FieldBuilder<T> field)
Creates a new column.
|
<T> TextColumnBuilder<T> |
column(String title, String fieldName, Class<T> valueClass)
Creates a new column.
|
<T> TextColumnBuilder<T> |
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.
|
public <T> TextColumnBuilder<T> column(String fieldName, Class<T> valueClass)
fieldName
- the name of the fieldvalueClass
- the field value classpublic <T> TextColumnBuilder<T> column(String title, String fieldName, Class<T> valueClass)
title
- the column titlefieldName
- the name of the fieldvalueClass
- the field value classpublic <T> TextColumnBuilder<T> column(String fieldName, DRIDataType<? super T,T> dataType)
fieldName
- the name of the fielddataType
- the field data typepublic <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 typepublic <T> TextColumnBuilder<T> column(FieldBuilder<T> field)
field
- the field definitionpublic <T> TextColumnBuilder<T> column(String title, FieldBuilder<T> field)
title
- the column titlefield
- the field definitionpublic <T> TextColumnBuilder<T> column(DRIExpression<T> expression)
expression
- the value expressionpublic <T> TextColumnBuilder<T> column(String title, DRIExpression<T> expression)
title
- the column titleexpression
- the value expressionpublic PercentageColumnBuilder percentageColumn(ValueColumnBuilder<?,? extends Number> column)
column
- the column definitionpublic PercentageColumnBuilder percentageColumn(String title, ValueColumnBuilder<?,? extends Number> column)
title
- the column titlecolumn
- the column definitionpublic PercentageColumnBuilder percentageColumn(String fieldName, Class<? extends Number> valueClass)
fieldName
- the name of the fieldvalueClass
- the field value classpublic PercentageColumnBuilder percentageColumn(String title, String fieldName, Class<? extends Number> valueClass)
title
- the column titlefieldName
- the name of the fieldvalueClass
- the field value classpublic PercentageColumnBuilder percentageColumn(FieldBuilder<? extends Number> field)
field
- the field definitionpublic PercentageColumnBuilder percentageColumn(String title, FieldBuilder<? extends Number> field)
title
- the column titlefield
- the field definitionpublic TextColumnBuilder<Integer> columnRowNumberColumn()
public TextColumnBuilder<Integer> columnRowNumberColumn(String title)
title
- the column titlepublic TextColumnBuilder<Integer> pageRowNumberColumn()
public TextColumnBuilder<Integer> pageRowNumberColumn(String title)
title
- the column titlepublic TextColumnBuilder<Integer> reportRowNumberColumn()
public TextColumnBuilder<Integer> reportRowNumberColumn(String title)
title
- the column titlepublic ComponentColumnBuilder componentColumn(ComponentBuilder<?,?> component)
component
- the component definitionpublic ComponentColumnBuilder componentColumn(String title, ComponentBuilder<?,?> component)
title
- the column titlecomponent
- the component definitionpublic BooleanColumnBuilder booleanColumn(String fieldName)
fieldName
- the name of the fieldpublic BooleanColumnBuilder booleanColumn(String title, String fieldName)
title
- the column titlefieldName
- the name of the fieldpublic BooleanColumnBuilder booleanColumn(FieldBuilder<Boolean> field)
field
- the field definitionpublic BooleanColumnBuilder booleanColumn(String title, FieldBuilder<Boolean> field)
title
- the column titlefield
- the field definitionpublic BooleanColumnBuilder booleanColumn(DRIExpression<Boolean> expression)
expression
- the boolean value expressionpublic BooleanColumnBuilder booleanColumn(String title, DRIExpression<Boolean> expression)
title
- the column titleexpression
- the boolean value expressionpublic TextColumnBuilder<String> emptyColumn()
public TextColumnBuilder<String> emptyColumn(boolean showTitle, boolean showDetailRows)
showTitle
- show column titleshowDetailRows
- show detail rowsCopyright © 2010-2017. All Rights Reserved.