|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.fill.JRFillElement
net.sf.jasperreports.engine.fill.JRFillSubreport
public class JRFillSubreport
| Field Summary |
|---|
| Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElement |
|---|
band, elementGroup, filler, parent, printWhenGroupChanges, template |
| 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 |
JRFillSubreport(JRBaseFiller filler,
JRSubreport subreport,
JRFillObjectFactory factory)
|
| Method Summary | |
|---|---|
void |
collectExpressions(JRExpressionCollector collector)
|
protected JRSubreportReturnValue |
createHelperReturnValue(JRSubreportReturnValue returnValue,
java.lang.String nameSuffix,
byte calculation)
|
protected void |
evaluate(byte evaluation)
|
protected JRPrintElement |
fill()
|
JRExpression |
getConnectionExpression()
|
JRChild |
getCopy(JRAbstractObjectFactory factory)
|
JRExpression |
getDataSourceExpression()
|
JRExpression |
getExpression()
|
protected JRReportFont[] |
getFonts()
|
protected JRTemplateRectangle |
getJRTemplateRectangle()
|
JRSubreportParameter[] |
getParameters()
|
JRExpression |
getParametersMapExpression()
|
protected java.util.Collection |
getPrintElements()
|
JRSubreportReturnValue[] |
getReturnValues()
Returns the list of subreport copied values. |
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. |
protected boolean |
prepare(int availableStretchHeight,
boolean isOverflow)
|
protected void |
resolveElement(JRPrintElement element,
byte evaluation)
Resolves an element. |
void |
rewind()
|
void |
run()
|
void |
setUsingCache(boolean isUsingCache)
Deprecated. |
void |
setUsingCache(java.lang.Boolean isUsingCache)
Specifies if the engine should be loading the current subreport from cache. |
void |
writeXml(JRXmlWriter xmlWriter)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jasperreports.engine.JRElement |
|---|
getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
| Constructor Detail |
|---|
protected JRFillSubreport(JRBaseFiller filler,
JRSubreport subreport,
JRFillObjectFactory factory)
| Method Detail |
|---|
public boolean isUsingCache()
JRSubreport
isUsingCache in interface JRSubreportpublic void setUsingCache(boolean isUsingCache)
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 JRSubreportprotected JRTemplateRectangle getJRTemplateRectangle()
protected JRReportFont[] getFonts()
protected java.util.Collection getPrintElements()
protected void evaluate(byte evaluation)
throws JRException
evaluate in class JRFillElementJRExceptionpublic void run()
run in interface java.lang.Runnable
protected boolean prepare(int availableStretchHeight,
boolean isOverflow)
prepare in class JRFillElement
public void rewind()
throws JRException
rewind in class JRFillElementJRExceptionprotected JRPrintElement fill()
fill in class JRFillElementpublic JRChild getCopy(JRAbstractObjectFactory factory)
getCopy in interface JRChildpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementpublic void writeXml(JRXmlWriter xmlWriter)
writeXml in interface JRChild
protected JRSubreportReturnValue createHelperReturnValue(JRSubreportReturnValue returnValue,
java.lang.String nameSuffix,
byte calculation)
public JRSubreportReturnValue[] getReturnValues()
JRSubreport
getReturnValues in interface JRSubreport
protected void resolveElement(JRPrintElement element,
byte evaluation)
JRFillElement
resolveElement in class JRFillElementelement - the elementevaluation - the evaluation typepublic 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 JRSubreport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||