public abstract class ColumnBuilder<T extends ColumnBuilder<T,U>,U extends DRColumn<?>> extends AbstractBuilder<T,U> implements ColumnGridComponentBuilder
builded
| Modifier | Constructor and Description |
|---|---|
protected |
ColumnBuilder(U column) |
| Modifier and Type | Method and Description |
|---|---|
T |
addTitleProperty(DRIPropertyExpression propertyExpression)
Adds a jasper property to the column title.
|
T |
addTitleProperty(String name, DRIExpression<String> valueExpression)
Adds a jasper property to the column title.
|
T |
addTitleProperty(String name, String value)
Adds a jasper property to the column title.
|
U |
getColumn() |
protected DRComponent |
getComponent() |
T |
setPrintWhenExpression(DRIExpression<Boolean> printWhenExpression)
Sets the print when expression.
|
T |
setStyle(ReportStyleBuilder style)
Sets the column value style.
|
T |
setTitle(DRIExpression<?> titleExpression)
Sets the column title.
|
T |
setTitle(String title)
Sets the column title.
|
T |
setTitleFixedHeight(Integer height)
Sets the fixed height of a column title.
|
T |
setTitleFixedRows(Integer rows)
This method is used to define the fixed height of a column title.
|
T |
setTitleHeight(Integer height)
Sets the preferred height of a column title.
|
T |
setTitleMinHeight(Integer height)
Sets the minimum height of a column title.
|
T |
setTitleMinRows(Integer rows)
This method is used to define the minimum height of a column title.
|
T |
setTitleRows(Integer rows)
This method is used to define the preferred height of a column title.
|
T |
setTitleStretchWithOverflow(Boolean stretchWithOverflow) |
T |
setTitleStyle(ReportStyleBuilder titleStyle)
Sets the column title style.
|
build, configure, getObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
protected ColumnBuilder(U column)
public T setTitle(DRIExpression<?> titleExpression)
titleExpression - the title expressionpublic T setTitle(String title)
title - the titlepublic T setTitleStyle(ReportStyleBuilder titleStyle)
titleStyle - the title stylepublic T setStyle(ReportStyleBuilder style)
style - the value stylepublic T setPrintWhenExpression(DRIExpression<Boolean> printWhenExpression)
printWhenExpression - the print expressionpublic T setTitleRows(Integer rows)
rows multiplied by height of the font
rows - the number of preferred rows >= 0IllegalArgumentException - if rows is < 0public T setTitleFixedRows(Integer rows)
rows multiplied by height of the font
rows - the number of fixed rows >= 0IllegalArgumentException - if rows is < 0public T setTitleMinRows(Integer rows)
rows multiplied by height of the font
rows - the number of minimum rows >= 0IllegalArgumentException - if rows is < 0public T setTitleHeight(Integer height)
height - the column title preferred height >= 0IllegalArgumentException - if height is < 0Unitspublic T setTitleFixedHeight(Integer height)
height - the column title fixed height >= 0IllegalArgumentException - if height is < 0Unitspublic T setTitleMinHeight(Integer height)
height - the column title minimum height >= 0IllegalArgumentException - if height is < 0Unitspublic T addTitleProperty(DRIPropertyExpression propertyExpression)
propertyExpression - the property expressionpublic T addTitleProperty(String name, DRIExpression<String> valueExpression)
name - the property namevalueExpression - the property value expressionpublic T addTitleProperty(String name, String value)
name - the property namevalue - the property valueprotected DRComponent getComponent()
public U getColumn()
Copyright © 2010-2015. All Rights Reserved.