Methods
Modifier and Type |
Method and Description |
ColumnBuilder |
addColumnOperation(ColumnOperation operation,
AbstractColumn[] operationColumns) |
ColumnBuilder |
addConditionalStyle(ConditionalStyle conditionalStyle) |
ColumnBuilder |
addConditionalStyles(Collection conditionalStyles) |
ColumnBuilder |
addFieldProperty(String propertyName,
String value)
When the JRField needs properties, use this method.
|
AbstractColumn |
build() |
protected AbstractColumn |
buildExpressionColumn()
For creating expression columns
|
protected AbstractColumn |
buildOperationColumn() |
protected AbstractColumn |
buildPercentageColumn() |
protected AbstractColumn |
buildSimpleBarcodeColumn()
When creating barcode columns
|
protected AbstractColumn |
buildSimpleColumn()
For creating regular columns
|
protected AbstractColumn |
buildSimpleImageColumn()
When creating image columns
|
static ColumnBuilder |
getInstance()
|
static ColumnBuilder |
getNew() |
protected void |
populateCommonAttributes(AbstractColumn column) |
protected void |
populateExpressionAttributes(ExpressionColumn column) |
ColumnBuilder |
setApplicationIdentifier(String applicationIdentifier)
Only used when barcode type is UCCEAN128
|
ColumnBuilder |
setBarcodeType(int barcodeType) |
ColumnBuilder |
setCheckSum(boolean checkSum) |
ColumnBuilder |
setColumnProperty(ColumnProperty columnProperty)
Adds a property to the column being created.
|
ColumnBuilder |
setColumnProperty(String propertyName,
Class clazz) |
ColumnBuilder |
setColumnProperty(String propertyName,
String valueClassName)
Adds a property to the column being created.
|
ColumnBuilder |
setColumnProperty(String propertyName,
String valueClassName,
String fieldDescription) |
ColumnBuilder |
setColumnType(int columnType)
|
ColumnBuilder |
setCommonProperties(String title,
String property,
Class clazz,
int width,
boolean fixedWidth) |
ColumnBuilder |
setCommonProperties(String title,
String property,
String className,
int width,
boolean fixedWidth) |
ColumnBuilder |
setCustomExpression(CustomExpression customExpression) |
ColumnBuilder |
setCustomExpressionForCalculation(CustomExpression customExpression) |
ColumnBuilder |
setCustomExpressionToGroupBy(CustomExpression customExpression) |
ColumnBuilder |
setFieldDescription(String fieldDescription) |
ColumnBuilder |
setFixedWidth(boolean bool) |
ColumnBuilder |
setFixedWidth(Boolean bool) |
ColumnBuilder |
setHeaderMarkup(String markup)
Markup to use in the column header (html, styled, etc)
|
ColumnBuilder |
setHeaderStyle(Style style) |
ColumnBuilder |
setImageScaleMode(ImageScaleMode imageScaleMode) |
ColumnBuilder |
setMarkup(String markup)
Markup to use in the column data (html, styled, etc)
|
ColumnBuilder |
setPattern(String pattern) |
ColumnBuilder |
setPercentageColumn(PropertyColumn percentageColumn) |
ColumnBuilder |
setPercentageColumn(PropertyColumn percentageColumn,
DJGroup group)
Deprecated.
|
ColumnBuilder |
setPrintRepeatedValues(boolean bool) |
ColumnBuilder |
setPrintRepeatedValues(Boolean bool) |
ColumnBuilder |
setShowText(boolean showText) |
ColumnBuilder |
setStyle(Style style) |
ColumnBuilder |
setTextFormatter(Format textFormatter) |
ColumnBuilder |
setTitle(String title) |
ColumnBuilder |
setTruncateSuffix(String suffix)
A suffix to be used in case content does not fit in given space.
|
ColumnBuilder |
setWidth(int width) |
ColumnBuilder |
setWidth(Integer width) |