Class VerticalFillList
java.lang.Object
net.sf.jasperreports.engine.component.BaseFillComponent
net.sf.jasperreports.components.list.BaseFillList
net.sf.jasperreports.components.list.VerticalFillList
- All Implemented Interfaces:
FillComponent,JRFillCloneable
Vertical fill list component implementation.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sf.jasperreports.components.list.BaseFillList
BaseFillList.AppendingPrintElementContainer -
Field Summary
Fields inherited from class net.sf.jasperreports.components.list.BaseFillList
contentsHeight, datasetRun, filling, fillStarted, printFrame, printFrameTemplatesFields inherited from class net.sf.jasperreports.engine.component.BaseFillComponent
fillContext, printElementOriginator -
Constructor Summary
ConstructorsModifierConstructorDescriptionVerticalFillList(ListComponent component, JRFillObjectFactory factory) protectedVerticalFillList(VerticalFillList list, JRFillCloneFactory factory) -
Method Summary
Modifier and TypeMethodDescriptioncreateClone(JRFillCloneFactory factory) Creates a working clone of itself.protected booleanfillContents(int availableHeight) prepare(int availableHeight) prepare(int availableHeight, boolean isOverflowAllowed) Prepares to fill the component by deciding whether the component will print, and how much vertical space it will require.voidrewind()The default implementation is empty.Methods inherited from class net.sf.jasperreports.components.list.BaseFillList
createDatasetExpressionEvaluator, createPrintFrame, evaluate, fill, getFrameTemplateMethods inherited from class net.sf.jasperreports.engine.component.BaseFillComponent
deduplicate, evaluateDelayedElement, evaluateExpression, initialize
-
Constructor Details
-
VerticalFillList
- Throws:
JRException
-
VerticalFillList
-
-
Method Details
-
prepare
-
prepare
Description copied from interface:FillComponentPrepares to fill the component by deciding whether the component will print, and how much vertical space it will require.- Parameters:
availableHeight- the amount of vertical space available for the component, starting from the top of the component element.isOverflowAllowed- flag indicating if overflow is allowed for the component.- Returns:
- the result of the preparation, which specifies whether the component will print and how much it will stretch vertically.
-
fillContents
- Throws:
JRException
-
createClone
Description copied from interface:JRFillCloneableCreates a working clone of itself.- Parameters:
factory- the clone factory to use while creating the clone- Returns:
- a working clone of itself
-
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 classBaseFillList
-