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 JRGraphicElement

All Superinterfaces:
  java.lang.Cloneable, JRChild, JRCloneable, JRCommonElement, JRCommonGraphicElement, JRElement, JRPenContainer, JRPropertiesHolder, JRStyleContainer, JRVisitable

All Known Subinterfaces:
  JREllipse, JRImage, JRLine, JRRectangle

All Known Implementing Classes:
  JRBaseEllipse, JRBaseGraphicElement, JRBaseImage, JRBaseLine, JRBaseRectangle, JRDesignEllipse, JRDesignGraphicElement, JRDesignImage, JRDesignLine, JRDesignRectangle, JRFillEllipse, JRFillGraphicElement, JRFillImage, JRFillLine, JRFillRectangle

    public interface JRGraphicElement

extends JRElement, JRCommonGraphicElement

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

Version:
  $Id: JRGraphicElement.java 3459 2010-02-22 11:51:45Z shertage $
Author:
  Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
`static byte` | `FILL_SOLID` Deprecated. Replaced by `FillEnum.SOLID`.
`static byte` | `PEN_1_POINT` Deprecated. Replaced by `PenEnum.ONE_POINT`.
`static byte` | `PEN_2_POINT` Deprecated. Replaced by `PenEnum.TWO_POINT`.
`static byte` | `PEN_4_POINT` Deprecated. Replaced by `PenEnum.FOUR_POINT`.
`static byte` | `PEN_DOTTED` Deprecated. Replaced by `PenEnum.DOTTED`.
`static byte` | `PEN_NONE` Deprecated. Replaced by `PenEnum.NONE`.
`static byte` | `PEN_THIN` Deprecated. Replaced by `PenEnum.THIN`.

Fields inherited from interface net.sf.jasperreports.engine.JRElement
`MODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT`

Method Summary
`java.lang.Byte` | `getOwnPen()` Deprecated. Replaced by `JRCommonGraphicElement.getLinePen()`
`byte` | `getPen()` Deprecated. Replaced by `JRCommonGraphicElement.getLinePen()`
`void` | `setPen(byte pen)` Deprecated. Replaced by `JRCommonGraphicElement.getLinePen()`
`void` | `setPen(java.lang.Byte pen)` Deprecated. Replaced by `JRCommonGraphicElement.getLinePen()`

Methods inherited from interface net.sf.jasperreports.engine.JRElement
`collectExpressions, getElementGroup, getKey, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setWidth, setX`

Methods inherited from interface net.sf.jasperreports.engine.JRChild
`clone`

Methods inherited from interface net.sf.jasperreports.engine.JRVisitable
`visit`

Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
`clone`

Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder
`getParentProperties, getPropertiesMap, hasProperties`

Methods inherited from interface net.sf.jasperreports.engine.JRCommonGraphicElement
`getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue, setFill, setFill, setFill`

Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement
`getBackcolor, getForecolor, getHeight, 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`

Field Detail

### PEN_NONE

    static final byte PEN_NONE

  Deprecated. Replaced by `PenEnum.NONE`.
  Contant useful for specifying that the element border will not be drawn.

  See Also:
    Constant Field Values

### PEN_1_POINT

    static final byte PEN_1_POINT

  Deprecated. Replaced by `PenEnum.ONE_POINT`.
  Contant useful for specifying that an element border of 1 pixel.

  See Also:
    Constant Field Values

### PEN_2_POINT

    static final byte PEN_2_POINT

  Deprecated. Replaced by `PenEnum.TWO_POINT`.
  Contant useful for specifying that an element border of 2 pixels.

  See Also:
    Constant Field Values

### PEN_4_POINT

    static final byte PEN_4_POINT

  Deprecated. Replaced by `PenEnum.FOUR_POINT`.
  Contant useful for specifying that an element border of 4 pixels.

  See Also:
    Constant Field Values

### PEN_DOTTED

    static final byte PEN_DOTTED

  Deprecated. Replaced by `PenEnum.DOTTED`.
  Contant useful for specifying that an element has a dashed border.

  See Also:
    Constant Field Values

### PEN_THIN

    static final byte PEN_THIN

  Deprecated. Replaced by `PenEnum.THIN`.
  Contant useful for specifying that an element has a thin border (0.5 pixels)

  See Also:
    Constant Field Values

### FILL_SOLID

    static final byte FILL_SOLID

  Deprecated. Replaced by `FillEnum.SOLID`.
  See Also:
    Constant Field Values

Method Detail

### getPen

    byte getPen()

  Deprecated. Replaced by `JRCommonGraphicElement.getLinePen()`

  Indicates the pen type used for this element.

  Returns:
    one of the pen constants in this class

### getOwnPen

    java.lang.Byte getOwnPen()

  Deprecated. Replaced by `JRCommonGraphicElement.getLinePen()`

### setPen

    void setPen(byte pen)

  Deprecated. Replaced by `JRCommonGraphicElement.getLinePen()`

  Sets the pen type that will used for this element.

  Parameters:
    `pen` - one of the pen constants in this class

### setPen

    void setPen(java.lang.Byte pen)

  Deprecated. Replaced by `JRCommonGraphicElement.getLinePen()`

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