|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.fill.JRFillElementGroup
net.sf.jasperreports.engine.fill.JRFillElementContainer
net.sf.jasperreports.engine.fill.JRFillBand
public class JRFillBand
Field Summary | |
---|---|
protected JROrigin |
origin
|
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElementContainer |
---|
deepElements, evaluatedStyles, expressionEvaluator, filler, firstYElement, hasPrintWhenOverflowElement, isOverflow, stylesToEvaluate |
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElementGroup |
---|
children, elementGroup, elements |
Fields inherited from interface net.sf.jasperreports.engine.JRBand |
---|
PROPERTY_SPLIT_TYPE, SPLIT_TYPE_IMMEDIATE, SPLIT_TYPE_PREVENT, SPLIT_TYPE_STRETCH |
Constructor Summary | |
---|---|
protected |
JRFillBand(JRBaseFiller filler,
JRBand band,
JRFillObjectFactory factory)
|
Method Summary | |
---|---|
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)
|
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, setElementOriginProvider, setStretchHeight, stretchElements, willOverflow |
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElementGroup |
---|
clone, clone, createClone, getChildren, getElementByKey, getElementGroup, getElements, getStretchHeightDiff, reset, visit |
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.JRElementGroup |
---|
getChildren, getElementByKey, getElementGroup, getElements |
Methods inherited from interface net.sf.jasperreports.engine.JRChild |
---|
clone |
Methods inherited from interface net.sf.jasperreports.engine.JRVisitable |
---|
visit |
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
---|
clone |
Field Detail |
---|
protected JROrigin origin
Constructor Detail |
---|
protected JRFillBand(JRBaseFiller filler, JRBand band, JRFillObjectFactory factory)
Method Detail |
---|
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 getHeight()
getHeight
in interface JRBand
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |