public class JRFillBand extends JRFillElementContainer implements JRBand, JROriginProvider
| Modifier and Type | Field and Description |
|---|---|
protected JROrigin |
origin |
atLeastOneElementIsToPrint, deepElements, evaluatedStyles, expressionEvaluator, filler, hasPrintWhenOverflowElement, isOverflow, stylesToEvaluatebottomElementInGroup, children, elementGroup, elements, topElementInGroupPROPERTY_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, willOverflowclone, clone, createClone, getChildren, getElementByKey, getElementGroup, getElements, getStretchHeightDiff, reset, visitequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildren, getElementByKey, getElementGroup, getElementsvisitcloneprotected JROrigin origin
protected JRFillBand(JRBaseFiller filler, JRBand band, JRFillObjectFactory factory)
public JROrigin getOrigin()
JROriginProvidergetOrigin in interface JROriginProviderprotected 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()
JRBandgetSplitTypeValue in interface JRBandpublic void setSplitType(SplitTypeEnum splitType)
setSplitType in interface JRBandpublic JRExpression getPrintWhenExpression()
JRBandgetPrintWhenExpression in interface JRBandprotected boolean isSplitPrevented()
protected boolean isPrintWhenExpressionNull()
protected boolean isPrintWhenTrue()
protected void setPrintWhenTrue(boolean isPrintWhenTrue)
protected boolean isToPrint()
protected void evaluatePrintWhenExpression(byte evaluation)
throws JRException
JRExceptionprotected JRPrintBand refill(int availableHeight) throws JRException
JRExceptionprotected JRPrintBand fill() throws JRException
JRExceptionprotected JRPrintBand fill(int availableHeight) throws JRException
JRExceptionprotected JRPrintBand fill(int availableHeight, boolean isOverflowAllowed) throws JRException
JRExceptionprotected int getContainerHeight()
JRFillElementContainergetContainerHeight in class JRFillElementContainerprotected int getActualContainerHeight()
JRFillElementContainergetActualContainerHeight in class JRFillElementContainerprotected 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 JRFillElementContainerJRExceptionprotected void resetSavedVariables()
protected void saveVariable(String variableName)
protected void restoreSavedVariables()
protected boolean isEmpty()
protected boolean isPageBreakInhibited()
public boolean hasProperties()
JRPropertiesHolderhasProperties in interface JRPropertiesHolderpublic JRPropertiesMap getPropertiesMap()
JRPropertiesHoldergetPropertiesMap in interface JRPropertiesHolderpublic JRPropertiesHolder getParentProperties()
JRPropertiesHoldergetParentProperties in interface JRPropertiesHoldernull if no parentpublic List<ExpressionReturnValue> getReturnValues()
JRBandgetReturnValues in interface JRBandpublic void registerReturnValues(FillReturnValues fillReturnValues)
Copyright © 2017. All rights reserved.