|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseReport
public class JRBaseReport
| Field Summary | |
|---|---|
protected JRBand |
background
|
protected int |
bottomMargin
|
protected int |
columnCount
|
protected JRBand |
columnFooter
|
protected JRBand |
columnHeader
|
protected int |
columnSpacing
|
protected int |
columnWidth
|
protected JRReportFont |
defaultFont
|
protected JRBand |
detail
|
protected JRField[] |
fields
|
protected JRReportFont[] |
fonts
|
protected JRGroup[] |
groups
|
protected java.util.Set |
importsSet
|
protected boolean |
isFloatColumnFooter
|
protected boolean |
isSummaryNewPage
|
protected boolean |
isTitleNewPage
|
protected java.lang.String |
language
|
protected JRBand |
lastPageFooter
|
protected int |
leftMargin
|
protected java.lang.String |
name
|
protected byte |
orientation
|
protected JRBand |
pageFooter
|
protected JRBand |
pageHeader
|
protected int |
pageHeight
|
protected int |
pageWidth
|
protected JRParameter[] |
parameters
|
protected byte |
printOrder
|
protected java.util.Map |
propertiesMap
|
protected JRQuery |
query
|
protected java.lang.String |
resourceBundle
|
protected int |
rightMargin
|
protected java.lang.String |
scriptletClass
|
protected JRBand |
summary
|
protected JRBand |
title
|
protected int |
topMargin
|
protected JRVariable[] |
variables
|
protected byte |
whenNoDataType
|
protected byte |
whenResourceMissingType
The resource missing handling type. |
| Fields inherited from interface net.sf.jasperreports.engine.JRReport |
|---|
LANGUAGE_JAVA, ORIENTATION_LANDSCAPE, ORIENTATION_PORTRAIT, PRINT_ORDER_HORIZONTAL, PRINT_ORDER_VERTICAL, WHEN_NO_DATA_TYPE_ALL_SECTIONS_NO_DETAIL, WHEN_NO_DATA_TYPE_BLANK_PAGE, WHEN_NO_DATA_TYPE_NO_PAGES, WHEN_RESOURCE_MISSING_TYPE_EMPTY, WHEN_RESOURCE_MISSING_TYPE_ERROR, WHEN_RESOURCE_MISSING_TYPE_KEY, WHEN_RESOURCE_MISSING_TYPE_NULL |
| Constructor Summary | |
|---|---|
JRBaseReport()
|
|
JRBaseReport(JRReport report)
|
|
| Method Summary | |
|---|---|
JRBand |
getBackground()
|
int |
getBottomMargin()
|
int |
getColumnCount()
Gets the number of columns on each page |
JRBand |
getColumnFooter()
|
JRBand |
getColumnHeader()
|
int |
getColumnSpacing()
Specifies the space between columns on the same page. |
int |
getColumnWidth()
|
JRReportFont |
getDefaultFont()
Returns a default font. |
JRBand |
getDetail()
|
JRField[] |
getFields()
|
JRReportFont[] |
getFonts()
Gets an array of report fonts. |
JRGroup[] |
getGroups()
|
java.lang.String[] |
getImports()
Gets an array of imports (needed if report expression require additional classes in order to compile). |
java.lang.String |
getLanguage()
Gets the report language. |
JRBand |
getLastPageFooter()
|
int |
getLeftMargin()
|
java.lang.String |
getName()
Gets the report name. |
byte |
getOrientation()
|
JRBand |
getPageFooter()
|
JRBand |
getPageHeader()
|
int |
getPageHeight()
|
int |
getPageWidth()
|
JRParameter[] |
getParameters()
|
byte |
getPrintOrder()
Specifies whether columns will be filled horizontally or vertically. |
java.lang.String |
getProperty(java.lang.String propName)
Gets a property value |
java.lang.String[] |
getPropertyNames()
Gets an array of report properties names. |
JRQuery |
getQuery()
|
java.lang.String |
getResourceBundle()
Gets the base name of the report associated resource bundle. |
int |
getRightMargin()
|
java.lang.String |
getScriptletClass()
|
JRBand |
getSummary()
|
JRBand |
getTitle()
|
int |
getTopMargin()
|
JRVariable[] |
getVariables()
|
byte |
getWhenNoDataType()
Specifies the report behaviour in case of empty datasources. |
byte |
getWhenResourceMissingType()
Returns the resource missing handling type. |
boolean |
isFloatColumnFooter()
Specifie 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 |
isSummaryNewPage()
Specifies if the summary section will be printed on a separate last page. |
boolean |
isTitleNewPage()
Specifies if the title section will be printed on a separate initial page. |
void |
removeProperty(java.lang.String propName)
|
void |
setProperty(java.lang.String propName,
java.lang.String value)
|
void |
setWhenNoDataType(byte whenNoDataType)
Sets the report behaviour in case of empty datasources. |
void |
setWhenResourceMissingType(byte whenResourceMissingType)
Sets the resource missing handling type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
protected java.lang.String language
protected int columnCount
protected byte printOrder
protected int pageWidth
protected int pageHeight
protected byte orientation
protected byte whenNoDataType
protected int columnWidth
protected int columnSpacing
protected int leftMargin
protected int rightMargin
protected int topMargin
protected int bottomMargin
protected boolean isTitleNewPage
protected boolean isSummaryNewPage
protected boolean isFloatColumnFooter
protected java.lang.String scriptletClass
protected java.lang.String resourceBundle
protected byte whenResourceMissingType
protected java.util.Map propertiesMap
protected java.util.Set importsSet
protected JRReportFont defaultFont
protected JRReportFont[] fonts
protected JRParameter[] parameters
protected JRQuery query
protected JRField[] fields
protected JRVariable[] variables
protected JRGroup[] groups
protected JRBand background
protected JRBand title
protected JRBand pageHeader
protected JRBand columnHeader
protected JRBand detail
protected JRBand columnFooter
protected JRBand pageFooter
protected JRBand lastPageFooter
protected JRBand summary
| Constructor Detail |
|---|
public JRBaseReport()
public JRBaseReport(JRReport report)
| Method Detail |
|---|
public java.lang.String getName()
JRReport
getName in interface JRReportpublic java.lang.String getLanguage()
JRReport
getLanguage in interface JRReportpublic int getColumnCount()
JRReport
getColumnCount in interface JRReportpublic byte getPrintOrder()
JRReport
getPrintOrder in interface JRReportPRINT_ORDER_VERTICAL,,
PRINT_ORDER_HORIZONTALpublic int getPageWidth()
getPageWidth in interface JRReportpublic int getPageHeight()
getPageHeight in interface JRReportpublic byte getOrientation()
getOrientation in interface JRReportpublic byte getWhenNoDataType()
JRReport
getWhenNoDataType in interface JRReportpublic void setWhenNoDataType(byte whenNoDataType)
JRReport
setWhenNoDataType in interface JRReportpublic int getColumnWidth()
getColumnWidth in interface JRReportpublic int getColumnSpacing()
JRReport
getColumnSpacing in interface JRReportpublic int getLeftMargin()
getLeftMargin in interface JRReportpublic int getRightMargin()
getRightMargin in interface JRReportpublic int getTopMargin()
getTopMargin in interface JRReportpublic int getBottomMargin()
getBottomMargin in interface JRReportpublic boolean isTitleNewPage()
JRReport
isTitleNewPage in interface JRReportpublic boolean isSummaryNewPage()
JRReport
isSummaryNewPage in interface JRReportpublic boolean isFloatColumnFooter()
JRReport
isFloatColumnFooter in interface JRReportpublic java.lang.String getScriptletClass()
getScriptletClass in interface JRReportpublic java.lang.String getResourceBundle()
JRReport
getResourceBundle in interface JRReportpublic java.lang.String[] getPropertyNames()
JRReport
getPropertyNames in interface JRReportpublic java.lang.String getProperty(java.lang.String propName)
JRReport
getProperty in interface JRReportpropName - the property name
public void setProperty(java.lang.String propName,
java.lang.String value)
setProperty in interface JRReportpublic void removeProperty(java.lang.String propName)
removeProperty in interface JRReportpublic java.lang.String[] getImports()
JRReport
getImports in interface JRReportpublic JRReportFont getDefaultFont()
JRDefaultFontProvider
getDefaultFont in interface JRDefaultFontProviderpublic JRReportFont[] getFonts()
JRReport
getFonts in interface JRReportpublic JRParameter[] getParameters()
getParameters in interface JRReportpublic JRQuery getQuery()
getQuery in interface JRReportpublic JRField[] getFields()
getFields in interface JRReportpublic JRVariable[] getVariables()
getVariables in interface JRReportpublic JRGroup[] getGroups()
getGroups in interface JRReportpublic JRBand getBackground()
getBackground in interface JRReportpublic JRBand getTitle()
getTitle in interface JRReportpublic JRBand getPageHeader()
getPageHeader in interface JRReportpublic JRBand getColumnHeader()
getColumnHeader in interface JRReportpublic JRBand getDetail()
getDetail in interface JRReportpublic JRBand getColumnFooter()
getColumnFooter in interface JRReportpublic JRBand getPageFooter()
getPageFooter in interface JRReportpublic JRBand getLastPageFooter()
getLastPageFooter in interface JRReportpublic JRBand getSummary()
getSummary in interface JRReportpublic byte getWhenResourceMissingType()
JRReport
getWhenResourceMissingType in interface JRReportpublic void setWhenResourceMissingType(byte whenResourceMissingType)
JRReport
setWhenResourceMissingType in interface JRReportwhenResourceMissingType - the resource missing handling type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||