net.sf.jasperreports.engine
Interface JRCommonGraphicElement

All Superinterfaces:
JRCommonElement, JRIdentifiable, JRPenContainer, JRStyleContainer
All Known Subinterfaces:
JRCommonImage, JREllipse, JRGraphicElement, JRImage, JRLine, JRPrintEllipse, JRPrintGraphicElement, JRPrintImage, JRPrintLine, JRPrintRectangle, JRRectangle
All Known Implementing Classes:
JRBaseEllipse, JRBaseGraphicElement, JRBaseImage, JRBaseLine, JRBasePrintEllipse, JRBasePrintGraphicElement, JRBasePrintImage, JRBasePrintLine, JRBasePrintRectangle, JRBaseRectangle, JRDesignEllipse, JRDesignGraphicElement, JRDesignImage, JRDesignLine, JRDesignRectangle, JRFillEllipse, JRFillGraphicElement, JRFillImage, JRFillLine, JRFillRectangle, JRRecordedValuesPrintImage, JRTemplateEllipse, JRTemplateGraphicElement, JRTemplateImage, JRTemplateLine, JRTemplatePrintEllipse, JRTemplatePrintGraphicElement, JRTemplatePrintImage, JRTemplatePrintLine, JRTemplatePrintRectangle, JRTemplateRectangle

public interface JRCommonGraphicElement
extends JRCommonElement, JRPenContainer

An abstract representation of a report graphic element. It provides basic functionality for images, lines, rectangles and ellipses.

Version:
$Id: JRCommonGraphicElement.java 4595 2011-09-08 15:55:10Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Method Summary
 FillEnum getFillValue()
          Indicates the fill type used for this element.
 JRPen getLinePen()
           
 FillEnum getOwnFillValue()
          Indicates the own fill type used for this element.
 void setFill(FillEnum fillEnum)
          Sets the fill type used for this element.
 
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement
getBackcolor, getForecolor, getHeight, getKey, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
 
Methods inherited from interface net.sf.jasperreports.engine.JRIdentifiable
getUUID
 
Methods inherited from interface net.sf.jasperreports.engine.JRPenContainer
getDefaultLineColor, getDefaultLineWidth
 
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleNameReference
 

Method Detail

getLinePen

JRPen getLinePen()

getFillValue

FillEnum getFillValue()
Indicates the fill type used for this element.

Returns:
a value representing one of the fill type constants in FillEnum

getOwnFillValue

FillEnum getOwnFillValue()
Indicates the own fill type used for this element.

Returns:
a value representing one of the fill type constants in FillEnum

setFill

void setFill(FillEnum fillEnum)
Sets the fill type used for this element.

Parameters:
fillEnum - a value representing one of the line direction constants in FillEnum


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com