public abstract class BaseFillList extends BaseFillComponent
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 java.util.Map |
printFrameTemplates |
fillContext
Constructor and Description |
---|
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.
|
evaluateDelayedElement, evaluateExpression, initialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepare
protected final int contentsHeight
protected final FillDatasetRun datasetRun
protected java.util.Map printFrameTemplates
protected JRTemplatePrintFrame printFrame
protected boolean filling
protected boolean fillStarted
public BaseFillList(ListComponent component, JRFillObjectFactory factory) throws JRException
JRException
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)
.
evaluation
- the evaluation typeJRException
FillContext.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.
public void rewind()
BaseFillComponent
Override this method if something needs to be done on component rewind.
rewind
in interface FillComponent
rewind
in class BaseFillComponent
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com