Class TableReport
- java.lang.Object
-
- net.sf.jasperreports.components.table.fill.TableReport
-
- All Implemented Interfaces:
JRDefaultStyleProvider
,JRIdentifiable
,JRPropertiesHolder
,JRReport
public class TableReport extends Object implements JRReport
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
TableReport.BandRowInfo
protected class
TableReport.CellInfo
protected class
TableReport.ColumnHeaderCreator
protected class
TableReport.DetailBandCreator
protected class
TableReport.GroupFooterCreator
protected class
TableReport.GroupHeaderCreator
protected class
TableReport.PageFooterCreator
protected class
TableReport.ReportBandCreator
protected class
TableReport.ReportBandInfo
protected class
TableReport.ReverseReportBandCreator
protected class
TableReport.SummaryCreator
protected class
TableReport.SummaryGroupFooterPrintWhenEvaluator
protected static class
TableReport.TableIndexProperties
protected class
TableReport.TitleCreator
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_FIELD_NOT_FOUND
static String
EXCEPTION_MESSAGE_KEY_UNKNOWN_CHILD_TYPE
static String
EXCEPTION_MESSAGE_KEY_UNRECOGNIZED_FILTER_EXPRESSION_TYPE
static String
EXCEPTION_MESSAGE_KEY_VARIABLE_NOT_FOUND
protected static String
HTML_CLASS_CELL
protected static String
HTML_CLASS_CELL_PREFIX
static String
METADATA_KEY_QUALIFICATION
static String
PROPERTY_ACCESSIBLE_TABLE
Property that enables/disables the automatic addition of specific custom properties to the elements that make up the table and its cells.static String
PROPERTY_COLUMN_FIELD
Column property that specifies the field to be used for sorting, filtering and conditional formattingstatic String
PROPERTY_COLUMN_FILTERABLE
Column property that enables/disables filteringstatic String
PROPERTY_COLUMN_SORTABLE
Column property that enables/disables sortingstatic String
PROPERTY_COLUMN_VARIABLE
Column property that specifies the variable to be used for sorting, filtering and conditional formattingstatic String
PROPERTY_DOWN_ARROW_CHAR
Global property that specifies the character to be used on the column header when the tables's column is sorted descendingstatic String
PROPERTY_FILTER_CHAR
Global property that specifies the character to be used on the column header when the tables's column has a filtered appliedstatic String
PROPERTY_FLOATING_HEADER
Property that enables/disables the floating header in the table component when scrolling.static String
PROPERTY_GENERATE_TABLE_PDF_TAGS
Deprecated.Replaced byPROPERTY_ACCESSIBLE_TABLE
.static String
PROPERTY_ICON_FONT
Global property that specifies the font to be used for the icons on the column headerstatic String
PROPERTY_INTERACTIVE_TABLE
Property that enables/disables the interactivity in the table componentstatic String
PROPERTY_TABLE_NAME
Property that provides a name for table.static String
PROPERTY_UP_ARROW_CHAR
Global property that specifies the character to be used on the column header when the tables's column is sorted ascendingprotected static String
SUMMARY_GROUP_NAME
static String
TABLE_HEADER_ICON_LABEL_MATCHER_EXPORT_KEY
static String
TABLE_HEADER_LABEL_MATCHER_EXPORT_KEY
protected static String
TABLE_SCRIPTLET_NAME
-
Fields inherited from interface net.sf.jasperreports.engine.JRReport
CONFIG_PROPERTY_WHEN_NO_DATA_TYPE, LANGUAGE_GROOVY, LANGUAGE_JAVA
-
-
Constructor Summary
Constructors Constructor Description TableReport(FillContext fillContext, TableComponent table, TableReportDataset mainDataset, List<FillColumn> fillColumns, BuiltinExpressionEvaluatorFactory builtinEvaluatorFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
addSummaryGroup(List<FillColumn> fillColumns)
protected int
computeTableWidth(List<FillColumn> fillColumns)
protected JRElement
createCell(JRElementGroup parentGroup, BaseCell cell, int originalWidth, int width, int x, int y, Integer columnHashCode, UUID uuid, boolean forceFrame)
protected JRElement
createCellElement(JRElementGroup elementGroup, BaseCell cell, int originalWidth, int width, int x, int y, Integer columnHashCode)
protected JRDesignBand
createColumnHeader(List<FillColumn> fillColumns)
protected JRBand
createDetailBand(List<FillColumn> fillColumns)
protected JRBand
createGroupFooter(String groupName, List<FillColumn> fillColumns)
protected JRBand
createGroupHeader(String groupName, List<FillColumn> fillColumns)
protected JRDesignBand
createNoData(BaseCell cell)
protected JRDesignBand
createPageFooter(List<FillColumn> fillColumns)
protected JRDesignBand
createSummary(List<FillColumn> fillColumns)
protected JRDesignBand
createTitle(List<FillColumn> fillColumns)
JRBand
getBackground()
int
getBottomMargin()
Integer
getColumnCount()
Gets the number of columns on each pageRunDirectionEnum
getColumnDirection()
Specifies whether columns will be filled from left to right or from right to left.JRBand
getColumnFooter()
JRBand
getColumnHeader()
int
getColumnSpacing()
Specifies the space between columns on the same page.int
getColumnWidth()
JRDataset[]
getDatasets()
Returns the datasets of this report.JRStyle
getDefaultStyle()
Returns a default style.JRBand
getDetail()
Deprecated.JRSection
getDetailSection()
protected JRField
getField(String name)
JRField[]
getFields()
String
getFormatFactoryClass()
Gets the name of the class implementing theFormatFactory
interface to use with this report.protected TimeZone
getFormatTimeZone(JRTextField textField, Class<?> valueClass)
JRGroup[]
getGroups()
String[]
getImports()
Gets an array of imports (needed if report expression require additional classes in order to compile).String
getLanguage()
Gets the report language.JRBand
getLastPageFooter()
int
getLeftMargin()
JRDataset
getMainDataset()
Returns the main report dataset.String
getName()
Gets the report name.JRBand
getNoData()
OrientationEnum
getOrientation()
Specifies whether document pages will be rendered in a portrait or landscape layout.JRBand
getPageFooter()
JRBand
getPageHeader()
int
getPageHeight()
int
getPageWidth()
JRParameter[]
getParameters()
JRPropertiesHolder
getParentProperties()
Returns the parent properties holder, whose properties are used as defaults for this object.PrintOrderEnum
getPrintOrder()
Specifies whether columns will be filled horizontally or vertically.JRPropertiesMap
getPropertiesMap()
Returns this object's properties map.String
getProperty(String name)
Gets a property valueDatasetPropertyExpression[]
getPropertyExpressions()
Returns the list of dynamic/expression-based properties for this report.String[]
getPropertyNames()
Gets an array of report properties names.JRQuery
getQuery()
String
getResourceBundle()
Gets the base name of the report associated resource bundle.int
getRightMargin()
String
getScriptletClass()
JRScriptlet[]
getScriptlets()
SectionTypeEnum
getSectionType()
Specifies whether report sections are made of bands or of parts.JRSortField[]
getSortFields()
StyleResolver
getStyleResolver()
Returns a style resolver.JRStyle[]
getStyles()
Gets an array of report styles.JRBand
getSummary()
JRReportTemplate[]
getTemplates()
Returns the list of report templates.JRBand
getTitle()
int
getTopMargin()
UUID
getUUID()
protected JRVariable
getVariable(String name)
JRVariable[]
getVariables()
WhenNoDataTypeEnum
getWhenNoDataType()
Specifies the report behavior in case of empty datasources.WhenResourceMissingTypeEnum
getWhenResourceMissingType()
Returns the resource missing handling type.boolean
hasProperties()
Checks whether the object has any properties.protected boolean
isAccessibleTable()
boolean
isFloatColumnFooter()
Specifies if the column footer section will be printed at the bottom of the column or if it will immediately follow the last detail or group footer printed on the current column.boolean
isIgnorePagination()
Decides whether to use pagination when filling the report.boolean
isInteractiveTable()
boolean
isSummaryNewPage()
Specifies if the summary section will be printed on a separate last page.boolean
isSummaryWithPageHeaderAndFooter()
Specifies if the summary section will be accompanied by the page header and footer.boolean
isTitleNewPage()
Specifies if the title section will be printed on a separate initial page.void
removeProperty(String name)
protected void
scaleCellElement(JRElement element, Integer cellWidth, int scaledCellWidth)
void
setProperty(String name, String value)
void
setTableInstanceIndex(int instanceIndex)
void
setWhenNoDataType(WhenNoDataTypeEnum whenNoDataType)
Sets the report behavior in case of empty datasources.void
setWhenResourceMissingType(WhenResourceMissingTypeEnum whenResourceMissingType)
Sets the resource missing handling type.protected JRSection
wrapBand(JRBand band, JROrigin origin)
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_UNKNOWN_CHILD_TYPE
public static final String EXCEPTION_MESSAGE_KEY_UNKNOWN_CHILD_TYPE
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_FIELD_NOT_FOUND
public static final String EXCEPTION_MESSAGE_KEY_FIELD_NOT_FOUND
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_VARIABLE_NOT_FOUND
public static final String EXCEPTION_MESSAGE_KEY_VARIABLE_NOT_FOUND
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_UNRECOGNIZED_FILTER_EXPRESSION_TYPE
public static final String EXCEPTION_MESSAGE_KEY_UNRECOGNIZED_FILTER_EXPRESSION_TYPE
- See Also:
- Constant Field Values
-
METADATA_KEY_QUALIFICATION
public static final String METADATA_KEY_QUALIFICATION
- See Also:
- Constant Field Values
-
PROPERTY_UP_ARROW_CHAR
public static final String PROPERTY_UP_ARROW_CHAR
Global property that specifies the character to be used on the column header when the tables's column is sorted ascending- See Also:
- Constant Field Values
-
PROPERTY_DOWN_ARROW_CHAR
public static final String PROPERTY_DOWN_ARROW_CHAR
Global property that specifies the character to be used on the column header when the tables's column is sorted descending- See Also:
- Constant Field Values
-
PROPERTY_FILTER_CHAR
public static final String PROPERTY_FILTER_CHAR
Global property that specifies the character to be used on the column header when the tables's column has a filtered applied- See Also:
- Constant Field Values
-
PROPERTY_ICON_FONT
public static final String PROPERTY_ICON_FONT
Global property that specifies the font to be used for the icons on the column header- See Also:
- Constant Field Values
-
PROPERTY_INTERACTIVE_TABLE
public static final String PROPERTY_INTERACTIVE_TABLE
Property that enables/disables the interactivity in the table componentThe property can be set:
- globally
- at report level
- at component level
- at column level
The default global value of this property is
true
- See Also:
- Constant Field Values
-
PROPERTY_FLOATING_HEADER
public static final String PROPERTY_FLOATING_HEADER
Property that enables/disables the floating header in the table component when scrolling. If the interactivity has been disabled by settingPROPERTY_INTERACTIVE_TABLE
tofalse
, then setting this property will have no effect.It can be set:
- globally
- at report level
- at component level
The default global value of this property is
true
- See Also:
- Constant Field Values
-
PROPERTY_GENERATE_TABLE_PDF_TAGS
public static final String PROPERTY_GENERATE_TABLE_PDF_TAGS
Deprecated.Replaced byPROPERTY_ACCESSIBLE_TABLE
.Property that enables/disables the automatic addition of specific custom properties to table cell elements, that would in turn trigger the creation of special document accessibility tags during PDF exportThe property can be set:
- globally
- at report level
- at component level
The default global value of this property is
false
- See Also:
- Constant Field Values
-
PROPERTY_ACCESSIBLE_TABLE
public static final String PROPERTY_ACCESSIBLE_TABLE
Property that enables/disables the automatic addition of specific custom properties to the elements that make up the table and its cells. These properties would be then used to produce special document accessibility metadata during exports.The property can be set:
- globally
- at report level
- at component level
- See Also:
- Constant Field Values
-
PROPERTY_COLUMN_FIELD
public static final String PROPERTY_COLUMN_FIELD
Column property that specifies the field to be used for sorting, filtering and conditional formatting- See Also:
- Constant Field Values
-
PROPERTY_COLUMN_VARIABLE
public static final String PROPERTY_COLUMN_VARIABLE
Column property that specifies the variable to be used for sorting, filtering and conditional formatting- See Also:
- Constant Field Values
-
PROPERTY_COLUMN_SORTABLE
public static final String PROPERTY_COLUMN_SORTABLE
Column property that enables/disables sortingIt defaults to
true
- See Also:
- Constant Field Values
-
PROPERTY_COLUMN_FILTERABLE
public static final String PROPERTY_COLUMN_FILTERABLE
Column property that enables/disables filteringIt defaults to
true
- See Also:
- Constant Field Values
-
PROPERTY_TABLE_NAME
public static final String PROPERTY_TABLE_NAME
Property that provides a name for table.The name is used as report name in element origins.
- See Also:
JROrigin.getReportName()
, Constant Field Values
-
SUMMARY_GROUP_NAME
protected static final String SUMMARY_GROUP_NAME
- See Also:
- Constant Field Values
-
HTML_CLASS_CELL_PREFIX
protected static final String HTML_CLASS_CELL_PREFIX
- See Also:
- Constant Field Values
-
HTML_CLASS_CELL
protected static final String HTML_CLASS_CELL
- See Also:
- Constant Field Values
-
TABLE_HEADER_LABEL_MATCHER_EXPORT_KEY
public static final String TABLE_HEADER_LABEL_MATCHER_EXPORT_KEY
- See Also:
- Constant Field Values
-
TABLE_HEADER_ICON_LABEL_MATCHER_EXPORT_KEY
public static final String TABLE_HEADER_ICON_LABEL_MATCHER_EXPORT_KEY
- See Also:
- Constant Field Values
-
TABLE_SCRIPTLET_NAME
protected static final String TABLE_SCRIPTLET_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TableReport
public TableReport(FillContext fillContext, TableComponent table, TableReportDataset mainDataset, List<FillColumn> fillColumns, BuiltinExpressionEvaluatorFactory builtinEvaluatorFactory)
-
-
Method Detail
-
createDetailBand
protected JRBand createDetailBand(List<FillColumn> fillColumns)
-
getFormatTimeZone
protected TimeZone getFormatTimeZone(JRTextField textField, Class<?> valueClass)
-
createColumnHeader
protected JRDesignBand createColumnHeader(List<FillColumn> fillColumns)
-
createPageFooter
protected JRDesignBand createPageFooter(List<FillColumn> fillColumns)
-
createNoData
protected JRDesignBand createNoData(BaseCell cell)
-
createTitle
protected JRDesignBand createTitle(List<FillColumn> fillColumns)
-
createSummary
protected JRDesignBand createSummary(List<FillColumn> fillColumns)
-
createGroupHeader
protected JRBand createGroupHeader(String groupName, List<FillColumn> fillColumns)
-
createGroupFooter
protected JRBand createGroupFooter(String groupName, List<FillColumn> fillColumns)
-
isAccessibleTable
protected boolean isAccessibleTable()
-
computeTableWidth
protected int computeTableWidth(List<FillColumn> fillColumns)
-
addSummaryGroup
protected void addSummaryGroup(List<FillColumn> fillColumns)
-
createCell
protected JRElement createCell(JRElementGroup parentGroup, BaseCell cell, int originalWidth, int width, int x, int y, Integer columnHashCode, UUID uuid, boolean forceFrame)
-
createCellElement
protected JRElement createCellElement(JRElementGroup elementGroup, BaseCell cell, int originalWidth, int width, int x, int y, Integer columnHashCode)
-
scaleCellElement
protected void scaleCellElement(JRElement element, Integer cellWidth, int scaledCellWidth)
-
getBackground
public JRBand getBackground()
- Specified by:
getBackground
in interfaceJRReport
-
getBottomMargin
public int getBottomMargin()
- Specified by:
getBottomMargin
in interfaceJRReport
-
getColumnCount
public Integer getColumnCount()
Description copied from interface:JRReport
Gets the number of columns on each page- Specified by:
getColumnCount
in interfaceJRReport
-
getColumnFooter
public JRBand getColumnFooter()
- Specified by:
getColumnFooter
in interfaceJRReport
-
getColumnHeader
public JRBand getColumnHeader()
- Specified by:
getColumnHeader
in interfaceJRReport
-
getColumnSpacing
public int getColumnSpacing()
Description copied from interface:JRReport
Specifies the space between columns on the same page.- Specified by:
getColumnSpacing
in interfaceJRReport
-
getColumnWidth
public int getColumnWidth()
- Specified by:
getColumnWidth
in interfaceJRReport
-
getDatasets
public JRDataset[] getDatasets()
Description copied from interface:JRReport
Returns the datasets of this report.- Specified by:
getDatasets
in interfaceJRReport
- Returns:
- the datasets of this report
-
getDetail
@Deprecated public JRBand getDetail()
Deprecated.
-
getDetailSection
public JRSection getDetailSection()
- Specified by:
getDetailSection
in interfaceJRReport
-
getFormatFactoryClass
public String getFormatFactoryClass()
Description copied from interface:JRReport
Gets the name of the class implementing theFormatFactory
interface to use with this report.- Specified by:
getFormatFactoryClass
in interfaceJRReport
-
getImports
public String[] getImports()
Description copied from interface:JRReport
Gets an array of imports (needed if report expression require additional classes in order to compile).- Specified by:
getImports
in interfaceJRReport
-
getLanguage
public String getLanguage()
Description copied from interface:JRReport
Gets the report language. Should be Java or Groovy.- Specified by:
getLanguage
in interfaceJRReport
-
getLastPageFooter
public JRBand getLastPageFooter()
- Specified by:
getLastPageFooter
in interfaceJRReport
-
getLeftMargin
public int getLeftMargin()
- Specified by:
getLeftMargin
in interfaceJRReport
-
getMainDataset
public JRDataset getMainDataset()
Description copied from interface:JRReport
Returns the main report dataset.The main report dataset consists of all parameters, fields, variables and groups of the report.
- Specified by:
getMainDataset
in interfaceJRReport
- Returns:
- the main report dataset
-
getOrientation
public OrientationEnum getOrientation()
Description copied from interface:JRReport
Specifies whether document pages will be rendered in a portrait or landscape layout.- Specified by:
getOrientation
in interfaceJRReport
- Returns:
- a value representing one of the orientation constants in
OrientationEnum
-
getPageFooter
public JRBand getPageFooter()
- Specified by:
getPageFooter
in interfaceJRReport
-
getPageHeader
public JRBand getPageHeader()
- Specified by:
getPageHeader
in interfaceJRReport
-
getPageHeight
public int getPageHeight()
- Specified by:
getPageHeight
in interfaceJRReport
-
getPageWidth
public int getPageWidth()
- Specified by:
getPageWidth
in interfaceJRReport
-
getParameters
public JRParameter[] getParameters()
- Specified by:
getParameters
in interfaceJRReport
-
getPrintOrder
public PrintOrderEnum getPrintOrder()
Description copied from interface:JRReport
Specifies whether columns will be filled horizontally or vertically.- Specified by:
getPrintOrder
in interfaceJRReport
- Returns:
- a value representing one of the print order constants in
PrintOrderEnum
-
getColumnDirection
public RunDirectionEnum getColumnDirection()
Description copied from interface:JRReport
Specifies whether columns will be filled from left to right or from right to left.- Specified by:
getColumnDirection
in interfaceJRReport
- Returns:
- a value representing one of the column direction constants in
RunDirectionEnum
-
getProperty
public String getProperty(String name)
Description copied from interface:JRReport
Gets a property value- Specified by:
getProperty
in interfaceJRReport
- Parameters:
name
- the property name
-
getPropertyNames
public String[] getPropertyNames()
Description copied from interface:JRReport
Gets an array of report properties names.- Specified by:
getPropertyNames
in interfaceJRReport
-
getResourceBundle
public String getResourceBundle()
Description copied from interface:JRReport
Gets the base name of the report associated resource bundle.- Specified by:
getResourceBundle
in interfaceJRReport
-
getRightMargin
public int getRightMargin()
- Specified by:
getRightMargin
in interfaceJRReport
-
getScriptletClass
public String getScriptletClass()
- Specified by:
getScriptletClass
in interfaceJRReport
-
getScriptlets
public JRScriptlet[] getScriptlets()
- Specified by:
getScriptlets
in interfaceJRReport
-
getSortFields
public JRSortField[] getSortFields()
- Specified by:
getSortFields
in interfaceJRReport
-
getStyles
public JRStyle[] getStyles()
Description copied from interface:JRReport
Gets an array of report styles.
-
getSummary
public JRBand getSummary()
- Specified by:
getSummary
in interfaceJRReport
-
getTemplates
public JRReportTemplate[] getTemplates()
Description copied from interface:JRReport
Returns the list of report templates. A report template is an expression which resolves at runtime to atemplate
. Templates include styles which can be used in the report. The order in which the templates are included in the report is important:- A style's parent must appear before the style itself.
- A style overrides styles with the same name that are placed before it. Also, report styles override templates styles with the same name.
- Specified by:
getTemplates
in interfaceJRReport
- Returns:
- the list of report templates, or
null
if none - See Also:
JRTemplate
,JRParameter.REPORT_TEMPLATES
-
getTopMargin
public int getTopMargin()
- Specified by:
getTopMargin
in interfaceJRReport
-
getVariables
public JRVariable[] getVariables()
- Specified by:
getVariables
in interfaceJRReport
-
getVariable
protected JRVariable getVariable(String name)
-
getWhenNoDataType
public WhenNoDataTypeEnum getWhenNoDataType()
Description copied from interface:JRReport
Specifies the report behavior in case of empty datasources.- Specified by:
getWhenNoDataType
in interfaceJRReport
-
getSectionType
public SectionTypeEnum getSectionType()
Description copied from interface:JRReport
Specifies whether report sections are made of bands or of parts.- Specified by:
getSectionType
in interfaceJRReport
- Returns:
- a value representing one of the section type constants in
SectionTypeEnum
-
getWhenResourceMissingType
public WhenResourceMissingTypeEnum getWhenResourceMissingType()
Description copied from interface:JRReport
Returns the resource missing handling type.- Specified by:
getWhenResourceMissingType
in interfaceJRReport
-
isFloatColumnFooter
public boolean isFloatColumnFooter()
Description copied from interface:JRReport
Specifies if the column footer section will be printed at the bottom of the column or if it will immediately follow the last detail or group footer printed on the current column.- Specified by:
isFloatColumnFooter
in interfaceJRReport
-
isIgnorePagination
public boolean isIgnorePagination()
Description copied from interface:JRReport
Decides whether to use pagination when filling the report.If set to
true
the report will be generated on one long page.The design attribute can be overridden at fill time by the
IS_IGNORE_PAGINATION
parameter.- Specified by:
isIgnorePagination
in interfaceJRReport
- Returns:
- whether to use pagination when filling the report
-
isSummaryNewPage
public boolean isSummaryNewPage()
Description copied from interface:JRReport
Specifies if the summary section will be printed on a separate last page.- Specified by:
isSummaryNewPage
in interfaceJRReport
-
isSummaryWithPageHeaderAndFooter
public boolean isSummaryWithPageHeaderAndFooter()
Description copied from interface:JRReport
Specifies if the summary section will be accompanied by the page header and footer.- Specified by:
isSummaryWithPageHeaderAndFooter
in interfaceJRReport
-
isTitleNewPage
public boolean isTitleNewPage()
Description copied from interface:JRReport
Specifies if the title section will be printed on a separate initial page.- Specified by:
isTitleNewPage
in interfaceJRReport
-
removeProperty
public void removeProperty(String name)
- Specified by:
removeProperty
in interfaceJRReport
-
setProperty
public void setProperty(String name, String value)
- Specified by:
setProperty
in interfaceJRReport
-
setWhenNoDataType
public void setWhenNoDataType(WhenNoDataTypeEnum whenNoDataType)
Description copied from interface:JRReport
Sets the report behavior in case of empty datasources.- Specified by:
setWhenNoDataType
in interfaceJRReport
-
setWhenResourceMissingType
public void setWhenResourceMissingType(WhenResourceMissingTypeEnum whenResourceMissingType)
Description copied from interface:JRReport
Sets the resource missing handling type.- Specified by:
setWhenResourceMissingType
in interfaceJRReport
- Parameters:
whenResourceMissingType
- the resource missing handling type
-
getDefaultStyle
public JRStyle getDefaultStyle()
Description copied from interface:JRDefaultStyleProvider
Returns a default style.- Specified by:
getDefaultStyle
in interfaceJRDefaultStyleProvider
-
getStyleResolver
public StyleResolver getStyleResolver()
Description copied from interface:JRDefaultStyleProvider
Returns a style resolver.- Specified by:
getStyleResolver
in interfaceJRDefaultStyleProvider
-
getParentProperties
public JRPropertiesHolder getParentProperties()
Description copied from interface:JRPropertiesHolder
Returns the parent properties holder, whose properties are used as defaults for this object.- Specified by:
getParentProperties
in interfaceJRPropertiesHolder
- Returns:
- the parent properties holder, or
null
if no parent
-
getPropertiesMap
public JRPropertiesMap getPropertiesMap()
Description copied from interface:JRPropertiesHolder
Returns this object's properties map.- Specified by:
getPropertiesMap
in interfaceJRPropertiesHolder
- Returns:
- this object's properties map
-
hasProperties
public boolean hasProperties()
Description copied from interface:JRPropertiesHolder
Checks whether the object has any properties.- Specified by:
hasProperties
in interfaceJRPropertiesHolder
- Returns:
- whether the object has any properties
-
getPropertyExpressions
public DatasetPropertyExpression[] getPropertyExpressions()
Description copied from interface:JRReport
Returns the list of dynamic/expression-based properties for this report.- Specified by:
getPropertyExpressions
in interfaceJRReport
- Returns:
- an array containing the expression-based properties of this report
-
getUUID
public UUID getUUID()
- Specified by:
getUUID
in interfaceJRIdentifiable
-
isInteractiveTable
public boolean isInteractiveTable()
-
setTableInstanceIndex
public void setTableInstanceIndex(int instanceIndex)
-
-