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 classTableReport.BandRowInfoprotected classTableReport.CellInfoprotected classTableReport.ColumnHeaderCreatorprotected classTableReport.DetailBandCreatorprotected classTableReport.GroupFooterCreatorprotected classTableReport.GroupHeaderCreatorprotected classTableReport.PageFooterCreatorprotected classTableReport.ReportBandCreatorprotected classTableReport.ReportBandInfoprotected classTableReport.ReverseReportBandCreatorprotected classTableReport.SummaryCreatorprotected classTableReport.SummaryGroupFooterPrintWhenEvaluatorprotected static classTableReport.TableIndexPropertiesprotected classTableReport.TitleCreator
-
Field Summary
Fields Modifier and Type Field Description static StringEXCEPTION_MESSAGE_KEY_FIELD_NOT_FOUNDstatic StringEXCEPTION_MESSAGE_KEY_UNKNOWN_CHILD_TYPEstatic StringEXCEPTION_MESSAGE_KEY_UNRECOGNIZED_FILTER_EXPRESSION_TYPEstatic StringEXCEPTION_MESSAGE_KEY_VARIABLE_NOT_FOUNDprotected static StringHTML_CLASS_CELLprotected static StringHTML_CLASS_CELL_PREFIXstatic StringMETADATA_KEY_QUALIFICATIONstatic StringPROPERTY_ACCESSIBLE_TABLEProperty that enables/disables the automatic addition of specific custom properties to the elements that make up the table and its cells.static StringPROPERTY_COLUMN_FIELDColumn property that specifies the field to be used for sorting, filtering and conditional formattingstatic StringPROPERTY_COLUMN_FILTERABLEColumn property that enables/disables filteringstatic StringPROPERTY_COLUMN_SORTABLEColumn property that enables/disables sortingstatic StringPROPERTY_COLUMN_VARIABLEColumn property that specifies the variable to be used for sorting, filtering and conditional formattingstatic StringPROPERTY_DOWN_ARROW_CHARGlobal property that specifies the character to be used on the column header when the tables's column is sorted descendingstatic StringPROPERTY_FILTER_CHARGlobal property that specifies the character to be used on the column header when the tables's column has a filtered appliedstatic StringPROPERTY_FLOATING_HEADERProperty that enables/disables the floating header in the table component when scrolling.static StringPROPERTY_GENERATE_TABLE_PDF_TAGSDeprecated.Replaced byPROPERTY_ACCESSIBLE_TABLE.static StringPROPERTY_ICON_FONTGlobal property that specifies the font to be used for the icons on the column headerstatic StringPROPERTY_INTERACTIVE_TABLEProperty that enables/disables the interactivity in the table componentstatic StringPROPERTY_TABLE_NAMEProperty that provides a name for table.static StringPROPERTY_UP_ARROW_CHARGlobal property that specifies the character to be used on the column header when the tables's column is sorted ascendingprotected static StringSUMMARY_GROUP_NAMEstatic StringTABLE_HEADER_ICON_LABEL_MATCHER_EXPORT_KEYstatic StringTABLE_HEADER_LABEL_MATCHER_EXPORT_KEYprotected static StringTABLE_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 voidaddSummaryGroup(List<FillColumn> fillColumns)protected intcomputeTableWidth(List<FillColumn> fillColumns)protected JRElementcreateCell(JRElementGroup parentGroup, BaseCell cell, int originalWidth, int width, int x, int y, Integer columnHashCode, UUID uuid, boolean forceFrame)protected JRElementcreateCellElement(JRElementGroup elementGroup, BaseCell cell, int originalWidth, int width, int x, int y, Integer columnHashCode)protected JRDesignBandcreateColumnHeader(List<FillColumn> fillColumns)protected JRBandcreateDetailBand(List<FillColumn> fillColumns)protected JRBandcreateGroupFooter(String groupName, List<FillColumn> fillColumns)protected JRBandcreateGroupHeader(String groupName, List<FillColumn> fillColumns)protected JRDesignBandcreateNoData(BaseCell cell)protected JRDesignBandcreatePageFooter(List<FillColumn> fillColumns)protected JRDesignBandcreateSummary(List<FillColumn> fillColumns)protected JRDesignBandcreateTitle(List<FillColumn> fillColumns)JRBandgetBackground()intgetBottomMargin()intgetColumnCount()Gets the number of columns on each pageRunDirectionEnumgetColumnDirection()Specifies whether columns will be filled from left to right or from right to left.JRBandgetColumnFooter()JRBandgetColumnHeader()intgetColumnSpacing()Specifies the space between columns on the same page.intgetColumnWidth()JRDataset[]getDatasets()Returns the datasets of this report.JRStylegetDefaultStyle()Returns a default style.JRBandgetDetail()Deprecated.JRSectiongetDetailSection()protected JRFieldgetField(String name)JRField[]getFields()StringgetFormatFactoryClass()Gets the name of the class implementing theFormatFactoryinterface to use with this report.protected TimeZonegetFormatTimeZone(JRTextField textField, Class<?> valueClass)JRGroup[]getGroups()String[]getImports()Gets an array of imports (needed if report expression require additional classes in order to compile).StringgetLanguage()Gets the report language.JRBandgetLastPageFooter()intgetLeftMargin()JRDatasetgetMainDataset()Returns the main report dataset.StringgetName()Gets the report name.JRBandgetNoData()OrientationEnumgetOrientationValue()Specifies whether document pages will be rendered in a portrait or landscape layout.JRBandgetPageFooter()JRBandgetPageHeader()intgetPageHeight()intgetPageWidth()JRParameter[]getParameters()JRPropertiesHoldergetParentProperties()Returns the parent properties holder, whose properties are used as defaults for this object.PrintOrderEnumgetPrintOrderValue()Specifies whether columns will be filled horizontally or vertically.JRPropertiesMapgetPropertiesMap()Returns this object's properties map.StringgetProperty(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.JRQuerygetQuery()StringgetResourceBundle()Gets the base name of the report associated resource bundle.intgetRightMargin()StringgetScriptletClass()JRScriptlet[]getScriptlets()SectionTypeEnumgetSectionType()Specifies whether report sections are made of bands or of parts.JRSortField[]getSortFields()StyleResolvergetStyleResolver()Returns a style resolver.JRStyle[]getStyles()Gets an array of report styles.JRBandgetSummary()JRReportTemplate[]getTemplates()Returns the list of report templates.JRBandgetTitle()intgetTopMargin()UUIDgetUUID()protected JRVariablegetVariable(String name)JRVariable[]getVariables()WhenNoDataTypeEnumgetWhenNoDataTypeValue()Specifies the report behavior in case of empty datasources.WhenResourceMissingTypeEnumgetWhenResourceMissingTypeValue()Returns the resource missing handling type.booleanhasProperties()Checks whether the object has any properties.protected booleanisAccessibleTable()booleanisFloatColumnFooter()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.booleanisIgnorePagination()Decides whether to use pagination when filling the report.booleanisInteractiveTable()booleanisSummaryNewPage()Specifies if the summary section will be printed on a separate last page.booleanisSummaryWithPageHeaderAndFooter()Specifies if the summary section will be accompanied by the page header and footer.booleanisTitleNewPage()Specifies if the title section will be printed on a separate initial page.voidremoveProperty(String name)protected voidscaleCellElement(JRElement element, Integer cellWidth, int scaledCellWidth)voidsetProperty(String name, String value)voidsetTableInstanceIndex(int instanceIndex)voidsetWhenNoDataType(WhenNoDataTypeEnum whenNoDataType)Sets the report behavior in case of empty datasources.voidsetWhenResourceMissingType(WhenResourceMissingTypeEnum whenResourceMissingType)Sets the resource missing handling type.protected JRSectionwrapBand(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_TABLEtofalse, 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:
getBackgroundin interfaceJRReport
-
getBottomMargin
public int getBottomMargin()
- Specified by:
getBottomMarginin interfaceJRReport
-
getColumnCount
public int getColumnCount()
Description copied from interface:JRReportGets the number of columns on each page- Specified by:
getColumnCountin interfaceJRReport
-
getColumnFooter
public JRBand getColumnFooter()
- Specified by:
getColumnFooterin interfaceJRReport
-
getColumnHeader
public JRBand getColumnHeader()
- Specified by:
getColumnHeaderin interfaceJRReport
-
getColumnSpacing
public int getColumnSpacing()
Description copied from interface:JRReportSpecifies the space between columns on the same page.- Specified by:
getColumnSpacingin interfaceJRReport
-
getColumnWidth
public int getColumnWidth()
- Specified by:
getColumnWidthin interfaceJRReport
-
getDatasets
public JRDataset[] getDatasets()
Description copied from interface:JRReportReturns the datasets of this report.- Specified by:
getDatasetsin interfaceJRReport- Returns:
- the datasets of this report
-
getDetail
@Deprecated public JRBand getDetail()
Deprecated.
-
getDetailSection
public JRSection getDetailSection()
- Specified by:
getDetailSectionin interfaceJRReport
-
getFormatFactoryClass
public String getFormatFactoryClass()
Description copied from interface:JRReportGets the name of the class implementing theFormatFactoryinterface to use with this report.- Specified by:
getFormatFactoryClassin interfaceJRReport
-
getImports
public String[] getImports()
Description copied from interface:JRReportGets an array of imports (needed if report expression require additional classes in order to compile).- Specified by:
getImportsin interfaceJRReport
-
getLanguage
public String getLanguage()
Description copied from interface:JRReportGets the report language. Should be Java or Groovy.- Specified by:
getLanguagein interfaceJRReport
-
getLastPageFooter
public JRBand getLastPageFooter()
- Specified by:
getLastPageFooterin interfaceJRReport
-
getLeftMargin
public int getLeftMargin()
- Specified by:
getLeftMarginin interfaceJRReport
-
getMainDataset
public JRDataset getMainDataset()
Description copied from interface:JRReportReturns the main report dataset.The main report dataset consists of all parameters, fields, variables and groups of the report.
- Specified by:
getMainDatasetin interfaceJRReport- Returns:
- the main report dataset
-
getOrientationValue
public OrientationEnum getOrientationValue()
Description copied from interface:JRReportSpecifies whether document pages will be rendered in a portrait or landscape layout.- Specified by:
getOrientationValuein interfaceJRReport- Returns:
- a value representing one of the orientation constants in
OrientationEnum
-
getPageFooter
public JRBand getPageFooter()
- Specified by:
getPageFooterin interfaceJRReport
-
getPageHeader
public JRBand getPageHeader()
- Specified by:
getPageHeaderin interfaceJRReport
-
getPageHeight
public int getPageHeight()
- Specified by:
getPageHeightin interfaceJRReport
-
getPageWidth
public int getPageWidth()
- Specified by:
getPageWidthin interfaceJRReport
-
getParameters
public JRParameter[] getParameters()
- Specified by:
getParametersin interfaceJRReport
-
getPrintOrderValue
public PrintOrderEnum getPrintOrderValue()
Description copied from interface:JRReportSpecifies whether columns will be filled horizontally or vertically.- Specified by:
getPrintOrderValuein interfaceJRReport- Returns:
- a value representing one of the print order constants in
PrintOrderEnum
-
getColumnDirection
public RunDirectionEnum getColumnDirection()
Description copied from interface:JRReportSpecifies whether columns will be filled from left to right or from right to left.- Specified by:
getColumnDirectionin interfaceJRReport- Returns:
- a value representing one of the column direction constants in
RunDirectionEnum
-
getProperty
public String getProperty(String name)
Description copied from interface:JRReportGets a property value- Specified by:
getPropertyin interfaceJRReport- Parameters:
name- the property name
-
getPropertyNames
public String[] getPropertyNames()
Description copied from interface:JRReportGets an array of report properties names.- Specified by:
getPropertyNamesin interfaceJRReport
-
getResourceBundle
public String getResourceBundle()
Description copied from interface:JRReportGets the base name of the report associated resource bundle.- Specified by:
getResourceBundlein interfaceJRReport
-
getRightMargin
public int getRightMargin()
- Specified by:
getRightMarginin interfaceJRReport
-
getScriptletClass
public String getScriptletClass()
- Specified by:
getScriptletClassin interfaceJRReport
-
getScriptlets
public JRScriptlet[] getScriptlets()
- Specified by:
getScriptletsin interfaceJRReport
-
getSortFields
public JRSortField[] getSortFields()
- Specified by:
getSortFieldsin interfaceJRReport
-
getStyles
public JRStyle[] getStyles()
Description copied from interface:JRReportGets an array of report styles.
-
getSummary
public JRBand getSummary()
- Specified by:
getSummaryin interfaceJRReport
-
getTemplates
public JRReportTemplate[] getTemplates()
Description copied from interface:JRReportReturns 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:
getTemplatesin interfaceJRReport- Returns:
- the list of report templates, or
nullif none - See Also:
JRTemplate,JRParameter.REPORT_TEMPLATES
-
getTopMargin
public int getTopMargin()
- Specified by:
getTopMarginin interfaceJRReport
-
getVariables
public JRVariable[] getVariables()
- Specified by:
getVariablesin interfaceJRReport
-
getVariable
protected JRVariable getVariable(String name)
-
getWhenNoDataTypeValue
public WhenNoDataTypeEnum getWhenNoDataTypeValue()
Description copied from interface:JRReportSpecifies the report behavior in case of empty datasources.- Specified by:
getWhenNoDataTypeValuein interfaceJRReport
-
getSectionType
public SectionTypeEnum getSectionType()
Description copied from interface:JRReportSpecifies whether report sections are made of bands or of parts.- Specified by:
getSectionTypein interfaceJRReport- Returns:
- a value representing one of the section type constants in
SectionTypeEnum
-
getWhenResourceMissingTypeValue
public WhenResourceMissingTypeEnum getWhenResourceMissingTypeValue()
Description copied from interface:JRReportReturns the resource missing handling type.- Specified by:
getWhenResourceMissingTypeValuein interfaceJRReport
-
isFloatColumnFooter
public boolean isFloatColumnFooter()
Description copied from interface:JRReportSpecifies 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:
isFloatColumnFooterin interfaceJRReport
-
isIgnorePagination
public boolean isIgnorePagination()
Description copied from interface:JRReportDecides whether to use pagination when filling the report.If set to
truethe report will be generated on one long page.The design attribute can be overridden at fill time by the
IS_IGNORE_PAGINATIONparameter.- Specified by:
isIgnorePaginationin interfaceJRReport- Returns:
- whether to use pagination when filling the report
-
isSummaryNewPage
public boolean isSummaryNewPage()
Description copied from interface:JRReportSpecifies if the summary section will be printed on a separate last page.- Specified by:
isSummaryNewPagein interfaceJRReport
-
isSummaryWithPageHeaderAndFooter
public boolean isSummaryWithPageHeaderAndFooter()
Description copied from interface:JRReportSpecifies if the summary section will be accompanied by the page header and footer.- Specified by:
isSummaryWithPageHeaderAndFooterin interfaceJRReport
-
isTitleNewPage
public boolean isTitleNewPage()
Description copied from interface:JRReportSpecifies if the title section will be printed on a separate initial page.- Specified by:
isTitleNewPagein interfaceJRReport
-
removeProperty
public void removeProperty(String name)
- Specified by:
removePropertyin interfaceJRReport
-
setProperty
public void setProperty(String name, String value)
- Specified by:
setPropertyin interfaceJRReport
-
setWhenNoDataType
public void setWhenNoDataType(WhenNoDataTypeEnum whenNoDataType)
Description copied from interface:JRReportSets the report behavior in case of empty datasources.- Specified by:
setWhenNoDataTypein interfaceJRReport
-
setWhenResourceMissingType
public void setWhenResourceMissingType(WhenResourceMissingTypeEnum whenResourceMissingType)
Description copied from interface:JRReportSets the resource missing handling type.- Specified by:
setWhenResourceMissingTypein interfaceJRReport- Parameters:
whenResourceMissingType- the resource missing handling type
-
getDefaultStyle
public JRStyle getDefaultStyle()
Description copied from interface:JRDefaultStyleProviderReturns a default style.- Specified by:
getDefaultStylein interfaceJRDefaultStyleProvider
-
getStyleResolver
public StyleResolver getStyleResolver()
Description copied from interface:JRDefaultStyleProviderReturns a style resolver.- Specified by:
getStyleResolverin interfaceJRDefaultStyleProvider
-
getParentProperties
public JRPropertiesHolder getParentProperties()
Description copied from interface:JRPropertiesHolderReturns the parent properties holder, whose properties are used as defaults for this object.- Specified by:
getParentPropertiesin interfaceJRPropertiesHolder- Returns:
- the parent properties holder, or
nullif no parent
-
getPropertiesMap
public JRPropertiesMap getPropertiesMap()
Description copied from interface:JRPropertiesHolderReturns this object's properties map.- Specified by:
getPropertiesMapin interfaceJRPropertiesHolder- Returns:
- this object's properties map
-
hasProperties
public boolean hasProperties()
Description copied from interface:JRPropertiesHolderChecks whether the object has any properties.- Specified by:
hasPropertiesin interfaceJRPropertiesHolder- Returns:
- whether the object has any properties
-
getPropertyExpressions
public DatasetPropertyExpression[] getPropertyExpressions()
Description copied from interface:JRReportReturns the list of dynamic/expression-based properties for this report.- Specified by:
getPropertyExpressionsin interfaceJRReport- Returns:
- an array containing the expression-based properties of this report
-
getUUID
public UUID getUUID()
- Specified by:
getUUIDin interfaceJRIdentifiable
-
isInteractiveTable
public boolean isInteractiveTable()
-
setTableInstanceIndex
public void setTableInstanceIndex(int instanceIndex)
-
-