net.sf.jasperreports.engine.design
Class JRDesignGraphicElement
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseElement
net.sf.jasperreports.engine.design.JRDesignElement
net.sf.jasperreports.engine.design.JRDesignGraphicElement
- All Implemented Interfaces:
- java.io.Serializable, JRChild, JRElement, JRGraphicElement, JRStyleContainer
- Direct Known Subclasses:
- JRDesignEllipse, JRDesignImage, JRDesignLine, JRDesignRectangle
public abstract class JRDesignGraphicElement
- extends JRDesignElement
- implements JRGraphicElement
This class contains functionality common to graphic elements at design time. It provides implementation for the methods described
in JRTextElement.
- Version:
- $Id: JRDesignGraphicElement.java 1280 2006-06-07 15:21:28 +0300 (Wed, 07 Jun 2006) teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Byte |
fill
|
protected java.lang.Byte |
pen
|
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseElement |
backcolor, defaultStyleProvider, elementGroup, forecolor, height, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, key, mode, parentStyle, positionType, printWhenExpression, printWhenGroupChanges, stretchType, width, x, y |
Method Summary |
byte |
getFill()
Indicates the fill type used for this element. |
java.lang.Byte |
getOwnFill()
|
java.lang.Byte |
getOwnPen()
|
byte |
getPen()
Indicates the pen type used for this element. |
void |
setFill(byte fill)
Sets the fill type used for this element. |
void |
setFill(java.lang.Byte fill)
|
void |
setPen(byte pen)
Sets the pen type that will used for this element. |
void |
setPen(java.lang.Byte pen)
|
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseElement |
getBackcolor, getBaseStyle, getDefaultStyleProvider, getElementGroup, getForecolor, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getStyle, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
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.JRElement |
collectExpressions, getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
pen
protected java.lang.Byte pen
fill
protected java.lang.Byte fill
JRDesignGraphicElement
protected JRDesignGraphicElement(JRDefaultStyleProvider defaultStyleProvider)
getPen
public byte getPen()
- Description copied from interface:
JRGraphicElement
- Indicates the pen type used for this element.
- Specified by:
getPen
in interface JRGraphicElement
- Returns:
- one of the pen constants in this class
getOwnPen
public java.lang.Byte getOwnPen()
- Specified by:
getOwnPen
in interface JRGraphicElement
setPen
public void setPen(byte pen)
- Description copied from interface:
JRGraphicElement
- Sets the pen type that will used for this element.
- Specified by:
setPen
in interface JRGraphicElement
- Parameters:
pen
- one of the pen constants in this class
setPen
public void setPen(java.lang.Byte pen)
- Specified by:
setPen
in interface JRGraphicElement
getFill
public byte getFill()
- Description copied from interface:
JRGraphicElement
- Indicates the fill type used for this element.
- Specified by:
getFill
in interface JRGraphicElement
- Returns:
- one of the pen constants in this class
getOwnFill
public java.lang.Byte getOwnFill()
- Specified by:
getOwnFill
in interface JRGraphicElement
setFill
public void setFill(byte fill)
- Description copied from interface:
JRGraphicElement
- Sets the fill type used for this element.
- Specified by:
setFill
in interface JRGraphicElement
- Parameters:
fill
- one of the pen constants in this class
setFill
public void setFill(java.lang.Byte fill)
- Specified by:
setFill
in interface JRGraphicElement
© 2001-2006 JasperSoft Corporation www.jaspersoft.com