|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.fill.JRTemplateElement
net.sf.jasperreports.engine.fill.JRTemplateGraphicElement
public abstract class JRTemplateGraphicElement
Base class consisting of graphic print element information shared by multiple print element instances.
| Field Summary | |
|---|---|
protected JRPen |
linePen
|
| Fields inherited from class net.sf.jasperreports.engine.fill.JRTemplateElement |
|---|
defaultStyleProvider, origin, parentStyle |
| Constructor Summary | |
|---|---|
protected |
JRTemplateGraphicElement(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider)
|
protected |
JRTemplateGraphicElement(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider,
JRGraphicElement graphicElement)
|
| Method Summary | |
|---|---|
void |
copyLinePen(JRPen pen)
Copies pen attributes. |
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. |
protected void |
setGraphicElement(JRGraphicElement graphicElement)
|
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.fill.JRTemplateElement |
|---|
getBackcolor, getBaseStyle, getDefaultStyleProvider, getForecolor, getHeight, getId, getKey, getMode, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getWidth, hasProperties, setBackcolor, setElement, setForecolor, setKey, setMode, setMode, setMode, setStyle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
|---|
getBackcolor, getForecolor, getHeight, getKey, 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
| Constructor Detail |
|---|
protected JRTemplateGraphicElement(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider)
protected JRTemplateGraphicElement(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider,
JRGraphicElement graphicElement)
| Method Detail |
|---|
protected void setGraphicElement(JRGraphicElement graphicElement)
public void copyLinePen(JRPen pen)
pen attributes.
pen - the object to copy the attributes frompublic JRPen getLinePen()
getLinePen in interface JRCommonGraphicElementpublic byte getPen()
getLinePen()
public java.lang.Byte getOwnPen()
getLinePen()
public void setPen(byte pen)
getLinePen()
public void setPen(java.lang.Byte pen)
getLinePen()
public byte getFill()
getFillValue()
getFill in interface JRCommonGraphicElementpublic java.lang.Byte getOwnFill()
getOwnFillValue()
getOwnFill in interface JRCommonGraphicElementpublic void setFill(byte fill)
setFill(FillEnum)
setFill in interface JRCommonGraphicElementpublic void setFill(java.lang.Byte fill)
setFill(FillEnum)
setFill in interface JRCommonGraphicElementpublic FillEnum getFillValue()
JRCommonGraphicElement
getFillValue in interface JRCommonGraphicElementFillEnumpublic FillEnum getOwnFillValue()
JRCommonGraphicElement
getOwnFillValue in interface JRCommonGraphicElementFillEnumpublic void setFill(FillEnum fillValue)
JRCommonGraphicElement
setFill in interface JRCommonGraphicElementfillValue - a value representing one of the line direction constants in FillEnumpublic java.lang.Float getDefaultLineWidth()
getDefaultLineWidth in interface JRPenContainerpublic java.awt.Color getDefaultLineColor()
getDefaultLineColor in interface JRPenContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||