net.sf.jasperreports.engine.fill
Class JRTemplatePrintGraphicElement

java.lang.Object
  extended by net.sf.jasperreports.engine.fill.JRTemplatePrintElement
      extended by net.sf.jasperreports.engine.fill.JRTemplatePrintGraphicElement
All Implemented Interfaces:
java.io.Serializable, JRPrintElement, JRPrintGraphicElement, JRStyleContainer
Direct Known Subclasses:
JRTemplatePrintEllipse, JRTemplatePrintImage, JRTemplatePrintLine, JRTemplatePrintRectangle

public class JRTemplatePrintGraphicElement
extends JRTemplatePrintElement
implements JRPrintGraphicElement

Version:
$Id: JRTemplatePrintGraphicElement.java 1229 2006-04-19 13:27:35 +0300 (Wed, 19 Apr 2006) teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintElement
template
 
Constructor Summary
protected JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement)
           
 
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.fill.JRTemplatePrintElement
getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getStyle, getTemplate, getWidth, getX, getY, setBackcolor, setForecolor, setHeight, setMode, setMode, setStyle, setTemplate, 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
getBackcolor, getForecolor, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getWidth, getX, getY, setBackcolor, setForecolor, setHeight, setMode, setMode, setStyle, setWidth, setX, setY
 
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle
 

Constructor Detail

JRTemplatePrintGraphicElement

protected JRTemplatePrintGraphicElement(JRTemplateGraphicElement graphicElement)
Method Detail

getPen

public byte getPen()
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()
Specified by:
getOwnPen in interface JRPrintGraphicElement

setPen

public void setPen(byte pen)
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)
Specified by:
setPen in interface JRPrintGraphicElement

getFill

public byte getFill()
Description copied from interface: JRPrintGraphicElement
Indicates the fill type used for this element.

Specified by:
getFill in interface JRPrintGraphicElement
Returns:
one of the pen constants in this class

getOwnFill

public java.lang.Byte getOwnFill()
Specified by:
getOwnFill in interface JRPrintGraphicElement

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


© 2001-2006 JasperSoft Corporation www.jaspersoft.com