|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseElement
net.sf.jasperreports.engine.base.JRBaseSubreport
public class JRBaseSubreport
| Field Summary | |
|---|---|
protected JRExpression |
connectionExpression
|
protected JRExpression |
dataSourceExpression
|
protected JRExpression |
expression
|
protected Boolean |
isUsingCache
|
protected JRSubreportParameter[] |
parameters
|
protected JRExpression |
parametersMapExpression
|
static String |
PROPERTY_RUN_TO_BOTTOM
|
static String |
PROPERTY_USING_CACHE
|
protected JRSubreportReturnValue[] |
returnValues
Values to be copied from the subreport into the master report. |
| Constructor Summary | |
|---|---|
protected |
JRBaseSubreport(JRSubreport subreport,
JRBaseObjectFactory factory)
|
| Method Summary | |
|---|---|
Object |
clone()
|
void |
collectExpressions(JRExpressionCollector collector)
|
JRExpression |
getConnectionExpression()
|
JRExpression |
getDataSourceExpression()
|
JRExpression |
getExpression()
|
ModeEnum |
getModeValue()
Returns the element transparency mode. |
JRSubreportParameter[] |
getParameters()
|
JRExpression |
getParametersMapExpression()
|
JRSubreportReturnValue[] |
getReturnValues()
Returns the list of values to be copied from the subreport into the master. |
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 |
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. |
void |
visit(JRVisitor visitor)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jasperreports.engine.JRElement |
|---|
getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
| Methods inherited from interface net.sf.jasperreports.engine.JRChild |
|---|
clone |
| Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
|---|
getBackcolor, getForecolor, getHeight, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode |
| Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
|---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
| Methods inherited from interface net.sf.jasperreports.engine.JRIdentifiable |
|---|
getUUID |
| Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder |
|---|
getParentProperties, getPropertiesMap, hasProperties |
| Field Detail |
|---|
public static final String PROPERTY_USING_CACHE
public static final String PROPERTY_RUN_TO_BOTTOM
protected Boolean isUsingCache
protected JRExpression parametersMapExpression
protected JRSubreportParameter[] parameters
protected JRExpression connectionExpression
protected JRExpression dataSourceExpression
protected JRExpression expression
protected JRSubreportReturnValue[] returnValues
| Constructor Detail |
|---|
protected JRBaseSubreport(JRSubreport subreport,
JRBaseObjectFactory factory)
| Method Detail |
|---|
public ModeEnum getModeValue()
JRCommonElement
getModeValue in interface JRCommonElementgetModeValue in class JRBaseElementpublic boolean isUsingCache()
getUsingCache().
JRSubreport
isUsingCache in interface JRSubreportpublic JRExpression getParametersMapExpression()
getParametersMapExpression in interface JRSubreportpublic JRSubreportParameter[] getParameters()
getParameters in interface JRSubreportpublic JRExpression getConnectionExpression()
getConnectionExpression in interface JRSubreportpublic JRExpression getDataSourceExpression()
getDataSourceExpression in interface JRSubreportpublic JRExpression getExpression()
getExpression in interface JRSubreportpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementpublic void visit(JRVisitor visitor)
visit in interface JRVisitablepublic JRSubreportReturnValue[] getReturnValues()
getReturnValues in interface JRSubreportpublic Boolean isOwnUsingCache()
getUsingCache().
JRSubreport
isOwnUsingCache in interface JRSubreportpublic Boolean getUsingCache()
JRSubreport
getUsingCache in interface JRSubreportpublic void setUsingCache(Boolean isUsingCache)
JRSubreportIf 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 JRSubreportpublic Boolean isRunToBottom()
JRSubreport
isRunToBottom in interface JRSubreportJRSubreport.setRunToBottom(Boolean)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 JRSubreportrunToBottom - whether the subreport element will consume the entire
space down to the bottom of the pagepublic Object clone()
clone in interface JRCloneableclone in class JRBaseElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||