net.sf.jasperreports.engine
Interface JRCommonGraphicElement

All Superinterfaces:
JRCommonElement, 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 3583 2010-03-12 11:35:40Z shertage $
Author:
Teodor Danciu ([email protected])

Method Summary
 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.
 void setFill(byte fill)
          Deprecated. Replaced by setFill(FillEnum).
 void setFill(java.lang.Byte fill)
          Deprecated. Replaced by setFill(FillEnum).
 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, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode
 
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()

getFill

byte getFill()
Deprecated. Replaced by getFillValue().


getOwnFill

java.lang.Byte getOwnFill()
Deprecated. Replaced by getOwnFillValue().


setFill

void setFill(byte fill)
Deprecated. Replaced by setFill(FillEnum).


setFill

void setFill(java.lang.Byte fill)
Deprecated. Replaced by setFill(FillEnum).


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


Copyright © 2011. All Rights Reserved.