net.sf.jasperreports.components.list
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
public class HorizontalFillList
- extends BaseFillList
Horizontal fill list component implementation.
- Version:
- $Id: HorizontalFillList.java 4595 2011-09-08 15:55:10Z teodord $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
|
Method Summary |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HorizontalFillList
public HorizontalFillList(ListComponent component,
JRFillObjectFactory factory)
throws JRException
- Throws:
JRException
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 interface FillComponent- Overrides:
rewind in class BaseFillList
Copyright © 2012. All Rights Reserved.