net.sf.jasperreports.engine.fill
Class JRFillElementContainer
java.lang.Object
net.sf.jasperreports.engine.fill.JRFillElementGroup
net.sf.jasperreports.engine.fill.JRFillElementContainer
- All Implemented Interfaces:
- JRChild, JRCloneable, JRElementGroup
- Direct Known Subclasses:
- JRFillBand, JRFillCellContents, JRFillFrame.JRFillFrameElements
- public abstract class JRFillElementContainer
- extends JRFillElementGroup
Abstract implementation of an element container filler.
This is the base for band, frame and crosstab cell fillers.
- Version:
- $Id: JRFillElementContainer.java,v 1.7 2005/11/28 09:20:42 teodord Exp $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filler
protected JRBaseFiller filler
isOverflow
protected boolean isOverflow
JRFillElementContainer
protected JRFillElementContainer(JRBaseFiller filler,
JRElementGroup container,
JRFillObjectFactory factory)
JRFillElementContainer
protected JRFillElementContainer(JRFillElementContainer container,
JRFillCloneFactory factory)
initElements
protected final void initElements()
setElementsBandBottomY
protected final void setElementsBandBottomY()
evaluate
protected void evaluate(byte evaluation)
throws JRException
- Throws:
JRException
resetElements
protected void resetElements()
willOverflow
protected boolean willOverflow()
initFill
protected void initFill()
prepareElements
protected void prepareElements(int availableStretchHeight,
boolean isOverflowAllowed)
throws JRException
- Throws:
JRException
setStretchHeight
protected void setStretchHeight(int stretchHeight)
stretchElements
protected void stretchElements()
getStretchHeight
protected int getStretchHeight()
moveBandBottomElements
protected void moveBandBottomElements()
removeBlankElements
protected void removeBlankElements()
fillElements
protected void fillElements(JRPrintElementContainer printContainer)
throws JRException
- Throws:
JRException
addSubElements
protected void addSubElements(JRPrintElementContainer printContainer,
JRFillElement element,
java.util.Collection printElements)
rewind
protected void rewind()
throws JRException
- Throws:
JRException
getFirstY
protected int getFirstY()
getContainerHeight
protected abstract int getContainerHeight()
- Returns the height of the element container.
- Returns:
- the height of the element container
© 2001-2005 JasperSoft Corporation www.jaspersoft.com