Class SubreportElementAdapter
java.lang.Object
net.sf.jasperreports.engine.ElementDecorator
net.sf.jasperreports.components.subreport.fill.SubreportElementAdapter
- All Implemented Interfaces:
 Cloneable,JRChild,JRCloneable,JRCommonElement,JRElement,JRIdentifiable,JRPropertiesHolder,JRStyleContainer,JRSubreport,JRVisitable
- Author:
 - Lucian Chirita (lucianc@users.sourceforge.net)
 
- 
Field Summary
Fields inherited from interface net.sf.jasperreports.engine.JRElement
PROPERTY_ELEMENT_TEMPLATE_POPULATE_STYLE - 
Constructor Summary
ConstructorsConstructorDescriptionSubreportElementAdapter(JRDatasetRun datasetRun, JRComponentElement componentElement)  - 
Method Summary
Modifier and TypeMethodDescriptionReturns the list of subreport copied values.Indicates if the engine is loading the current subreport from cache.Specifies whether the subreport element will consume the entire vertical space available on the report page.voidsetOverflowType(OverflowType overflowType) voidsetRunToBottom(Boolean runToBottom) Sets the flag that Specifies whether the subreport element will consume the entire vertical space available on the report page.voidsetUsingCache(Boolean isUsingCache) Specifies if the engine should be loading the current subreport from cache.Methods inherited from class net.sf.jasperreports.engine.ElementDecorator
clone, clone, clone, collectExpressions, getBackcolor, getDefaultStyleProvider, getElementGroup, getForecolor, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getParentProperties, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getStretchType, getStyle, getStyleExpression, getStyleNameReference, getUUID, getWidth, getX, getY, hasProperties, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX, visitMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.engine.JRCloneable
cloneMethods inherited from interface net.sf.jasperreports.engine.JRCommonElement
getBackcolor, getForecolor, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getWidth, setBackcolor, setForecolor, setModeMethods inherited from interface net.sf.jasperreports.engine.JRElement
clone, collectExpressions, getElementGroup, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getStyleExpression, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setXMethods inherited from interface net.sf.jasperreports.engine.JRIdentifiable
getUUIDMethods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder
getParentProperties, getPropertiesMap, hasPropertiesMethods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleName, getStyleNameReferenceMethods inherited from interface net.sf.jasperreports.engine.JRVisitable
visit 
- 
Constructor Details
- 
SubreportElementAdapter
 
 - 
 - 
Method Details
- 
getConnectionExpression
- Specified by:
 getConnectionExpressionin interfaceJRSubreport
 - 
getDataSourceExpression
- Specified by:
 getDataSourceExpressionin interfaceJRSubreport
 - 
getExpression
- Specified by:
 getExpressionin interfaceJRSubreport
 - 
getParameters
- Specified by:
 getParametersin interfaceJRSubreport
 - 
getParametersMapExpression
- Specified by:
 getParametersMapExpressionin interfaceJRSubreport
 - 
getReturnValues
Description copied from interface:JRSubreportReturns the list of subreport copied values.- Specified by:
 getReturnValuesin interfaceJRSubreport- Returns:
 - the list of subreport copied values.
 
 - 
getUsingCache
Description copied from interface:JRSubreportIndicates if the engine is loading the current subreport from cache. Implementations of this method return the actual value for the internal flag that was explicitly set on this subreport.- Specified by:
 getUsingCachein interfaceJRSubreport- Returns:
 - Boolean.TRUE if the subreport should be loaded from cache, Boolean.FALSE otherwise or null in case the flag was never explicitly set on this subreport element
 
 - 
isRunToBottom
Description copied from interface:JRSubreportSpecifies whether the subreport element will consume the entire vertical space available on the report page.- Specified by:
 isRunToBottomin interfaceJRSubreport- Returns:
 - whether the subreport element will consume the entire space down to the bottom of the page
 - See Also:
 
 - 
setRunToBottom
Description copied from interface:JRSubreportSets the flag that Specifies whether the subreport element will consume the entire vertical space available on the report page.This flag should be set to
trueif the subreport needs to always print its column and page footers at the bottom of the report page, even when the subreport data does not stretch to the bottom.Note that when
isFloatColumnFooteris set for the subreport, the column footers will not be printed at the bottom of the page even if this flag is set.- Specified by:
 setRunToBottomin interfaceJRSubreport- Parameters:
 runToBottom- whether the subreport element will consume the entire space down to the bottom of the page
 - 
setUsingCache
Description copied from interface:JRSubreportSpecifies if the engine should be loading the current subreport from cache. If set to Boolean.TRUE, the reporting engine will try to recognize previously loaded subreports using their specified source. For example, it will recognize an subreport if the subreport source is a file name that it has already loaded, or if it is the same URL.If set to null, the engine will rely on some default value which depends on the type of the subreport expression. The cache is turned on by default only for subreports that have java.lang.String objects in their expressions.
- Specified by:
 setUsingCachein interfaceJRSubreport
 - 
getOverflowType
- Specified by:
 getOverflowTypein interfaceJRSubreport
 - 
setOverflowType
- Specified by:
 setOverflowTypein interfaceJRSubreport
 
 -