Class ComponentColumnBuilder
java.lang.Object
net.sf.dynamicreports.report.builder.AbstractBuilder<T,U>
net.sf.dynamicreports.report.builder.column.ColumnBuilder<ComponentColumnBuilder,DRColumn<DRComponent>>
net.sf.dynamicreports.report.builder.column.ComponentColumnBuilder
- All Implemented Interfaces:
Serializable
,ColumnGridComponentBuilder
public class ComponentColumnBuilder
extends ColumnBuilder<ComponentColumnBuilder,DRColumn<DRComponent>>
It is used to display custom components (e.g. images or complex content) in columns.
- Author:
- Ricardo Mariaca
- See Also:
-
Field Summary
Fields inherited from class net.sf.dynamicreports.report.builder.AbstractBuilder
builded
-
Constructor Summary
ModifierConstructorDescriptionprotected
ComponentColumnBuilder
(ComponentBuilder<?, ?> component) Constructor for ComponentColumnBuilder. -
Method Summary
Modifier and TypeMethodDescriptionsetFixedHeight
(Integer height) Sets the fixed height of a column.setFixedWidth
(Integer width) Sets the fixed width of a column.Sets the preferred height of a column.setMinHeight
(Integer height) Sets the minimum height of a column.setMinWidth
(Integer width) Sets the minimum width of a column.Sets the preferred width of a column.Methods inherited from class net.sf.dynamicreports.report.builder.column.ColumnBuilder
addTitleProperty, addTitleProperty, addTitleProperty, getColumn, getComponent, setPrintWhenExpression, setStyle, setTitle, setTitle, setTitleFixedHeight, setTitleFixedRows, setTitleHeight, setTitleMinHeight, setTitleMinRows, setTitleRows, setTitleStretchWithOverflow, setTitleStyle, setTitleTextAdjust
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 Details
-
ComponentColumnBuilder
Constructor for ComponentColumnBuilder.
- Parameters:
component
- aComponentBuilder
object.
-
-
Method Details
-
setWidth
Sets the preferred width of a column.- Parameters:
width
- the column preferred width >= 0- Returns:
- a column builder
- Throws:
IllegalArgumentException
- ifwidth
is < 0- See Also:
-
setFixedWidth
Sets the fixed width of a column.- Parameters:
width
- the column fixed width >= 0- Returns:
- a column builder
- Throws:
IllegalArgumentException
- ifwidth
is < 0- See Also:
-
setMinWidth
Sets the minimum width of a column.- Parameters:
width
- the column minimum width >= 0- Returns:
- a column builder
- Throws:
IllegalArgumentException
- ifwidth
is < 0- See Also:
-
setHeight
Sets the preferred height of a column.- Parameters:
height
- the column preferred height >= 0- Returns:
- a column builder
- Throws:
IllegalArgumentException
- ifheight
is < 0- See Also:
-
setFixedHeight
Sets the fixed height of a column.- Parameters:
height
- the column fixed height >= 0- Returns:
- a column builder
- Throws:
IllegalArgumentException
- ifheight
is < 0- See Also:
-
setMinHeight
Sets the minimum height of a column.- Parameters:
height
- the column minimum height >= 0- Returns:
- a column builder
- Throws:
IllegalArgumentException
- ifheight
is < 0- See Also:
-