public class JRFillFrame extends JRFillElement implements JRFrame
Modifier and Type | Class and Description |
---|---|
protected class |
JRFillFrame.JRFillFrameElements
Frame element container filler.
|
Modifier and Type | Field and Description |
---|---|
protected BorderSplitType |
borderSplitType |
protected JRLineBox |
lineBox |
protected JRFrame |
parentFrame |
band, conditionalStylesContainer, currentEvaluation, currentStyle, defaultStyleProvider, delayedEvaluationsMap, dynamicProperties, dynamicTransferProperties, elementGroup, expressionEvaluator, fillContainerContext, filler, initStyle, mergedProperties, originProvider, parent, printElementOriginator, printWhenGroupChanges, propertyExpressions, providerStyle, staticProperties, styleProviders, templates
PROPERTY_BORDER_SPLIT_TYPE
Modifier | Constructor and Description |
---|---|
|
JRFillFrame(JRBaseFiller filler,
JRFrame frame,
JRFillObjectFactory factory) |
protected |
JRFillFrame(JRFillFrame frame,
JRFillCloneFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
collectExpressions(JRExpressionCollector collector) |
JRFillCloneable |
createClone(JRFillCloneFactory factory)
Creates a working clone of itself.
|
protected JRTemplateElement |
createElementTemplate() |
protected JRTemplateFrame |
createFrameTemplate() |
protected boolean |
drawBotomBorderOnSplit() |
protected boolean |
drawTopBorderOnSplit() |
protected void |
evaluate(byte evaluation) |
protected JRPrintElement |
fill() |
BorderSplitType |
getBorderSplitType()
Determines how should the frames borders behave when the frame splits on two pages.
|
List<JRChild> |
getChildren()
Gets a list of all direct children elements or elements groups.
|
Color |
getDefaultLineColor() |
JRElement |
getElementByKey(String key)
Gets an element from this group, based on its element key.
|
JRElement[] |
getElements()
Gets an array containing all the elements and element groups in the hierarchy.
|
JRLineBox |
getLineBox() |
ModeEnum |
getModeValue()
Returns the element transparency mode.
|
protected JRTemplateFrame |
getTemplate() |
protected boolean |
prepare(int availableHeight,
boolean isOverflow) |
protected void |
resolveElement(JRPrintElement element,
byte evaluation)
Resolves an element.
|
protected void |
rewind() |
protected void |
setStretchHeight(int stretchHeight) |
protected boolean |
stretchElementToHeight(int stretchHeight)
This method returns a boolean signaling if any stretch change occurred.
|
protected void |
stretchHeightFinal()
Deprecated.
To be removed.
|
void |
visit(JRVisitor visitor) |
_moveDependantElements, _stretchElement, _stretchElementToHeight, addDependantElement, addDynamicProperty, clone, clone, clone, collectDelayedEvaluations, collectDelayedEvaluations, collectDelayedEvaluations, collectStyleDelayedEvaluations, collectStyleProviderDelayedEvaluations, delayedEvaluate, delayedEvaluationUpdatesTemplate, evaluateExpression, evaluatePrintWhenExpression, evaluateProperties, evaluateStyle, getBackcolor, getBand, getCollapsedHeightAbove, getCollapsedHeightBelow, getConditionalStylesContainer, getDefaultStyleProvider, getDependantElements, getDynamicProperties, getElementGroup, getElementOrigin, getElementTemplate, getEvaluatedProperties, getEvaluationTimeValue, getField, getFiller, getForecolor, getGroupElements, getHeight, getInitStyle, getKey, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParent, getParentProperties, getPositionTypeValue, getPrepareHeight, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getRelativeY, getStretchHeight, getStretchTypeValue, getStyle, getStyleNameReference, getStyleResolver, getTemplate, getUUID, getVariable, getWidth, getX, getY, hasDynamicProperties, hasDynamicProperty, hasProperties, initDelayedEvaluationPrint, initDelayedEvaluations, initStyleProviders, isAlreadyPrinted, isAutoEvaluateNow, isDelayedStyleEvaluation, isEvaluateAuto, isEvaluateNow, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isPrintWhenExpressionNull, isPrintWhenTrue, isRemoveLineWhenBlank, isReprinted, isToPrint, isValueRepeating, moveDependantElements, performDelayedEvaluation, registerTemplate, reset, resolveElement, setAlreadyPrinted, setBackcolor, setBand, setCollapsedHeightAbove, setCollapsedHeightBelow, setConditionalStylesContainer, setCurrentEvaluation, setExpressionEvaluator, setForecolor, setHeight, setMode, setOriginProvider, setPositionType, setPrepareHeight, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setPrintWhenExpressionNull, setPrintWhenTrue, setRelativeY, setRemoveLineWhenBlank, setReprinted, setShrinkable, setStretchType, setStyle, setStyleNameReference, setToPrint, setValueRepeating, setWidth, setX, setY, stretchElement, stretchElementToContainer, stretchElementToElementGroup, transferProperties, transferProperties
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
getBackcolor, getForecolor, getHeight, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
getUUID
getElementGroup
clone
protected final JRFrame parentFrame
protected final JRLineBox lineBox
protected final BorderSplitType borderSplitType
public JRFillFrame(JRBaseFiller filler, JRFrame frame, JRFillObjectFactory factory)
protected JRFillFrame(JRFillFrame frame, JRFillCloneFactory factory)
public ModeEnum getModeValue()
JRCommonElement
getModeValue
in interface JRCommonElement
getModeValue
in class JRFillElement
public Color getDefaultLineColor()
getDefaultLineColor
in interface JRBoxContainer
protected void evaluate(byte evaluation) throws JRException
evaluate
in class JRFillElement
JRException
protected void rewind() throws JRException
rewind
in class JRFillElement
JRException
protected boolean drawTopBorderOnSplit()
protected boolean drawBotomBorderOnSplit()
protected boolean prepare(int availableHeight, boolean isOverflow) throws JRException
prepare
in class JRFillElement
JRException
protected void setStretchHeight(int stretchHeight)
setStretchHeight
in class JRFillElement
protected void stretchHeightFinal()
JRFillElement
stretchHeightFinal
in class JRFillElement
protected boolean stretchElementToHeight(int stretchHeight)
JRFillElement
stretchElementToHeight
in class JRFillElement
protected JRPrintElement fill() throws JRException
fill
in class JRFillElement
JRException
protected JRTemplateFrame getTemplate()
protected JRTemplateFrame createFrameTemplate()
protected JRTemplateElement createElementTemplate()
createElementTemplate
in class JRFillElement
protected void resolveElement(JRPrintElement element, byte evaluation)
JRFillElement
resolveElement
in class JRFillElement
element
- the elementevaluation
- the evaluation typepublic JRElement[] getElements()
JRElementGroup
getElements
in interface JRElementGroup
public List<JRChild> getChildren()
JRElementGroup
getChildren
in interface JRElementGroup
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElement
public JRLineBox getLineBox()
getLineBox
in interface JRBoxContainer
public BorderSplitType getBorderSplitType()
JRFrame
getBorderSplitType
in interface JRFrame
JRFrame.PROPERTY_BORDER_SPLIT_TYPE
,
JRDesignFrame.setBorderSplitType(BorderSplitType)
public void visit(JRVisitor visitor)
visit
in interface JRVisitable
public JRElement getElementByKey(String key)
JRElementGroup
getElementByKey
in interface JRElementGroup
public JRFillCloneable createClone(JRFillCloneFactory factory)
JRFillCloneable
createClone
in interface JRFillCloneable
factory
- the clone factory to use while creating the cloneCopyright © 2017. All rights reserved.