net.sf.dynamicreports.report.builder.column
Class ComponentColumnBuilder

java.lang.Object
  extended by net.sf.dynamicreports.report.builder.AbstractBuilder<T,U>
      extended by net.sf.dynamicreports.report.builder.column.ColumnBuilder<ComponentColumnBuilder,DRColumn<DRComponent>>
          extended by 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 (r.mariaca@dynamicreports.org)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.dynamicreports.report.builder.AbstractBuilder
builded
 
Constructor Summary
protected ComponentColumnBuilder(ComponentBuilder<?,?> component)
           
 
Method Summary
 ComponentColumnBuilder setFixedHeight(Integer height)
          Sets the fixed height of a column.
 ComponentColumnBuilder setFixedWidth(Integer width)
          Sets the fixed width of a column.
 ComponentColumnBuilder setHeight(Integer height)
          Sets the preferred height of a column.
 ComponentColumnBuilder setMinHeight(Integer height)
          Sets the minimum height of a column.
 ComponentColumnBuilder setMinWidth(Integer width)
          Sets the minimum width of a column.
 ComponentColumnBuilder 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, getComponent, 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

ComponentColumnBuilder

protected ComponentColumnBuilder(ComponentBuilder<?,?> component)
Method Detail

setWidth

public ComponentColumnBuilder setWidth(Integer width)
Sets the preferred width of a column.

Parameters:
width - the column preferred width >= 0
Returns:
a column builder
Throws:
IllegalArgumentException - if width is < 0
See Also:
Units

setFixedWidth

public ComponentColumnBuilder setFixedWidth(Integer width)
Sets the fixed width of a column.

Parameters:
width - the column fixed width >= 0
Returns:
a column builder
Throws:
IllegalArgumentException - if width is < 0
See Also:
Units

setMinWidth

public ComponentColumnBuilder setMinWidth(Integer width)
Sets the minimum width of a column.

Parameters:
width - the column minimum width >= 0
Returns:
a column builder
Throws:
IllegalArgumentException - if width is < 0
See Also:
Units

setHeight

public ComponentColumnBuilder setHeight(Integer height)
Sets the preferred height of a column.

Parameters:
height - the column preferred height >= 0
Returns:
a column builder
Throws:
IllegalArgumentException - if height is < 0
See Also:
Units

setFixedHeight

public ComponentColumnBuilder setFixedHeight(Integer height)
Sets the fixed height of a column.

Parameters:
height - the column fixed height >= 0
Returns:
a column builder
Throws:
IllegalArgumentException - if height is < 0
See Also:
Units

setMinHeight

public ComponentColumnBuilder setMinHeight(Integer height)
Sets the minimum height of a column.

Parameters:
height - the column minimum height >= 0
Returns:
a column builder
Throws:
IllegalArgumentException - if height is < 0
See Also:
Units


Copyright © 2010-2014. All Rights Reserved.