Class BaseFillList
java.lang.Object
net.sf.jasperreports.engine.component.BaseFillComponent
net.sf.jasperreports.components.list.BaseFillList
- All Implemented Interfaces:
FillComponent,JRFillCloneable
- Direct Known Subclasses:
HorizontalFillList,VerticalFillList
Base fill list component implementation.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intprotected final FillDatasetRunprotected booleanprotected booleanprotected JRTemplatePrintFrameprotected Map<JRStyle, JRTemplateFrame> Fields inherited from class net.sf.jasperreports.engine.component.BaseFillComponent
fillContext, printElementOriginator -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseFillList(BaseFillList list, JRFillCloneFactory factory) BaseFillList(ListComponent component, JRFillObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionprotected JRFillExpressionEvaluatorprotected voidvoidevaluate(byte evaluation) Evaluates the fill component.fill()Fills the component by creating a print element which will be included in the generated report.protected JRTemplateFramevoidrewind()The default implementation is empty.Methods inherited from class net.sf.jasperreports.engine.component.BaseFillComponent
deduplicate, evaluateDelayedElement, evaluateExpression, initializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.engine.component.FillComponent
prepare, prepareMethods inherited from interface net.sf.jasperreports.engine.fill.JRFillCloneable
createClone
-
Field Details
-
contentsHeight
protected final int contentsHeight -
datasetRun
-
printFrameTemplates
-
printFrame
-
filling
protected boolean filling -
fillStarted
protected boolean fillStarted
-
-
Constructor Details
-
BaseFillList
- Throws:
JRException
-
BaseFillList
-
-
Method Details
-
createDatasetExpressionEvaluator
-
evaluate
Description copied from interface:FillComponentEvaluates 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 onFillComponent.evaluateDelayedElement(JRPrintElement, byte).- Specified by:
evaluatein interfaceFillComponent- Parameters:
evaluation- the evaluation type- Throws:
JRException- See Also:
-
createPrintFrame
protected void createPrintFrame() -
getFrameTemplate
-
fill
Description copied from interface:FillComponentFills 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.- Specified by:
fillin interfaceFillComponent- Returns:
- the print element generated by the component
-
rewind
public void rewind()Description copied from class:BaseFillComponentThe default implementation is empty.Override this method if something needs to be done on component rewind.
- Specified by:
rewindin interfaceFillComponent- Overrides:
rewindin classBaseFillComponent
-