|
||||||||||
| 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 java.lang.Boolean |
isUsingCache
|
protected JRSubreportParameter[] |
parameters
|
protected JRExpression |
parametersMapExpression
|
static java.lang.String |
PROPERTY_USING_CACHE
|
protected JRSubreportReturnValue[] |
returnValues
Values to be copied from the subreport into the master report. |
| Fields inherited from interface net.sf.jasperreports.engine.JRElement |
|---|
MODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT |
| Constructor Summary | |
|---|---|
protected |
JRBaseSubreport(JRSubreport subreport,
JRBaseObjectFactory factory)
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
void |
collectExpressions(JRExpressionCollector collector)
|
JRExpression |
getConnectionExpression()
|
JRExpression |
getDataSourceExpression()
|
JRExpression |
getExpression()
|
byte |
getMode()
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. |
java.lang.Boolean |
isOwnUsingCache()
Indicates if the engine is loading the current subreport from cache. |
boolean |
isUsingCache()
Indicates if the engine is loading the current subreport from cache. |
void |
setUsingCache(boolean isUsingCache)
Deprecated. Replaced by setUsingCache(Boolean). |
void |
setUsingCache(java.lang.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, getHeight, getKey, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, 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, getOwnBackcolor, getOwnForecolor, getOwnMode |
| Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
|---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
| Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder |
|---|
getParentProperties, getPropertiesMap, hasProperties |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_USING_CACHE
protected java.lang.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 byte getMode()
JRCommonElement
getMode in interface JRCommonElementgetMode in class JRBaseElementpublic boolean isUsingCache()
JRSubreport
isUsingCache in interface JRSubreportpublic void setUsingCache(boolean isUsingCache)
setUsingCache(Boolean).
JRSubreportFor subreports that have expressions returning java.lang.String objects as the subreport source, representing file names, URLs or classpath resources, the default value for this flag is true.
setUsingCache 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 java.lang.Boolean isOwnUsingCache()
JRSubreport
isOwnUsingCache in interface JRSubreportpublic void setUsingCache(java.lang.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 java.lang.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 | |||||||||