net.sf.jasperreports.engine.fill
public class JRFillRectangle extends JRFillGraphicElement implements JRRectangle
band, conditionalStylesContainer, currentEvaluation, currentStyle, defaultStyleProvider, delayedEvaluationsMap, dynamicProperties, elementGroup, expressionEvaluator, filler, initStyle, mergedProperties, originProvider, parent, printWhenGroupChanges, staticProperties, templates
FILL_SOLID, PEN_1_POINT, PEN_2_POINT, PEN_4_POINT, PEN_DOTTED, PEN_NONE, PEN_THIN
MODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT
Modifier | Constructor and Description |
---|---|
protected |
JRFillRectangle(JRBaseFiller filler,
JRRectangle rectangle,
JRFillObjectFactory factory) |
protected |
JRFillRectangle(JRFillRectangle rectangle,
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 void |
evaluate(byte evaluation) |
protected JRPrintElement |
fill() |
protected JRTemplateRectangle |
getJRTemplateRectangle() |
java.lang.Integer |
getOwnRadius() |
int |
getRadius()
Indicates the corner radius for rectangles with round corners.
|
protected void |
resolveElement(JRPrintElement element,
byte evaluation)
Resolves an element.
|
void |
setRadius(int radius)
Sets the corner radius for rectangles with round corners.
|
void |
setRadius(java.lang.Integer radius) |
void |
visit(JRVisitor visitor) |
getDefaultLineColor, getDefaultLineWidth, getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue, getOwnPen, getPen, prepare, rewind, setFill, setFill, setFill, setPen, setPen
addDependantElement, clone, clone, collectDelayedEvaluations, collectDelayedEvaluations, collectDelayedEvaluations, collectStyleDelayedEvaluations, delayedEvaluate, evaluateExpression, evaluatePrintWhenExpression, evaluateProperties, getBackcolor, getBand, getDefaultStyleProvider, getDependantElements, getElementGroup, getElementOrigin, getElementTemplate, getEvaluatedProperties, getEvaluationTimeValue, getField, getForecolor, getGroupElements, getHeight, getKey, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getRelativeY, getStretchHeight, getStretchType, getStretchTypeValue, getStyle, getStyleNameReference, getTemplate, getVariable, getWidth, getX, getY, hasProperties, initDelayedEvaluationPrint, initDelayedEvaluations, isAlreadyPrinted, isAutoEvaluateNow, isDelayedStyleEvaluation, isEvaluateAuto, isEvaluateNow, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isPrintWhenExpressionNull, isPrintWhenTrue, isRemoveLineWhenBlank, isReprinted, isToPrint, isValueRepeating, moveDependantElements, performDelayedEvaluation, registerTemplate, reset, resolveElement, setAlreadyPrinted, setBackcolor, setBand, setConditionalStylesContainer, setCurrentEvaluation, setForecolor, setHeight, setMode, setMode, setMode, setOriginProvider, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setPrintWhenExpressionNull, setPrintWhenTrue, setRelativeY, setRemoveLineWhenBlank, setReprinted, setShrinkable, setStretchHeight, setStretchType, setStretchType, setStyle, setStyleNameReference, setToPrint, setValueRepeating, setWidth, setX, setY, stretchElement, stretchHeightFinal, transferProperties, transferProperties
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOwnPen, getPen, setPen, setPen
getElementGroup, getKey, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setWidth, setX
clone
getParentProperties, getPropertiesMap, hasProperties
getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue, setFill, setFill, setFill
getBackcolor, getForecolor, getHeight, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultLineColor, getDefaultLineWidth
getDefaultStyleProvider, getStyle, getStyleNameReference
protected JRFillRectangle(JRBaseFiller filler, JRRectangle rectangle, JRFillObjectFactory factory)
protected JRFillRectangle(JRFillRectangle rectangle, JRFillCloneFactory factory)
public int getRadius()
JRCommonRectangle
getRadius
in interface JRCommonRectangle
public java.lang.Integer getOwnRadius()
getOwnRadius
in interface JRCommonRectangle
public void setRadius(int radius)
JRCommonRectangle
setRadius
in interface JRCommonRectangle
public void setRadius(java.lang.Integer radius)
setRadius
in interface JRCommonRectangle
protected JRTemplateRectangle getJRTemplateRectangle()
protected JRTemplateElement createElementTemplate()
createElementTemplate
in class JRFillElement
protected void evaluate(byte evaluation) throws JRException
evaluate
in class JRFillElement
JRException
protected JRPrintElement fill()
fill
in class JRFillElement
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElement
public void visit(JRVisitor visitor)
visit
in interface JRVisitable
protected void resolveElement(JRPrintElement element, byte evaluation)
JRFillElement
resolveElement
in class JRFillElement
element
- the elementevaluation
- the evaluation typepublic JRFillCloneable createClone(JRFillCloneFactory factory)
JRFillCloneable
createClone
in interface JRFillCloneable
factory
- the clone factory to use while creating the clone© 2001-2010 Jaspersoft Corporation www.jaspersoft.com