Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 (teodord@users.sourceforge.net)

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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com