public class JRFillBand extends JRFillElementContainer implements JRBand, JROriginProvider
Modifier and Type | Field and Description |
---|---|
protected JROrigin |
origin |
deepElements, evaluatedStyles, expressionEvaluator, filler, firstYElement, hasPrintWhenOverflowElement, isOverflow, stylesToEvaluate
children, elementGroup, elements
PROPERTY_SPLIT_TYPE, SPLIT_TYPE_IMMEDIATE, SPLIT_TYPE_PREVENT, SPLIT_TYPE_STRETCH
Modifier | Constructor and Description |
---|---|
protected |
JRFillBand(JRBaseFiller filler,
JRBand band,
JRFillObjectFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected void |
addNowEvaluationTime(JREvaluationTime evaluationTime) |
protected void |
addNowEvaluationTimes(JREvaluationTime[] evaluationTimes) |
protected void |
evaluate(byte evaluation) |
protected void |
evaluatePrintWhenExpression(byte evaluation) |
protected JRPrintBand |
fill() |
protected JRPrintBand |
fill(int availableHeight) |
protected JRPrintBand |
fill(int availableHeight,
boolean isOverflowAllowed) |
int |
getBreakHeight() |
protected int |
getContainerHeight()
Returns the height of the element container.
|
int |
getHeight() |
protected int |
getId() |
JROrigin |
getOrigin()
Returns an element origin.
|
JRExpression |
getPrintWhenExpression()
Returns the boolean expression that specifies if the band will be displayed.
|
java.lang.Byte |
getSplitType()
Deprecated.
Replaced by
getSplitTypeValue() . |
SplitTypeEnum |
getSplitTypeValue()
Specifies the band split behavior.
|
protected boolean |
isEmpty() |
protected boolean |
isFirstWholeOnPageColumn()
Decides whether this band is the for whole band on the page/column.
|
protected boolean |
isNewGroup(JRGroup group) |
protected boolean |
isNewPageColumn() |
protected boolean |
isNowEvaluationTime(JREvaluationTime evaluationTime) |
protected boolean |
isPageBreakInhibited() |
protected boolean |
isPrintWhenExpressionNull() |
protected boolean |
isPrintWhenTrue() |
boolean |
isSplitAllowed()
Deprecated.
Replaced by
getSplitType() . |
protected boolean |
isSplitPrevented() |
protected boolean |
isToPrint() |
protected boolean |
isVariableUsedInSubreportReturns(java.lang.String variableName) |
protected JRPrintBand |
refill(int availableHeight) |
protected void |
resetSavedVariables() |
protected void |
restoreSavedVariables() |
protected void |
saveVariable(java.lang.String variableName) |
protected void |
setNewGroup(JRGroup group,
boolean isNew) |
protected void |
setNewPageColumn(boolean isNew) |
protected void |
setOrigin(JROrigin origin) |
protected void |
setPrintWhenTrue(boolean isPrintWhenTrue) |
void |
setSplitAllowed(boolean isSplitAllowed)
Deprecated.
Replaced by
setSplitType(Byte) . |
void |
setSplitType(java.lang.Byte splitType)
Deprecated.
Replaced by
setSplitType(SplitTypeEnum) . |
void |
setSplitType(SplitTypeEnum splitType) |
addSubElements, buildConsolidatedStyle, collectConditionalStyle, evaluateConditionalStyle, evaluateConditionalStyles, fillElements, getEvaluatedConditionalStyle, getFirstY, getStretchHeight, initConditionalStyles, initElements, initFill, moveBandBottomElements, prepareElements, removeBlankElements, resetElements, rewind, setElementOriginProvider, setStretchHeight, stretchElements, willOverflow
clone, clone, createClone, getChildren, getElementByKey, getElementGroup, getElements, getStretchHeightDiff, reset, visit
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, getElementByKey, getElementGroup, getElements
visit
clone
protected JROrigin origin
protected JRFillBand(JRBaseFiller filler, JRBand band, JRFillObjectFactory factory)
public JROrigin getOrigin()
JROriginProvider
getOrigin
in interface JROriginProvider
protected void setOrigin(JROrigin origin)
protected void setNewPageColumn(boolean isNew)
protected boolean isNewPageColumn()
protected boolean isFirstWholeOnPageColumn()
protected void setNewGroup(JRGroup group, boolean isNew)
protected boolean isNewGroup(JRGroup group)
public int getBreakHeight()
public boolean isSplitAllowed()
getSplitType()
.JRBand
isSplitAllowed
in interface JRBand
public void setSplitAllowed(boolean isSplitAllowed)
setSplitType(Byte)
.setSplitAllowed
in interface JRBand
public java.lang.Byte getSplitType()
getSplitTypeValue()
.JRBand
getSplitType
in interface JRBand
public SplitTypeEnum getSplitTypeValue()
JRBand
getSplitTypeValue
in interface JRBand
public void setSplitType(java.lang.Byte splitType)
setSplitType(SplitTypeEnum)
.setSplitType
in interface JRBand
public void setSplitType(SplitTypeEnum splitType)
setSplitType
in interface JRBand
public JRExpression getPrintWhenExpression()
JRBand
getPrintWhenExpression
in interface JRBand
protected boolean isSplitPrevented()
protected boolean isPrintWhenExpressionNull()
protected boolean isPrintWhenTrue()
protected void setPrintWhenTrue(boolean isPrintWhenTrue)
protected boolean isToPrint()
protected void evaluatePrintWhenExpression(byte evaluation) throws JRException
JRException
protected JRPrintBand refill(int availableHeight) throws JRException
JRException
protected JRPrintBand fill() throws JRException
JRException
protected JRPrintBand fill(int availableHeight) throws JRException
JRException
protected JRPrintBand fill(int availableHeight, boolean isOverflowAllowed) throws JRException
JRException
protected int getContainerHeight()
JRFillElementContainer
getContainerHeight
in class JRFillElementContainer
protected boolean isVariableUsedInSubreportReturns(java.lang.String variableName)
protected void addNowEvaluationTime(JREvaluationTime evaluationTime)
protected void addNowEvaluationTimes(JREvaluationTime[] evaluationTimes)
protected boolean isNowEvaluationTime(JREvaluationTime evaluationTime)
protected int getId()
protected void evaluate(byte evaluation) throws JRException
evaluate
in class JRFillElementContainer
JRException
protected void resetSavedVariables()
protected void saveVariable(java.lang.String variableName)
protected void restoreSavedVariables()
protected boolean isEmpty()
protected boolean isPageBreakInhibited()
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com