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 JRPrintElement

All Superinterfaces:
  JRCommonElement, JRPropertiesHolder, JRStyleContainer

All Known Subinterfaces:
  JRGenericPrintElement, JRPrintEllipse, JRPrintFrame, JRPrintGraphicElement, JRPrintImage, JRPrintLine, JRPrintRectangle, JRPrintText, JRRecordedValuesPrintElement

All Known Implementing Classes:
  JRBaseGenericPrintElement, JRBasePrintElement, JRBasePrintEllipse, JRBasePrintFrame, JRBasePrintGraphicElement, JRBasePrintImage, JRBasePrintLine, JRBasePrintRectangle, JRBasePrintText, JRRecordedValuesGenericPrintElement, JRRecordedValuesPrintImage, JRRecordedValuesPrintText, JRTemplateGenericPrintElement, JRTemplatePrintElement, JRTemplatePrintEllipse, JRTemplatePrintFrame, JRTemplatePrintGraphicElement, JRTemplatePrintImage, JRTemplatePrintLine, JRTemplatePrintRectangle, JRTemplatePrintText

    public interface JRPrintElement

extends JRCommonElement, JRPropertiesHolder

Version:
  $Id: JRPrintElement.java 3991 2010-10-12 20:10:55Z lucianc $
Author:
  Teodor Danciu (teodord@users.sourceforge.net)

Method Summary
`
`<T> void`
` | `accept(PrintElementVisitor<T> visitor, T arg)` Accepts a print element visitor.
`int` | `getHeight()`
`java.lang.String` | `getKey()` Returns a string key that can be used to identify the element.
`JROrigin` | `getOrigin()`
`int` | `getWidth()`
`int` | `getX()`
`int` | `getY()`
`void` | `setHeight(int height)`
`void` | `setStyle(JRStyle style)`
`void` | `setWidth(int width)`
`void` | `setX(int x)`
`void` | `setY(int y)`

Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement
`getBackcolor, getForecolor, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, setBackcolor, setForecolor, setMode, setMode, setMode`

Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
`getDefaultStyleProvider, getStyle, getStyleNameReference`

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

Method Detail

### getOrigin

    JROrigin getOrigin()

### setStyle

    void setStyle(JRStyle style)

### getX

    int getX()

### setX

    void setX(int x)

### getY

    int getY()

### setY

    void setY(int y)

### getWidth

    int getWidth()

  Specified by:
    `getWidth` in interface `JRCommonElement`

### setWidth

    void setWidth(int width)

### getHeight

    int getHeight()

  Specified by:
    `getHeight` in interface `JRCommonElement`

### setHeight

    void setHeight(int height)

### getKey

    java.lang.String getKey()

  Returns a string key that can be used to identify the element.

  When filling a report, the `report element key` is copied to all print elements generated by a report element. Note that this means that multiple elements having the same key can appear on the same page/filled report.

  Specified by:
    `getKey` in interface `JRCommonElement`

### accept

    <T> void accept(PrintElementVisitor<T> visitor,
                    T arg)

  Accepts a print element visitor.

  The element calls the method that corresponds to the element type on the visitor.

  Type Parameters:
    `T` - the type of the argument passed to the visit operation
  Parameters:
    `visitor` - the visitor objects
    `arg` - the argument passed to the visit operation

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