public abstract class BaseFillList extends BaseFillComponent implements JRFillCloneable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BaseFillList.AppendingPrintElementContainer |
| Modifier and Type | Field and Description |
|---|---|
protected int |
contentsHeight |
protected FillDatasetRun |
datasetRun |
protected boolean |
filling |
protected boolean |
fillStarted |
protected JRTemplatePrintFrame |
printFrame |
protected Map<JRStyle,JRTemplateFrame> |
printFrameTemplates |
elementId, fillContext, printElementOriginator| Modifier | Constructor and Description |
|---|---|
protected |
BaseFillList(BaseFillList list,
JRFillCloneFactory factory) |
|
BaseFillList(ListComponent component,
JRFillObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected JRFillExpressionEvaluator |
createDatasetExpressionEvaluator() |
protected void |
createPrintFrame() |
void |
evaluate(byte evaluation)
Evaluates the fill component.
|
JRPrintElement |
fill()
Fills the component by creating a print element which will be included
in the generated report.
|
protected JRTemplateFrame |
getFrameTemplate() |
void |
rewind()
The default implementation is empty.
|
deduplicate, evaluateDelayedElement, evaluateExpression, initializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCloneprepareprotected final int contentsHeight
protected final FillDatasetRun datasetRun
protected Map<JRStyle,JRTemplateFrame> printFrameTemplates
protected JRTemplatePrintFrame printFrame
protected boolean filling
protected boolean fillStarted
public BaseFillList(ListComponent component, JRFillObjectFactory factory) throws JRException
JRExceptionprotected BaseFillList(BaseFillList list, JRFillCloneFactory factory)
protected JRFillExpressionEvaluator createDatasetExpressionEvaluator()
public void evaluate(byte evaluation)
throws JRException
FillComponent
This method would evaluate the component expressions and store the
results to be used in FillComponent.fill().
If the component needs to delay the evaluation of some of its
expressions, it would call
FillContext.registerDelayedEvaluation(JRPrintElement, EvaluationTimeEnum, String)
to register a delayed evaluation print element, and perform the delayed
evaluations on FillComponent.evaluateDelayedElement(JRPrintElement, byte).
evaluate in interface FillComponentevaluation - the evaluation typeJRExceptionFillContext.evaluate(net.sf.jasperreports.engine.JRExpression, byte)protected void createPrintFrame()
protected JRTemplateFrame getFrameTemplate()
public JRPrintElement fill()
FillComponent
This method will get called only if FillComponent.prepare(int) returned
a result that indicated that the component will print.
fill in interface FillComponentpublic void rewind()
BaseFillComponentOverride this method if something needs to be done on component rewind.
rewind in interface FillComponentrewind in class BaseFillComponentCopyright © 2017. All rights reserved.