|
||||||||||
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,DRValueColumn<U>>
net.sf.dynamicreports.report.builder.column.ValueColumnBuilder<T,U>
public abstract class ValueColumnBuilder<T extends ValueColumnBuilder<T,U>,U>
Field Summary |
---|
Fields inherited from class net.sf.dynamicreports.report.builder.AbstractBuilder |
---|
builded |
Constructor Summary | |
---|---|
protected |
ValueColumnBuilder()
|
Method Summary | |
---|---|
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)
Sets the column value horizontal 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. |
Methods inherited from class net.sf.dynamicreports.report.builder.column.ColumnBuilder |
---|
addTitleProperty, addTitleProperty, addTitleProperty, getColumn, setPrintWhenExpression, setStyle, setTitle, setTitle, setTitleFixedHeight, setTitleFixedRows, setTitleHeight, setTitleMinHeight, setTitleMinRows, setTitleRows, setTitleStretchWithOverflow, setTitleStyle |
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 ValueColumnBuilder()
Method Detail |
---|
protected void setValueExpression(DRIExpression<U> valueExpression)
public T setPrintRepeatedDetailValues(Boolean printRepeatedDetailValues)
printRepeatedDetailValues
- print repeated detail values
public T setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
horizontalAlignment
-
public T setPattern(String pattern)
pattern
- the format pattern
public T setPattern(DRIExpression<String> patternExpression)
patternExpression
- the format pattern expression
public T setValueFormatter(DRIValueFormatter<?,? super U> valueFormatter)
valueFormatter
- the value formatter expression
public T setDataType(DRIDataType<? super U,U> dataType)
dataType
- the data type
public T setColumns(Integer columns)
columns
multiplied by width of the
character m for the font used
columns
- the number of preferred columns >= 0
IllegalArgumentException
- 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 >= 0
IllegalArgumentException
- 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 >= 0
IllegalArgumentException
- if columns
is < 0public T setRows(Integer rows)
rows
multiplied by height of the font
rows
- the number of preferred rows >= 0
IllegalArgumentException
- if rows
is < 0public T setFixedRows(Integer rows)
rows
multiplied by height of the font
rows
- the number of fixed rows >= 0
IllegalArgumentException
- if rows
is < 0public T setMinRows(Integer rows)
rows
multiplied by height of the font
rows
- the number of minimum rows >= 0
IllegalArgumentException
- if rows
is < 0public T setAnchorName(String anchorName)
public T setAnchorName(DRIExpression<String> anchorNameExpression)
public T setBookmarkLevel(Integer bookmarkLevel)
public T setHyperLink(HyperLinkBuilder hyperLink)
hyperLink
- the value hyperlink
public T setWidth(Integer width)
width
- the column preferred width >= 0
IllegalArgumentException
- if width
is < 0Units
public T setFixedWidth(Integer width)
width
- the column fixed width >= 0
IllegalArgumentException
- if width
is < 0Units
public T setMinWidth(Integer width)
width
- the column minimum width >= 0
IllegalArgumentException
- if width
is < 0Units
public T setHeight(Integer height)
height
- the column preferred height >= 0
IllegalArgumentException
- if height
is < 0Units
public T setFixedHeight(Integer height)
height
- the column fixed height >= 0
IllegalArgumentException
- if height
is < 0Units
public T setMinHeight(Integer height)
height
- the column minimum height >= 0
IllegalArgumentException
- if height
is < 0Units
public T setStretchWithOverflow(Boolean stretchWithOverflow)
public T printInFirstWholeBand()
public T setPrintInFirstWholeBand(Boolean printInFirstWholeBand)
public T printWhenDetailOverflows()
public T setPrintWhenDetailOverflows(Boolean printWhenDetailOverflows)
public T addProperty(DRIPropertyExpression propertyExpression)
propertyExpression
- the property expression
public T addProperty(String name, DRIExpression<String> valueExpression)
name
- the property namevalueExpression
- the property value expression
public T addProperty(String name, String value)
name
- the property namevalue
- the property value
protected DRTextField<U> getComponent()
getComponent
in class ColumnBuilder<T extends ValueColumnBuilder<T,U>,DRValueColumn<U>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |