net.sf.jasperreports.components.list
Class BaseFillList
java.lang.Object
net.sf.jasperreports.engine.component.BaseFillComponent
net.sf.jasperreports.components.list.BaseFillList
- All Implemented Interfaces:
- FillComponent
- Direct Known Subclasses:
- HorizontalFillList, VerticalFillList
public abstract class BaseFillList
- extends BaseFillComponent
Base fill list component implementation.
- Version:
- $Id: BaseFillList.java 4648 2011-10-10 12:50:53Z lucianc $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentsHeight
protected final int contentsHeight
datasetRun
protected final FillDatasetRun datasetRun
printFrameTemplates
protected java.util.Map<JRStyle,JRTemplateFrame> printFrameTemplates
printFrame
protected JRTemplatePrintFrame printFrame
filling
protected boolean filling
fillStarted
protected boolean fillStarted
BaseFillList
public BaseFillList(ListComponent component,
JRFillObjectFactory factory)
throws JRException
- Throws:
JRException
createDatasetExpressionEvaluator
protected JRFillExpressionEvaluator createDatasetExpressionEvaluator()
evaluate
public void evaluate(byte evaluation)
throws JRException
- Description copied from interface:
FillComponent
- Evaluates the fill component.
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)
.
- Parameters:
evaluation
- the evaluation type
- Throws:
JRException
- See Also:
FillContext.evaluate(net.sf.jasperreports.engine.JRExpression, byte)
createPrintFrame
protected void createPrintFrame()
getFrameTemplate
protected JRTemplateFrame getFrameTemplate()
fill
public JRPrintElement fill()
- Description copied from interface:
FillComponent
- Fills the component by creating a print element which will be included
in the generated report.
This method will get called only if FillComponent.prepare(int)
returned
a result that indicated that the component will print.
- Returns:
- the print element generated by the component
rewind
public void rewind()
- Description copied from class:
BaseFillComponent
- The default implementation is empty.
Override this method if something needs to be done on component rewind.
- Specified by:
rewind
in interface FillComponent
- Overrides:
rewind
in class BaseFillComponent
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com