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