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
public class VerticalFillList extends BaseFillList
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, printFrameTemplates
-
Fields inherited from class net.sf.jasperreports.engine.component.BaseFillComponent
fillContext, printElementOriginator
-
-
Constructor Summary
Constructors Modifier Constructor Description VerticalFillList(ListComponent component, JRFillObjectFactory factory)protectedVerticalFillList(VerticalFillList list, JRFillCloneFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRFillCloneablecreateClone(JRFillCloneFactory factory)Creates a working clone of itself.protected booleanfillContents(int availableHeight)FillPrepareResultprepare(int availableHeight)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, getFrameTemplate
-
Methods inherited from class net.sf.jasperreports.engine.component.BaseFillComponent
deduplicate, evaluateDelayedElement, evaluateExpression, initialize
-
-
-
-
Constructor Detail
-
VerticalFillList
public VerticalFillList(ListComponent component, JRFillObjectFactory factory) throws JRException
- Throws:
JRException
-
VerticalFillList
protected VerticalFillList(VerticalFillList list, JRFillCloneFactory factory)
-
-
Method Detail
-
prepare
public FillPrepareResult prepare(int availableHeight)
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.- Returns:
- the result of the preparation, which specifies whether the component will print and how much it will stretch vertically.
-
fillContents
protected boolean fillContents(int availableHeight) throws JRException- Throws:
JRException
-
createClone
public JRFillCloneable createClone(JRFillCloneFactory factory)
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
-
-