public class TableSubreport extends ElementDecorator implements JRSubreport
Constructor and Description |
---|
TableSubreport(JRDatasetRun datasetRun,
JRComponentElement componentElement) |
Modifier and Type | Method and Description |
---|---|
JRExpression |
getConnectionExpression() |
JRExpression |
getDataSourceExpression() |
JRExpression |
getExpression() |
OverflowType |
getOverflowType() |
JRSubreportParameter[] |
getParameters() |
JRExpression |
getParametersMapExpression() |
JRSubreportReturnValue[] |
getReturnValues()
Returns the list of subreport copied values.
|
Boolean |
getUsingCache()
Indicates if the engine is loading the current subreport from cache.
|
Boolean |
isOwnUsingCache()
Deprecated.
Replaced by
getUsingCache() . |
Boolean |
isRunToBottom()
Specifies whether the subreport element will consume the entire vertical
space available on the report page.
|
boolean |
isUsingCache()
Deprecated.
Replaced by
getUsingCache() . |
void |
setOverflowType(OverflowType overflowType) |
void |
setRunToBottom(Boolean runToBottom)
Sets the flag that Specifies whether the subreport element will consume the
entire vertical space available on the report page.
|
void |
setUsingCache(Boolean isUsingCache)
Specifies if the engine should be loading the current subreport from cache.
|
clone, clone, clone, collectExpressions, getBackcolor, getDefaultStyleProvider, getElementGroup, getForecolor, getHeight, getKey, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getStretchTypeValue, getStyle, getStyleNameReference, getUUID, getWidth, getX, getY, hasProperties, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, setMode, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setWidth, setX, visit
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, collectExpressions, getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
visit
clone
getBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
getUUID
public TableSubreport(JRDatasetRun datasetRun, JRComponentElement componentElement)
public JRExpression getConnectionExpression()
getConnectionExpression
in interface JRSubreport
public JRExpression getDataSourceExpression()
getDataSourceExpression
in interface JRSubreport
public JRExpression getExpression()
getExpression
in interface JRSubreport
public JRSubreportParameter[] getParameters()
getParameters
in interface JRSubreport
public JRExpression getParametersMapExpression()
getParametersMapExpression
in interface JRSubreport
public JRSubreportReturnValue[] getReturnValues()
JRSubreport
getReturnValues
in interface JRSubreport
public Boolean isOwnUsingCache()
getUsingCache()
.JRSubreport
isOwnUsingCache
in interface JRSubreport
public Boolean getUsingCache()
JRSubreport
getUsingCache
in interface JRSubreport
public Boolean isRunToBottom()
JRSubreport
isRunToBottom
in interface JRSubreport
JRSubreport.setRunToBottom(Boolean)
public boolean isUsingCache()
getUsingCache()
.JRSubreport
isUsingCache
in interface JRSubreport
public void setRunToBottom(Boolean runToBottom)
JRSubreport
This flag should be set to true
if 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 isFloatColumnFooter
is set for the subreport, the column footers will not be printed at the bottom
of the page even if this flag is set.
setRunToBottom
in interface JRSubreport
runToBottom
- whether the subreport element will consume the entire
space down to the bottom of the pagepublic void setUsingCache(Boolean isUsingCache)
JRSubreport
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.
setUsingCache
in interface JRSubreport
public OverflowType getOverflowType()
getOverflowType
in interface JRSubreport
public void setOverflowType(OverflowType overflowType)
setOverflowType
in interface JRSubreport
Copyright © 2016. All rights reserved.