net.sf.jasperreports.engine.base
Class JRBasePrintGraphicElement
java.lang.Object
net.sf.jasperreports.engine.base.JRBasePrintElement
net.sf.jasperreports.engine.base.JRBasePrintGraphicElement
- All Implemented Interfaces:
- java.io.Serializable, JRCommonElement, JRCommonGraphicElement, JRPenContainer, JRPrintElement, JRPrintGraphicElement, JRPropertiesHolder, JRStyleContainer
- Direct Known Subclasses:
- JRBasePrintEllipse, JRBasePrintImage, JRBasePrintLine, JRBasePrintRectangle
public abstract class JRBasePrintGraphicElement
- extends JRBasePrintElement
- implements JRPrintGraphicElement
- Version:
- $Id: JRBasePrintGraphicElement.java 3033 2009-08-27 11:46:22Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
Fields inherited from class net.sf.jasperreports.engine.base.JRBasePrintElement |
backcolor, defaultStyleProvider, forecolor, height, key, mode, origin, style, width, x, y |
Methods inherited from class net.sf.jasperreports.engine.base.JRBasePrintElement |
getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getMode, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setHeight, setKey, setMode, setMode, setOrigin, setStyle, setWidth, setX, setY |
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.JRPrintElement |
getHeight, getKey, getOrigin, getWidth, getX, getY, setBackcolor, setForecolor, setHeight, setMode, setMode, setStyle, setWidth, setX, setY |
linePen
protected JRPen linePen
fill
protected java.lang.Byte fill
JRBasePrintGraphicElement
public JRBasePrintGraphicElement(JRDefaultStyleProvider defaultStyleProvider)
getLinePen
public JRPen getLinePen()
- Specified by:
getLinePen
in interface JRCommonGraphicElement
copyPen
public void copyPen(JRPen linePen)
getPen
public byte getPen()
- Deprecated. Replaced by
getLinePen()
- Description copied from interface:
JRPrintGraphicElement
- Indicates the pen type used for this element.
- Specified by:
getPen
in interface JRPrintGraphicElement
- Returns:
- one of the pen constants in this class
getOwnPen
public java.lang.Byte getOwnPen()
- Deprecated. Replaced by
getLinePen()
- Specified by:
getOwnPen
in interface JRPrintGraphicElement
setPen
public void setPen(byte pen)
- Deprecated. Replaced by
getLinePen()
- Description copied from interface:
JRPrintGraphicElement
- Sets the pen type that will used for this element.
- Specified by:
setPen
in interface JRPrintGraphicElement
- Parameters:
pen
- one of the pen constants in this class
setPen
public void setPen(java.lang.Byte pen)
- Deprecated. Replaced by
getLinePen()
- Specified by:
setPen
in interface JRPrintGraphicElement
getFill
public byte getFill()
- Description copied from interface:
JRCommonGraphicElement
- Indicates the fill type used for this element.
- Specified by:
getFill
in interface JRCommonGraphicElement
- Returns:
- one of the pen constants in this class
getOwnFill
public java.lang.Byte getOwnFill()
- Specified by:
getOwnFill
in interface JRCommonGraphicElement
setFill
public void setFill(byte fill)
- Description copied from interface:
JRPrintGraphicElement
- Sets the fill type used for this element.
- Specified by:
setFill
in interface JRPrintGraphicElement
- Parameters:
fill
- one of the pen constants in this class
setFill
public void setFill(java.lang.Byte fill)
- Specified by:
setFill
in interface JRPrintGraphicElement
getDefaultLineWidth
public java.lang.Float getDefaultLineWidth()
- Specified by:
getDefaultLineWidth
in interface JRPenContainer
getDefaultLineColor
public java.awt.Color getDefaultLineColor()
- Specified by:
getDefaultLineColor
in interface JRPenContainer
© 2001-2009 Jaspersoft Corporation www.jaspersoft.com