|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseElement
net.sf.jasperreports.engine.design.JRDesignElement
net.sf.jasperreports.engine.design.JRDesignGraphicElement
public abstract class JRDesignGraphicElement
This class contains functionality common to graphic elements at design time. It provides implementation for the methods described in JRTextElement.
Field Summary | |
---|---|
protected FillEnum |
fillValue
|
protected JRPen |
linePen
|
Fields inherited from class net.sf.jasperreports.engine.design.JRDesignElement |
---|
PROPERTY_ELEMENT_GROUP, PROPERTY_HEIGHT, PROPERTY_KEY, PROPERTY_PARENT_STYLE, PROPERTY_PARENT_STYLE_NAME_REFERENCE, PROPERTY_PRINT_WHEN_EXPRESSION, PROPERTY_PRINT_WHEN_GROUP_CHANGES, PROPERTY_PROPERTY_EXPRESSIONS, PROPERTY_Y |
Fields inherited from interface net.sf.jasperreports.engine.JRGraphicElement |
---|
FILL_SOLID, PEN_1_POINT, PEN_2_POINT, PEN_4_POINT, PEN_DOTTED, PEN_NONE, PEN_THIN |
Fields inherited from interface net.sf.jasperreports.engine.JRElement |
---|
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 |
Constructor Summary | |
---|---|
protected |
JRDesignGraphicElement(JRDefaultStyleProvider defaultStyleProvider)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.awt.Color |
getDefaultLineColor()
|
java.lang.Float |
getDefaultLineWidth()
|
byte |
getFill()
Deprecated. Replaced by getFillValue() |
FillEnum |
getFillValue()
Indicates the fill type used for this element. |
JRPen |
getLinePen()
|
java.lang.Byte |
getOwnFill()
Deprecated. Replaced by getOwnFillValue() |
FillEnum |
getOwnFillValue()
Indicates the own fill type used for this element. |
java.lang.Byte |
getOwnPen()
Deprecated. Replaced by getLinePen() |
byte |
getPen()
Deprecated. Replaced by getLinePen() |
void |
setFill(byte fill)
Deprecated. Replaced by setFill(FillEnum) |
void |
setFill(java.lang.Byte fill)
Deprecated. Replaced by setFill(FillEnum) |
void |
setFill(FillEnum fillValue)
Sets the fill type used for this element. |
void |
setPen(byte pen)
Deprecated. Replaced by getLinePen() |
void |
setPen(java.lang.Byte pen)
Deprecated. Replaced by getLinePen() |
Methods inherited from class net.sf.jasperreports.engine.design.JRDesignElement |
---|
addPropertyExpression, getPropertyExpressions, getPropertyExpressionsList, removePropertyExpression, removePropertyExpression, setElementGroup, setHeight, setKey, setPrintWhenExpression, setPrintWhenGroupChanges, setStyle, setStyleNameReference, setY |
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.JRElement |
---|
collectExpressions, 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 |
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.JRPropertiesHolder |
---|
getParentProperties, getPropertiesMap, hasProperties |
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
---|
getBackcolor, getForecolor, getHeight, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
Field Detail |
---|
protected JRPen linePen
protected FillEnum fillValue
Constructor Detail |
---|
protected JRDesignGraphicElement(JRDefaultStyleProvider defaultStyleProvider)
Method Detail |
---|
public JRPen getLinePen()
getLinePen
in interface JRCommonGraphicElement
public byte getPen()
getLinePen()
JRGraphicElement
getPen
in interface JRGraphicElement
public java.lang.Byte getOwnPen()
getLinePen()
getOwnPen
in interface JRGraphicElement
public void setPen(byte pen)
getLinePen()
JRGraphicElement
setPen
in interface JRGraphicElement
pen
- one of the pen constants in this classpublic void setPen(java.lang.Byte pen)
getLinePen()
setPen
in interface JRGraphicElement
public byte getFill()
getFillValue()
getFill
in interface JRCommonGraphicElement
public java.lang.Byte getOwnFill()
getOwnFillValue()
getOwnFill
in interface JRCommonGraphicElement
public void setFill(byte fill)
setFill(FillEnum)
setFill
in interface JRCommonGraphicElement
public void setFill(java.lang.Byte fill)
setFill(FillEnum)
setFill
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 java.lang.Float getDefaultLineWidth()
getDefaultLineWidth
in interface JRPenContainer
public java.awt.Color getDefaultLineColor()
getDefaultLineColor
in interface JRPenContainer
public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class JRBaseElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |