public class JRFillBand extends JRFillElementContainer implements JRBand, JROriginProvider
Modifier and Type | Field and Description |
---|---|
protected JROrigin |
origin |
atLeastOneElementIsToPrint, deepElements, evaluatedStyles, expressionEvaluator, filler, hasPrintWhenOverflowElement, isOverflow, stylesToEvaluate
bottomElementInGroup, children, elementGroup, elements, topElementInGroup
PROPERTY_SPLIT_TYPE
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) |
protected int |
getActualContainerHeight()
Returns the actual height of the element container.
|
int |
getBreakHeight() |
protected int |
getContainerHeight()
Returns the height of the element container.
|
int |
getHeight() |
protected int |
getId() |
JROrigin |
getOrigin()
Returns an element origin.
|
JRPropertiesHolder |
getParentProperties()
Returns the parent properties holder, whose properties are used as defaults
for this object.
|
JRExpression |
getPrintWhenExpression()
Returns the boolean expression that specifies if the band will be displayed.
|
JRPropertiesMap |
getPropertiesMap()
Returns this object's properties map.
|
List<ExpressionReturnValue> |
getReturnValues()
Returns the list of values to increment report variables with.
|
SplitTypeEnum |
getSplitTypeValue()
Specifies the band split behavior.
|
boolean |
hasProperties()
Checks whether the object has any properties.
|
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() |
protected boolean |
isSplitPrevented() |
protected boolean |
isToPrint() |
protected boolean |
isVariableUsedInReturns(String variableName) |
protected JRPrintBand |
refill(int availableHeight) |
void |
registerReturnValues(FillReturnValues fillReturnValues) |
protected void |
resetSavedVariables() |
protected void |
restoreSavedVariables() |
protected void |
saveVariable(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 |
setSplitType(SplitTypeEnum splitType) |
_initElements, _prepareElements, _removeBlankElements, _setStretchHeight, addSubElements, buildConsolidatedStyle, calculateStretchHeight, collectConditionalStyle, evaluateConditionalStyle, evaluateConditionalStyles, fillElements, getEvaluatedConditionalStyle, getFirstY, getStretchHeight, initConditionalStyles, initDeepElements, initElements, initFill, isCurrentOverflow, isCurrentOverflowAllowed, isLegacyElementStretchEnabled, moveBandBottomElements, prepareElements, prepareStretchHeight, removeBlankElements, resetElements, rewind, setElementOriginProvider, setStretchHeight, stretchElements, stretchElementsToContainer, stretchElementsToElementGroup, 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 SplitTypeEnum getSplitTypeValue()
JRBand
getSplitTypeValue
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 int getActualContainerHeight()
JRFillElementContainer
getActualContainerHeight
in class JRFillElementContainer
protected boolean isVariableUsedInReturns(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(String variableName)
protected void restoreSavedVariables()
protected boolean isEmpty()
protected boolean isPageBreakInhibited()
public boolean hasProperties()
JRPropertiesHolder
hasProperties
in interface JRPropertiesHolder
public JRPropertiesMap getPropertiesMap()
JRPropertiesHolder
getPropertiesMap
in interface JRPropertiesHolder
public JRPropertiesHolder getParentProperties()
JRPropertiesHolder
getParentProperties
in interface JRPropertiesHolder
null
if no parentpublic List<ExpressionReturnValue> getReturnValues()
JRBand
getReturnValues
in interface JRBand
public void registerReturnValues(FillReturnValues fillReturnValues)
Copyright © 2016. All rights reserved.