net.sf.dynamicreports.report.builder.component
Class BooleanFieldBuilder

java.lang.Object
  extended by net.sf.dynamicreports.report.builder.AbstractBuilder<T,U>
      extended by net.sf.dynamicreports.report.builder.component.ComponentBuilder<T,U>
          extended by net.sf.dynamicreports.report.builder.component.DimensionComponentBuilder<T,U>
              extended by net.sf.dynamicreports.report.builder.component.HyperLinkComponentBuilder<BooleanFieldBuilder,DRBooleanField>
                  extended by net.sf.dynamicreports.report.builder.component.BooleanFieldBuilder
All Implemented Interfaces:
Serializable

public class BooleanFieldBuilder
extends HyperLinkComponentBuilder<BooleanFieldBuilder,DRBooleanField>

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 BooleanFieldBuilder()
           
 
Method Summary
 BooleanFieldBuilder setComponentType(BooleanComponentType booleanComponentType)
           
 BooleanFieldBuilder setEmptyWhenNullValue(Boolean emptyWhenNullValue)
           
 BooleanFieldBuilder setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
           
 BooleanFieldBuilder setImageDimension(Integer width, Integer height)
          Sets the boolean image dimension.
 BooleanFieldBuilder setImageHeight(Integer height)
          Sets the boolean image height.
 BooleanFieldBuilder setImageWidth(Integer width)
          Sets the boolean image width.
 BooleanFieldBuilder setValue(Boolean value)
           
 BooleanFieldBuilder setValue(DRIExpression<Boolean> valueExpression)
           
 BooleanFieldBuilder setValue(FieldBuilder<Boolean> field)
           
 
Methods inherited from class net.sf.dynamicreports.report.builder.component.HyperLinkComponentBuilder
setAnchorName, setAnchorName, setBookmarkLevel, setHyperLink
 
Methods inherited from class net.sf.dynamicreports.report.builder.component.DimensionComponentBuilder
setDimension, setFixedDimension, setFixedHeight, setFixedWidth, setHeight, setMinDimension, setMinHeight, setMinWidth, setPositionType, setPrintInFirstWholeBand, setPrintWhenDetailOverflows, setPrintWhenGroupChanges, setStretchType, setWidth
 
Methods inherited from class net.sf.dynamicreports.report.builder.component.ComponentBuilder
addProperty, addProperty, addProperty, getComponent, removeLineWhenBlank, setPrintWhenExpression, setRemoveLineWhenBlank, setStyle, setTableOfContentsHeading, setTableOfContentsHeading
 
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
 

Constructor Detail

BooleanFieldBuilder

protected BooleanFieldBuilder()
Method Detail

setValue

public BooleanFieldBuilder setValue(FieldBuilder<Boolean> field)

setValue

public BooleanFieldBuilder setValue(DRIExpression<Boolean> valueExpression)

setValue

public BooleanFieldBuilder setValue(Boolean value)

setComponentType

public BooleanFieldBuilder setComponentType(BooleanComponentType booleanComponentType)

setEmptyWhenNullValue

public BooleanFieldBuilder setEmptyWhenNullValue(Boolean emptyWhenNullValue)

setImageDimension

public BooleanFieldBuilder setImageDimension(Integer width,
                                             Integer height)
Sets the boolean image dimension. Has effect only when the boolean value is presented as an image.

Parameters:
width - the image width
height - the image height
Returns:
a column builder

setImageWidth

public BooleanFieldBuilder setImageWidth(Integer width)
Sets the boolean image width. Has effect only when the boolean value is presented as an image.

Parameters:
width - the image width
Returns:
a column builder

setImageHeight

public BooleanFieldBuilder setImageHeight(Integer height)
Sets the boolean image height. Has effect only when the boolean value is presented as an image.

Parameters:
height - the image height
Returns:
a column builder

setHorizontalAlignment

public BooleanFieldBuilder setHorizontalAlignment(HorizontalAlignment horizontalAlignment)


Copyright © 2010-2014. All Rights Reserved.