public abstract class ValueColumnBuilder<T extends ValueColumnBuilder<T,U>,U> extends ColumnBuilder<T,DRValueColumn<U>>
builded
| Modifier | Constructor and Description |
|---|---|
protected |
ValueColumnBuilder() |
| Modifier and Type | Method and Description |
|---|---|
T |
addProperty(DRIPropertyExpression propertyExpression)
Adds a jasper property to the column value.
|
T |
addProperty(String name, DRIExpression<String> valueExpression)
Adds a jasper property to the column value.
|
T |
addProperty(String name, String value)
Adds a jasper property to the column value.
|
protected DRTextField<U> |
getComponent() |
T |
printInFirstWholeBand() |
T |
printWhenDetailOverflows() |
T |
setAnchorName(DRIExpression<String> anchorNameExpression) |
T |
setAnchorName(String anchorName) |
T |
setBookmarkLevel(Integer bookmarkLevel) |
T |
setColumns(Integer columns)
This method is used to define the preferred width of a column.
|
T |
setDataType(DRIDataType<? super U,U> dataType)
Sets the column data type.
|
T |
setFixedColumns(Integer columns)
This method is used to define the fixed width of a column.
|
T |
setFixedHeight(Integer height)
Sets the fixed height of a column.
|
T |
setFixedRows(Integer rows)
This method is used to define the fixed height of a column.
|
T |
setFixedWidth(Integer width)
Sets the fixed width of a column.
|
T |
setHeight(Integer height)
Sets the preferred height of a column.
|
T |
setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
Deprecated.
use setHorizontalTextAlignment instead
|
T |
setHorizontalTextAlignment(HorizontalTextAlignment horizontalTextAlignment)
Sets the column value horizontal text alignment.
|
T |
setHyperLink(HyperLinkBuilder hyperLink)
Sets the column value hyperlink.
|
T |
setMinColumns(Integer columns)
This method is used to define the minimum width of a column.
|
T |
setMinHeight(Integer height)
Sets the minimum height of a column.
|
T |
setMinRows(Integer rows)
This method is used to define the minimum height of a column.
|
T |
setMinWidth(Integer width)
Sets the minimum width of a column.
|
T |
setPattern(DRIExpression<String> patternExpression)
Sets the column value format pattern.
|
T |
setPattern(String pattern)
Sets the column value format pattern.
|
T |
setPrintInFirstWholeBand(Boolean printInFirstWholeBand) |
T |
setPrintRepeatedDetailValues(Boolean printRepeatedDetailValues)
Specifies whether or not print a value if the value is the same as the previous value.
|
T |
setPrintWhenDetailOverflows(Boolean printWhenDetailOverflows) |
T |
setRows(Integer rows)
This method is used to define the preferred height of a column.
|
T |
setStretchWithOverflow(Boolean stretchWithOverflow) |
protected void |
setValueExpression(DRIExpression<U> valueExpression) |
T |
setValueFormatter(DRIValueFormatter<?,? super U> valueFormatter)
Sets the column value formatter expression.
|
T |
setWidth(Integer width)
Sets the preferred width of a column.
|
addTitleProperty, addTitleProperty, addTitleProperty, getColumn, setPrintWhenExpression, setStyle, setTitle, setTitle, setTitleFixedHeight, setTitleFixedRows, setTitleHeight, setTitleMinHeight, setTitleMinRows, setTitleRows, setTitleStretchWithOverflow, setTitleStyle
build, configure, getObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
protected void setValueExpression(DRIExpression<U> valueExpression)
public T setPrintRepeatedDetailValues(Boolean printRepeatedDetailValues)
printRepeatedDetailValues - print repeated detail values@Deprecated public T setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
horizontalAlignment -public T setHorizontalTextAlignment(HorizontalTextAlignment horizontalTextAlignment)
horizontalTextAlignment -public T setPattern(String pattern)
pattern - the format patternpublic T setPattern(DRIExpression<String> patternExpression)
patternExpression - the format pattern expressionpublic T setValueFormatter(DRIValueFormatter<?,? super U> valueFormatter)
valueFormatter - the value formatter expressionpublic T setDataType(DRIDataType<? super U,U> dataType)
dataType - the data typepublic T setColumns(Integer columns)
columns multiplied by width of the character m for the font used
columns - the number of preferred columns >= 0IllegalArgumentException - if columns is < 0public T setFixedColumns(Integer columns)
columns multiplied by width of the character m for the font used
columns - the number of fixed columns >= 0IllegalArgumentException - if columns is < 0public T setMinColumns(Integer columns)
columns multiplied by width of the character m for the font used
columns - the number of minimum columns >= 0IllegalArgumentException - if columns is < 0public T setRows(Integer rows)
rows multiplied by height of the font
rows - the number of preferred rows >= 0IllegalArgumentException - if rows is < 0public T setFixedRows(Integer rows)
rows multiplied by height of the font
rows - the number of fixed rows >= 0IllegalArgumentException - if rows is < 0public T setMinRows(Integer rows)
rows multiplied by height of the font
rows - the number of minimum rows >= 0IllegalArgumentException - if rows is < 0public T setAnchorName(DRIExpression<String> anchorNameExpression)
public T setHyperLink(HyperLinkBuilder hyperLink)
hyperLink - the value hyperlinkpublic T setWidth(Integer width)
width - the column preferred width >= 0IllegalArgumentException - if width is < 0Unitspublic T setFixedWidth(Integer width)
width - the column fixed width >= 0IllegalArgumentException - if width is < 0Unitspublic T setMinWidth(Integer width)
width - the column minimum width >= 0IllegalArgumentException - if width is < 0Unitspublic T setHeight(Integer height)
height - the column preferred height >= 0IllegalArgumentException - if height is < 0Unitspublic T setFixedHeight(Integer height)
height - the column fixed height >= 0IllegalArgumentException - if height is < 0Unitspublic T setMinHeight(Integer height)
height - the column minimum height >= 0IllegalArgumentException - if height is < 0Unitspublic T printInFirstWholeBand()
public T printWhenDetailOverflows()
public T addProperty(DRIPropertyExpression propertyExpression)
propertyExpression - the property expressionpublic T addProperty(String name, DRIExpression<String> valueExpression)
name - the property namevalueExpression - the property value expressionpublic T addProperty(String name, String value)
name - the property namevalue - the property valueprotected DRTextField<U> getComponent()
getComponent in class ColumnBuilder<T extends ValueColumnBuilder<T,U>,DRValueColumn<U>>Copyright © 2010-2017. All Rights Reserved.