net.sf.jasperreports.engine.fill
Class JRFillBand
java.lang.Object
net.sf.jasperreports.engine.fill.JRFillElementGroup
net.sf.jasperreports.engine.fill.JRFillElementContainer
net.sf.jasperreports.engine.fill.JRFillBand
- All Implemented Interfaces:
- java.lang.Cloneable, JRFillCloneable, JRBand, JRChild, JRCloneable, JRElementGroup, JRVisitable
public class JRFillBand
- extends JRFillElementContainer
- implements JRBand
- Version:
- $Id: JRFillBand.java 1836 2007-08-31 15:02:00Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElementContainer |
addSubElements, buildConsolidatedStyle, collectConditionalStyle, evaluateConditionalStyle, evaluateConditionalStyles, fillElements, getEvaluatedConditionalStyle, getFirstY, getStretchHeight, initConditionalStyles, initElements, initFill, moveBandBottomElements, prepareElements, removeBlankElements, resetElements, rewind, setElementsBandBottomY, setStretchHeight, stretchElements, willOverflow |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRChild |
clone |
origin
protected JROrigin origin
JRFillBand
protected JRFillBand(JRBaseFiller filler,
JRBand band,
JRFillObjectFactory factory)
getOrigin
protected JROrigin getOrigin()
setOrigin
protected void setOrigin(JROrigin origin)
setNewPageColumn
protected void setNewPageColumn(boolean isNew)
isNewPageColumn
protected boolean isNewPageColumn()
isFirstWholeOnPageColumn
protected boolean isFirstWholeOnPageColumn()
- Decides whether this band is the for whole band on the page/column.
- Returns:
- whether this band is the for whole band on the page/column
setNewGroup
protected void setNewGroup(JRGroup group,
boolean isNew)
isNewGroup
protected boolean isNewGroup(JRGroup group)
getHeight
public int getHeight()
- Specified by:
getHeight
in interface JRBand
isSplitAllowed
public boolean isSplitAllowed()
- Description copied from interface:
JRBand
- Specifies if the band can be splitted between two pages.
- Specified by:
isSplitAllowed
in interface JRBand
setSplitAllowed
public void setSplitAllowed(boolean isSplitAllowed)
- Specified by:
setSplitAllowed
in interface JRBand
getPrintWhenExpression
public JRExpression getPrintWhenExpression()
- Description copied from interface:
JRBand
- Returns the boolean expression that specifies if the band will be displayed.
- Specified by:
getPrintWhenExpression
in interface JRBand
isPrintWhenExpressionNull
protected boolean isPrintWhenExpressionNull()
isPrintWhenTrue
protected boolean isPrintWhenTrue()
setPrintWhenTrue
protected void setPrintWhenTrue(boolean isPrintWhenTrue)
isToPrint
protected boolean isToPrint()
evaluatePrintWhenExpression
protected void evaluatePrintWhenExpression(byte evaluation)
throws JRException
- Throws:
JRException
refill
protected JRPrintBand refill(int availableStretchHeight)
throws JRException
- Throws:
JRException
fill
protected JRPrintBand fill()
throws JRException
- Throws:
JRException
fill
protected JRPrintBand fill(int availableStretchHeight)
throws JRException
- Throws:
JRException
fill
protected JRPrintBand fill(int availableStretchHeight,
boolean isOverflowAllowed)
throws JRException
- Throws:
JRException
getContainerHeight
protected int getContainerHeight()
- Description copied from class:
JRFillElementContainer
- Returns the height of the element container.
- Specified by:
getContainerHeight
in class JRFillElementContainer
- Returns:
- the height of the element container
isVariableUsedInSubreportReturns
protected boolean isVariableUsedInSubreportReturns(java.lang.String variableName)
addNowEvaluationTime
protected void addNowEvaluationTime(JREvaluationTime evaluationTime)
addNowEvaluationTimes
protected void addNowEvaluationTimes(JREvaluationTime[] evaluationTimes)
isNowEvaluationTime
protected boolean isNowEvaluationTime(JREvaluationTime evaluationTime)
getId
protected int getId()
evaluate
protected void evaluate(byte evaluation)
throws JRException
- Overrides:
evaluate
in class JRFillElementContainer
- Throws:
JRException
resetSavedVariables
protected void resetSavedVariables()
saveVariable
protected void saveVariable(java.lang.String variableName)
restoreSavedVariables
protected void restoreSavedVariables()
isEmpty
protected boolean isEmpty()
© 2001-2006 JasperSoft Corporation www.jaspersoft.com