|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.dynamicreports.report.builder.AbstractBuilder<T,U>
net.sf.dynamicreports.report.builder.column.ColumnBuilder<T,U>
public abstract class ColumnBuilder<T extends ColumnBuilder<T,U>,U extends DRColumn<?>>
| Field Summary |
|---|
| Fields inherited from class net.sf.dynamicreports.report.builder.AbstractBuilder |
|---|
builded |
| Constructor Summary | |
|---|---|
protected |
ColumnBuilder(U column)
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class net.sf.dynamicreports.report.builder.AbstractBuilder |
|---|
build, configure, getObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.dynamicreports.report.builder.grid.ColumnGridComponentBuilder |
|---|
build |
| Constructor Detail |
|---|
protected ColumnBuilder(U column)
| Method Detail |
|---|
public T setTitle(DRIExpression<?> titleExpression)
titleExpression - the title expression
public T setTitle(String title)
title - the title
public T setTitleStyle(ReportStyleBuilder titleStyle)
titleStyle - the title style
public T setStyle(ReportStyleBuilder style)
style - the value style
public T setPrintWhenExpression(DRIExpression<Boolean> printWhenExpression)
printWhenExpression - the print expression
public T setTitleRows(Integer rows)
rows multiplied by height of the font
rows - the number of preferred rows >= 0
IllegalArgumentException - if rows is < 0public T setTitleFixedRows(Integer rows)
rows multiplied by height of the font
rows - the number of fixed rows >= 0
IllegalArgumentException - if rows is < 0public T setTitleMinRows(Integer rows)
rows multiplied by height of the font
rows - the number of minimum rows >= 0
IllegalArgumentException - if rows is < 0public T setTitleHeight(Integer height)
height - the column title preferred height >= 0
IllegalArgumentException - if height is < 0Unitspublic T setTitleFixedHeight(Integer height)
height - the column title fixed height >= 0
IllegalArgumentException - if height is < 0Unitspublic T setTitleMinHeight(Integer height)
height - the column title minimum height >= 0
IllegalArgumentException - if height is < 0Unitspublic T setTitleStretchWithOverflow(Boolean stretchWithOverflow)
public T addTitleProperty(DRIPropertyExpression propertyExpression)
propertyExpression - the property expression
public T addTitleProperty(String name,
DRIExpression<String> valueExpression)
name - the property namevalueExpression - the property value expression
public T addTitleProperty(String name,
String value)
name - the property namevalue - the property value
protected DRComponent getComponent()
public U getColumn()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||