net.sf.dynamicreports.report.builder.subtotal
Class BaseSubtotalBuilder<T extends BaseSubtotalBuilder<T,U>,U>
java.lang.Object
net.sf.dynamicreports.report.builder.AbstractBuilder<T,DRSubtotal<U>>
net.sf.dynamicreports.report.builder.subtotal.BaseSubtotalBuilder<T,U>
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- PercentageSubtotalBuilder, SubtotalBuilder
public abstract class BaseSubtotalBuilder<T extends BaseSubtotalBuilder<T,U>,U>
- extends AbstractBuilder<T,DRSubtotal<U>>
- Author:
- Ricardo Mariaca (r.mariaca@dynamicreports.org)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseSubtotalBuilder
protected BaseSubtotalBuilder(ColumnBuilder<?,?> showInColumn)
setValueExpression
protected void setValueExpression(DRIExpression<U> valueExpression)
setShowInColumn
public T setShowInColumn(ColumnBuilder<?,?> showInColumn)
setLabel
public T setLabel(DRIExpression<?> labelExpression)
setLabel
public T setLabel(String label)
setLabelStyle
public T setLabelStyle(ReportStyleBuilder labelStyle)
setLabelPosition
public T setLabelPosition(Position labelPosition)
setLabelWidth
public T setLabelWidth(Integer width)
- Sets the label component preferred width.
- Parameters:
width
- the label component preferred width >= 0
- Throws:
IllegalArgumentException
- if width
is < 0- See Also:
Units
setLabelFixedWidth
public T setLabelFixedWidth(Integer width)
- Sets the label component fixed width.
- Parameters:
width
- the label component fixed width >= 0
- Throws:
IllegalArgumentException
- if width
is < 0- See Also:
Units
setLabelMinWidth
public T setLabelMinWidth(Integer width)
- Sets the label component minimum width.
- Parameters:
width
- the label component minimum width >= 0
- Throws:
IllegalArgumentException
- if width
is < 0- See Also:
Units
setPattern
public T setPattern(String pattern)
setPattern
public T setPattern(DRIExpression<String> patternExpression)
setValueFormatter
public T setValueFormatter(DRIValueFormatter<?,? super U> valueFormatter)
setDataType
public T setDataType(DRIDataType dataType)
setAnchorName
public T setAnchorName(String anchorName)
setAnchorName
public T setAnchorName(DRIExpression<String> anchorNameExpression)
setBookmarkLevel
public T setBookmarkLevel(Integer bookmarkLevel)
setHyperLink
public T setHyperLink(HyperLinkBuilder hyperLink)
setRows
public T setRows(Integer rows)
setFixedRows
public T setFixedRows(Integer rows)
setMinRows
public T setMinRows(Integer rows)
setHeight
public T setHeight(Integer height)
setFixedHeight
public T setFixedHeight(Integer height)
setMinHeight
public T setMinHeight(Integer height)
setStyle
public T setStyle(ReportStyleBuilder style)
setPrintWhenExpression
public T setPrintWhenExpression(DRIExpression<Boolean> printWhenExpression)
setGroup
public T setGroup(GroupBuilder<?> group)
setPosition
public T setPosition(SubtotalPosition position)
configure
protected void configure()
- Overrides:
configure
in class AbstractBuilder<T extends BaseSubtotalBuilder<T,U>,DRSubtotal<U>>
getSubtotal
public DRSubtotal<U> getSubtotal()
Copyright © 2010-2014. All Rights Reserved.