public abstract class JRBaseGraphicElement extends JRBaseElement implements JRGraphicElement
Modifier and Type | Field and Description |
---|---|
protected FillEnum |
fillValue |
protected JRPen |
linePen |
backcolor, defaultStyleProvider, elementGroup, forecolor, height, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, key, modeValue, parentStyle, parentStyleNameReference, positionTypeValue, printWhenExpression, printWhenGroupChanges, PROPERTY_POSITION_TYPE, PROPERTY_PRINT_IN_FIRST_WHOLE_BAND, PROPERTY_PRINT_REPEATED_VALUES, PROPERTY_PRINT_WHEN_DETAIL_OVERFLOWS, PROPERTY_REMOVE_LINE_WHEN_BLANK, PROPERTY_STRETCH_TYPE, PROPERTY_WIDTH, PROPERTY_X, stretchTypeValue, uuid, width, x, y
Modifier | Constructor and Description |
---|---|
protected |
JRBaseGraphicElement(JRGraphicElement graphicElement,
JRBaseObjectFactory factory)
Constructs an empty graphic element.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Color |
getDefaultLineColor() |
Float |
getDefaultLineWidth() |
FillEnum |
getFillValue()
Indicates the fill type used for this element.
|
JRPen |
getLinePen() |
FillEnum |
getOwnFillValue()
Indicates the own fill type used for this element.
|
void |
setFill(FillEnum fillValue)
Sets the fill type used for this element.
|
clone, clone, getBackcolor, getBaseStyle, getDefaultStyleProvider, getElementGroup, getEventSupport, getForecolor, getHeight, getKey, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getStretchTypeValue, getStyle, getStyleNameReference, getStyleResolver, getUUID, getWidth, getX, getY, hasProperties, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, collectExpressions, getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
visit
getParentProperties, getPropertiesMap, hasProperties
getUUID
getBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
protected JRBaseGraphicElement(JRGraphicElement graphicElement, JRBaseObjectFactory factory)
graphicElement
- an element whose properties are copied to this element. Usually it is a
JRDesignGraphicElement
that must be transformed into an
JRBaseGraphicElement at compile time.factory
- a factory used in the compile processpublic JRPen getLinePen()
getLinePen
in interface JRCommonGraphicElement
public FillEnum getFillValue()
JRCommonGraphicElement
getFillValue
in interface JRCommonGraphicElement
FillEnum
public FillEnum getOwnFillValue()
JRCommonGraphicElement
getOwnFillValue
in interface JRCommonGraphicElement
FillEnum
public void setFill(FillEnum fillValue)
JRCommonGraphicElement
setFill
in interface JRCommonGraphicElement
fillValue
- a value representing one of the line direction constants in FillEnum
public Float getDefaultLineWidth()
getDefaultLineWidth
in interface JRPenContainer
public Color getDefaultLineColor()
getDefaultLineColor
in interface JRPenContainer
public Object clone()
clone
in interface JRCloneable
clone
in class JRBaseElement
Copyright © 2016. All rights reserved.