Class HorizontalFillList
- java.lang.Object
-
- net.sf.jasperreports.engine.component.BaseFillComponent
-
- net.sf.jasperreports.components.list.BaseFillList
-
- net.sf.jasperreports.components.list.HorizontalFillList
-
- All Implemented Interfaces:
FillComponent
,JRFillCloneable
public class HorizontalFillList extends BaseFillList
Horizontal 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 Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_ROW_OVERFLOW
-
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 protected
HorizontalFillList(HorizontalFillList list, JRFillCloneFactory factory)
HorizontalFillList(ListComponent component, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRFillCloneable
createClone(JRFillCloneFactory factory)
Creates a working clone of itself.protected void
fillRow(int columnCount)
protected FillListContents
getContents(int columnIndex)
FillPrepareResult
prepare(int availableHeight)
Prepares to fill the component by deciding whether the component will print, and how much vertical space it will require.void
rewind()
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
-
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_ROW_OVERFLOW
public static final String EXCEPTION_MESSAGE_KEY_ROW_OVERFLOW
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HorizontalFillList
public HorizontalFillList(ListComponent component, JRFillObjectFactory factory) throws JRException
- Throws:
JRException
-
HorizontalFillList
protected HorizontalFillList(HorizontalFillList list, JRFillCloneFactory factory)
-
-
Method Detail
-
prepare
public FillPrepareResult prepare(int availableHeight)
Description copied from interface:FillComponent
Prepares 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.
-
fillRow
protected void fillRow(int columnCount) throws JRException
- Throws:
JRException
-
getContents
protected FillListContents getContents(int columnIndex)
-
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 interfaceFillComponent
- Overrides:
rewind
in classBaseFillList
-
createClone
public JRFillCloneable createClone(JRFillCloneFactory factory)
Description copied from interface:JRFillCloneable
Creates a working clone of itself.- Parameters:
factory
- the clone factory to use while creating the clone- Returns:
- a working clone of itself
-
-