Class BooleanFieldBuilder
java.lang.Object
net.sf.dynamicreports.report.builder.AbstractBuilder<T,U>
net.sf.dynamicreports.report.builder.component.ComponentBuilder<T,U>
net.sf.dynamicreports.report.builder.component.DimensionComponentBuilder<T,U>
net.sf.dynamicreports.report.builder.component.HyperLinkComponentBuilder<BooleanFieldBuilder,DRBooleanField>
net.sf.dynamicreports.report.builder.component.BooleanFieldBuilder
- All Implemented Interfaces:
Serializable
public class BooleanFieldBuilder
extends HyperLinkComponentBuilder<BooleanFieldBuilder,DRBooleanField>
BooleanFieldBuilder class.
- Author:
- Ricardo Mariaca
- See Also:
-
Field Summary
Fields inherited from class net.sf.dynamicreports.report.builder.AbstractBuilder
builded
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for BooleanFieldBuilder. -
Method Summary
Modifier and TypeMethodDescriptionsetComponentType
(BooleanComponentType booleanComponentType) setComponentType.setEmptyWhenNullValue
(Boolean emptyWhenNullValue) setEmptyWhenNullValue.setHorizontalAlignment
(HorizontalAlignment horizontalAlignment) Deprecated.use setHorizontalImageAlignment insteadsetHorizontalImageAlignment
(HorizontalImageAlignment horizontalImageAlignment) setHorizontalImageAlignment.setHorizontalTextAlignment
(HorizontalTextAlignment horizontalTextAlignment) setHorizontalTextAlignment.setImageDimension
(Integer width, Integer height) Sets the boolean image dimension.setImageHeight
(Integer height) Sets the boolean image height.setImageWidth
(Integer width) Sets the boolean image width.setValue.setValue
(FieldBuilder<Boolean> field) setValue.setValue
(DRIExpression<Boolean> valueExpression) setValue.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
-
Constructor Details
-
BooleanFieldBuilder
protected BooleanFieldBuilder()Constructor for BooleanFieldBuilder.
-
-
Method Details
-
setValue
setValue.
- Parameters:
field
- aFieldBuilder
object.- Returns:
- a
BooleanFieldBuilder
object.
-
setValue
setValue.
- Parameters:
valueExpression
- aDRIExpression
object.- Returns:
- a
BooleanFieldBuilder
object.
-
setValue
setValue.
- Parameters:
value
- aBoolean
object.- Returns:
- a
BooleanFieldBuilder
object.
-
setComponentType
setComponentType.
- Parameters:
booleanComponentType
- aBooleanComponentType
object.- Returns:
- a
BooleanFieldBuilder
object.
-
setEmptyWhenNullValue
setEmptyWhenNullValue.
- Parameters:
emptyWhenNullValue
- aBoolean
object.- Returns:
- a
BooleanFieldBuilder
object.
-
setImageDimension
Sets the boolean image dimension. Has effect only when the boolean value is presented as an image.- Parameters:
width
- the image widthheight
- the image height- Returns:
- a column builder
-
setImageWidth
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
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
-
setHorizontalImageAlignment
public BooleanFieldBuilder setHorizontalImageAlignment(HorizontalImageAlignment horizontalImageAlignment) setHorizontalImageAlignment.
- Parameters:
horizontalImageAlignment
- aHorizontalImageAlignment
object.- Returns:
- a
BooleanFieldBuilder
object.
-
setHorizontalAlignment
@Deprecated public BooleanFieldBuilder setHorizontalAlignment(HorizontalAlignment horizontalAlignment) Deprecated.use setHorizontalImageAlignment insteadsetHorizontalAlignment.
- Parameters:
horizontalAlignment
- aHorizontalAlignment
object.- Returns:
- a
BooleanFieldBuilder
object.
-
setHorizontalTextAlignment
public BooleanFieldBuilder setHorizontalTextAlignment(HorizontalTextAlignment horizontalTextAlignment) setHorizontalTextAlignment.
- Parameters:
horizontalTextAlignment
- aHorizontalTextAlignment
object.- Returns:
- a
BooleanFieldBuilder
object.
-