net.sf.dynamicreports.report.base.grid
Class DRColumnTitleGroup
java.lang.Object
net.sf.dynamicreports.report.base.grid.DRColumnTitleGroup
- All Implemented Interfaces:
- Serializable, DRIColumnGridComponent, DRIColumnTitleGroup
public class DRColumnTitleGroup
- extends Object
- implements DRIColumnTitleGroup
- Author:
- Ricardo Mariaca (dynamicreports@gmail.com)
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DRColumnTitleGroup
public DRColumnTitleGroup()
getList
public DRColumnGridList getList()
- Specified by:
getList in interface DRIColumnTitleGroup
addComponent
public void addComponent(DRIColumnGridComponent component)
getTitleExpression
public DRIExpression<?> getTitleExpression()
- Specified by:
getTitleExpression in interface DRIColumnTitleGroup
setTitleExpression
public void setTitleExpression(DRIExpression<?> titleExpression)
getTitleStyle
public DRIReportStyle getTitleStyle()
- Specified by:
getTitleStyle in interface DRIColumnTitleGroup
setTitleStyle
public void setTitleStyle(DRIReportStyle titleStyle)
getTitleWidth
public Integer getTitleWidth()
- Returns the column title width.
- Specified by:
getTitleWidth in interface DRIColumnTitleGroup
- Returns:
- the column title width >= 0
setTitleWidth
public void setTitleWidth(Integer titleWidth)
- Sets the column title width.
- Parameters:
titleWidth - the column title width >= 0
- Throws:
IllegalArgumentException - if titleWidth is < 0- See Also:
Units
getTitleWidthType
public ComponentDimensionType getTitleWidthType()
- Specified by:
getTitleWidthType in interface DRIColumnTitleGroup
setTitleWidthType
public void setTitleWidthType(ComponentDimensionType titleWidthType)
getTitleColumns
public Integer getTitleColumns()
- Returns the number of title columns.
- Specified by:
getTitleColumns in interface DRIColumnTitleGroup
- Returns:
- the number of title columns >= 0
setTitleColumns
public void setTitleColumns(Integer titleColumns)
- This method is used to define the width of a column title.
The width is set to the
columns multiplied by width of the
character m for the font used
- Parameters:
titleColumns - the number of columns >= 0
- Throws:
IllegalArgumentException - if columns is < 0
getTitleHeight
public Integer getTitleHeight()
- Returns the column title height.
- Specified by:
getTitleHeight in interface DRIColumnTitleGroup
- Returns:
- the column title height >= 0
setTitleHeight
public void setTitleHeight(Integer titleHeight)
- Sets the column title height.
- Parameters:
titleHeight - the column title height >= 0
- Throws:
IllegalArgumentException - if titleHeight is < 0- See Also:
Units
getTitleHeightType
public ComponentDimensionType getTitleHeightType()
- Specified by:
getTitleHeightType in interface DRIColumnTitleGroup
setTitleHeightType
public void setTitleHeightType(ComponentDimensionType titleHeightType)
getTitleRows
public Integer getTitleRows()
- Returns the number of title rows.
- Specified by:
getTitleRows in interface DRIColumnTitleGroup
- Returns:
- the number of title rows >= 0
setTitleRows
public void setTitleRows(Integer titleRows)
- This method is used to define the height of a column title.
The height is set to the
rows multiplied by height of the font
- Parameters:
titleRows - the number of rows >= 0
- Throws:
IllegalArgumentException - if rows is < 0
getTitleStretchWithOverflow
public Boolean getTitleStretchWithOverflow()
- Specified by:
getTitleStretchWithOverflow in interface DRIColumnTitleGroup
setTitleStretchWithOverflow
public void setTitleStretchWithOverflow(Boolean titleStretchWithOverflow)
getTitlePropertyExpressions
public List<DRIPropertyExpression> getTitlePropertyExpressions()
- Specified by:
getTitlePropertyExpressions in interface DRIColumnTitleGroup
addTitlePropertyExpression
public void addTitlePropertyExpression(DRIPropertyExpression propertyExpression)
setTitlePropertyExpressions
public void setTitlePropertyExpressions(List<DRIPropertyExpression> titlePropertyExpressions)
Copyright © 2010-2012. All Rights Reserved.